Skip to main content

Home > @jsplumbtoolkit/browser-ui > TiledBackgroundOptions > urlGenerator

TiledBackgroundOptions.urlGenerator property

For tiled backgrounds, an optional function you can supply to generate the URL for a given tile. See url for an explanation of the default syntax for urls when using a tiled background.


urlGenerator?: (z: number, x: number, y: number) => string;