ui.Map.CloudStorageLayer.setMaxZoom
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הגדרה של רמת הזום המקסימלית של המשבצות. כשהמשתמש יבצע זום מעבר לרמה הזו, יתבצע אחזור של אריח האב ברמה הזו וזום בלקוח.
הפונקציה מחזירה את שכבת המפה הזו.
שימוש | החזרות |
---|
CloudStorageLayer.setMaxZoom(maxZoom) | ui.Map.CloudStorageLayer |
ארגומנט | סוג | פרטים |
---|
זה: ui.map.cloudstoragelayer | ui.Map.CloudStorageLayer | המופע ui.Map.CloudStorageLayer. |
maxZoom | מספר | רמת הזום המקסימלית עם משבצות. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[],["The `setMaxZoom` method configures the maximum zoom level for a `CloudStorageLayer`. When a user zooms beyond this `maxZoom` number, the parent tile at the specified level is fetched and zoomed client-side. This method, applied to a `ui.Map.CloudStorageLayer` instance, accepts a `Number` argument (`maxZoom`) defining the limit and returns the modified `ui.Map.CloudStorageLayer`.\n"],null,[]]