reviewsהשקת Places UI Kit: ספריית רכיבים מוכנה לשימוש בעלות נמוכה, שמאפשרת לכם להוסיף לכל מפה שתבחרו את ממשק המשתמש המוכר של 'מקומות' במפות Google. כדאי לנסות אותו ולשלוח לנו משוב כדי לעזור לנו לעצב את העתיד של GMP.
ציור על המפה
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
אפשר להוסיף אובייקטים למפה כדי לסמן נקודות, קווים, אזורים או אוספים של אובייקטים. במפות התלת-ממדיות הריאליסטיות ב-Maps JavaScript API, העצמים האלה נקראים שכבות-על. שכבות-על מקושרות לקואורדינטות גיאוגרפיות, ולכן הן זזות כשגוררים את המפה או משנים את מרחק התצוגה שלה.
סוגי שכבות-על
המפות התלת-ממדיות הריאליסטיות בממשק API של JavaScript במפות Google תומכות בכמה סוגים שונים של שכבות-על שאפשר להוסיף באופן פרוגרמטי:
- חלון קופץ הוא סוג מיוחד של שכבת-על שמיועדת להצגת תוכן (בדרך כלל טקסט או תמונות) במיקום נתון במפה. חלונות קופצים דומים לחלונות מידע ב-Maps JavaScript API.
- קווים במפה מוצגים באמצעות קווים פוליגונים, שמיוצגים כרצף מסודר של נקודות שמחוברות באמצעות קטעי קו.
- אזורים בצורה שרירותית במפה מוצגים באמצעות פוליגונים.
כמו קווים פוליגוניים, פוליגונים הם רצף מסודר של מיקומים. בניגוד לקו פתוח, פוליגון מגדיר אזור שהוא מקיף.
- מודלים הם משאבי gLTF שמוצגים במפה כצורות תלת-ממדיות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-04-29 (שעון UTC).
[null,null,["עדכון אחרון: 2025-04-29 (שעון UTC)."],[],[],null,["\u003cbr /\u003e\n\n| This product or feature is in Preview (pre-GA). Pre-GA products and features might have limited support, and changes to pre-GA products and features might not be compatible with other pre-GA versions. Pre-GA Offerings are covered by the [Google\n| Maps Platform Service Specific Terms](https://cloud.google.com/maps-platform/terms/maps-service-terms). For more information, see the [launch stage\n| descriptions](/maps/launch-stages).\n\n\u003cbr /\u003e\n\nYou can add objects to the map to designate points, lines, areas, or collections\nof objects. The Photorealistic 3D Maps in Maps JavaScript API calls these objects overlays. Overlays are\ntied to geographic coordinates, so they move when you drag or zoom the\nmap.\n\nOverlay types\n\nThe Photorealistic 3D Maps in Maps JavaScript API supports several different types of overlays that you\ncan add programmatically:\n\n- A **[popover](/maps/documentation/javascript/3d/popovers)** is a special kind of overlay for displaying content (usually text or images) at a given location on a map. Popovers are analogous to [Info windows](/maps/documentation/javascript/infowindows) in the Maps JavaScript API.\n- Lines on the map are displayed using **[polylines](/maps/documentation/javascript/3d/shapes-lines#polylines)**, represented as an ordered sequence of points connected by line segments.\n- Areas of arbitrary shape on the map are displayed using **[polygons](/maps/documentation/javascript/3d/shapes-lines#polygons)**. Like polylines, polygons are an ordered sequence of locations. Unlike polylines, polygons define a region which they enclose.\n- **[Models](/maps/documentation/javascript/3d/models)** are gLTF resources that are rendered on the map as 3D shapes."]]