ui.Map.CloudStorageLayer
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
שכבה שנוצרת מאריחים של Cloud Storage להצגה ב-ui.Map.
שימוש | החזרות |
---|
ui.Map.CloudStorageLayer(bucket, path, maxZoom, suffix, name, shown, opacity) | ui.Map.CloudStorageLayer |
ארגומנט | סוג | פרטים |
---|
bucket | מחרוזת | הקטגוריה שמכילה את האריחים. |
path | מחרוזת | הנתיב אל המשבצות של השכבה הזו, ביחס לדלי. השימוש בלוכסן (/) בסוף הוא אופציונלי. |
maxZoom | מספר | רמת הזום המקסימלית שקיימות עבורה משבצות. |
suffix | מחרוזת, אופציונלי | הסיומת של קובץ המקור של המשבצת, אם יש כזו. |
name | מחרוזת, אופציונלי | שם השכבה. |
shown | בוליאני, אופציונלי | האם השכבה מוצגת בהתחלה. ברירת המחדל היא True. |
opacity | מספר, אופציונלי | האטימות של השכבה, שמיוצגת כמספר בין 0 ל-1. ברירת המחדל היא 1. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\u003cp\u003eCreates a map layer from Cloud Storage tiles for display on a ui.Map.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes a bucket and path to locate tiles, specifying maximum zoom level.\u003c/p\u003e\n"],["\u003cp\u003eAllows customization of file suffix, layer name, visibility, and opacity.\u003c/p\u003e\n"]]],[],null,["# ui.Map.CloudStorageLayer\n\n\u003cbr /\u003e\n\nA layer generated from Cloud Storage tiles for display on a ui.Map.\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|----------------------------------------------------------------------------------------------------|--------------------------|\n| `ui.Map.CloudStorageLayer(bucket, path, maxZoom, `*suffix* `, `*name* `, `*shown* `, `*opacity*`)` | ui.Map.CloudStorageLayer |\n\n| Argument | Type | Details |\n|-----------|-------------------|-------------------------------------------------------------------------------------|\n| `bucket` | String | The bucket that contains the tiles. |\n| `path` | String | The path to this layer's tiles, relative to the bucket. A trailing \"/\" is optional. |\n| `maxZoom` | Number | The maximum zoom level for which there are tiles. |\n| `suffix` | String, optional | The tile source file suffix, if any. |\n| `name` | String, optional | The name of the layer. |\n| `shown` | Boolean, optional | Whether the layer is initially shown. Defaults to true. |\n| `opacity` | Number, optional | The layer's opacity represented as a number between 0 and 1. Defaults to 1. |"]]