ee.data.getTileUrl
Generate a URL for map tiles from a Map ID and coordinates. If formatTileUrl is not present, we generate it by using or guessing the urlFormat string, and add urlFormat and formatTileUrl to
id
for future use.
Returns the tile URL.
Usage | Returns |
---|
ee.data.getTileUrl(id, x, y, z) | String |
Argument | Type | Details |
---|
id | RawMapId | The Map ID to generate tiles for. |
x | Number | The tile x coordinate. |
y | Number | The tile y coordinate. |
z | Number | The tile zoom level. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `ee.data.getTileUrl` function generates a URL for map tiles using a Map ID and coordinates."],["If a custom URL format isn't provided, the function attempts to determine one automatically and adds it to the Map ID for future use."],["It returns a string containing the generated tile URL, taking a Map ID, x, y, and z coordinates as input."]]],[]]