Home > @jsplumbtoolkit/browser-ui-plugin-background > 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.
Signature:
urlGenerator?: (z: number, x: number, y: number) => string;