עיצוב מפות על סמך הקשר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.

מעכשיו אפשר להשתמש בהקשר כדי לשנות את סגנון המפה באפליקציה. אפשר ליצור סגנונות מפה בהירים, כהים ומונוכרומטיים כדי להחליף סגנונות באופן אוטומטי באפליקציות בלי לשנות את מזהה המפה. כשיוצרים סגנון מפה, אפשר לבחור מבין כמה סגנונות בסיסיים: בהיר, כהה, בהיר מונוכרומטי או כהה מונוכרומטי. בוחרים את סגנון הבסיס שהכי קרוב לסגנון היעד, ואז מבצעים התאמה אישית לפי הצורך.
אחרי שמתאימים אישית סגנון מפה בהיר וסגנון מפה כהה, אפשר לשייך את שניהם למזהה מפה אחד. כשמשתמשים במזהה המפה באפליקציות, סגנון המפה משתנה אוטומטית בין סגנונות המפה כשמצב המפה משתנה למצב בהיר או למצב כהה.
כדי להתחיל להשתמש בסגנונות מפה בהירים וכהים עם מזהי מפה, עוברים אל יצירת סגנון חדש ושיוך הסגנון למזהה מפה.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-31 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-31 (שעון UTC)."],[],[],null,["Select platform: [Android](/maps/documentation/android-sdk/cloud-customization/contextual-styling \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/contextual-styling \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/contextual-styling \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/contextual-styling \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\n| Dark styles are [Experimental](/maps/launch-stages#experimental).\n\nYou can now use context to change a map style in your app. Create light, dark,\nand monochrome map styles to automatically switch styles in\nyour apps without changing the map ID. When you create a map style, you can\nselect from several base styles: light, dark, monochrome light, or monochrome\ndark. Choose the base style closest to your target style and then customize for\nyour needs.\n\nWith a light and dark map style customized, you can then associate both with\none map ID. When you use the map ID in your applications, the map style\nautomatically switches between map styles when the map goes into light or dark\nmode.\n\nTo get started using light and dark map styles with map IDs, go to\n[Create a new style](/maps/documentation/maps-static/cloud-customization/map-styles#create-new-style) and\n[Associate your style to a map ID](/maps/documentation/maps-static/cloud-customization/map-styles#associate-style-with-map-id)."]]