imageForTile
A string, or callback function, that provides the requested tile.
Declaration
get imageForTile(): TileOverlayUrlTemplate | TileOverlayImageCallback;
set imageForTile(
imageForTile: TileOverlayUrlTemplate | TileOverlayImageCallback,
);Mentioned in
Discussion
Set this property to a TileOverlayUrlTemplate to provide tiles by URL, or a TileOverlayImageCallback to provide tiles as image sources directly.
MapKit JS sets imageForTile in the tile overlay constructor, and accesses or overrides it on the TileOverlay object directly.