flywave-mapview.visibletileset.getrenderedtileatlocation
Home > @flywave/flywave-mapview > VisibleTileSet > getRenderedTileAtLocation
VisibleTileSet.getRenderedTileAtLocation() method
Gets the tile corresponding to the given data source and location from the rendered tiles.
Signature:
getRenderedTileAtLocation(dataSource: DataSource, geoPoint: GeoCoordinates, offset?: number): Tile | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
dataSource | The data source the tile belongs to. | |
geoPoint | GeoCoordinates | The geolocation included within the tile. The tile if found among the rendered tiles, undefined otherwise. |
offset | number | (Optional) |
Returns:
[Tile](./flywave-mapview.tile.md) \| undefined