ee.data.getTileUrl
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
یک URL برای کاشی های نقشه از شناسه نقشه و مختصات ایجاد کنید. اگر formatTileUrl وجود ندارد، آن را با استفاده یا حدس زدن رشته urlFormat تولید می کنیم و urlFormat و formatTileUrl را برای استفاده در آینده به
id
اضافه می کنیم.
URL کاشی را برمی گرداند.
استفاده | برمی گرداند | ee.data.getTileUrl(id, x, y, z) | رشته |
استدلال | تایپ کنید | جزئیات | id | RawMapId | شناسه نقشه برای تولید کاشی برای. |
x | شماره | مختصات کاشی x. |
y | شماره | کاشی y مختصات. |
z | شماره | سطح زوم کاشی |
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe \u003ccode\u003eee.data.getTileUrl\u003c/code\u003e function generates a URL for map tiles using a Map ID and coordinates.\u003c/p\u003e\n"],["\u003cp\u003eIf a custom URL format isn't provided, the function attempts to determine one automatically and adds it to the Map ID for future use.\u003c/p\u003e\n"],["\u003cp\u003eIt returns a string containing the generated tile URL, taking a Map ID, x, y, and z coordinates as input.\u003c/p\u003e\n"]]],[],null,["# ee.data.getTileUrl\n\n\u003cbr /\u003e\n\nGenerate 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.\n\n\u003cbr /\u003e\n\nReturns the tile URL.\n\n| Usage | Returns |\n|-----------------------------------|---------|\n| `ee.data.getTileUrl(id, x, y, z)` | String |\n\n| Argument | Type | Details |\n|----------|----------|-----------------------------------|\n| `id` | RawMapId | The Map ID to generate tiles for. |\n| `x` | Number | The tile x coordinate. |\n| `y` | Number | The tile y coordinate. |\n| `z` | Number | The tile zoom level. |"]]