דוגמאות לסגנון
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
הנה כמה דוגמאות לעיצוב מורכב של רכיבים.
כבישים צהובים עם קווי מתאר ירוקים
התאמה אישית של כל הכבישים כך שיהיה להם מילוי צהוב בהיר וקו מתאר ירוק כהה כסגנון הבסיסי. 
בקטע תכונות במפה, בוחרים באפשרות רשת כבישים.
בחלונית Road Network (רשת הכבישים), בקטע Polyline (קו פוליגוני), מסמנים את התיבה שמתחת לFill color (צבע מילוי).
בוחרים צבע צהוב בהיר, כמו קוד hex #eeeec8.
בוחרים את התיבה שמתחת לצבע קו המתאר ובוחרים צבע ירוק כהה, כמו קוד ה-hex #155304.
בקטע רוחב הקו של האותיות, מגדירים את הערך ל-3px.
כשמגדילים או מקטינים את התצוגה, כבישים שונים מופיעים ונעלמים בסגנון הזה. אם הדרכים קטנות מדי ואי אפשר לראות את קו המתאר שלהן, הן מוצגות רק בצבע הצהוב.
צבעים שונים של מים לפי רמת הזום
יכול להיות שסוגים מסוימים של סגנונות רכיבים יהיו גלויים רק ברמות זום מסוימות, כמו בניינים בתלת-ממד או נקודות עניין. מוסיפים סגנון כך שהמים יופיעו בכחול כהה כשמבצעים הרחקה מקסימלית (z0), בכחול בינוני כשמבצעים הגדלה לרמה של מדינה או פרובינציה (רמת זום 6 במחשב נייד), ובכחול בהיר עם גבול כחול כהה כשמבצעים הגדלה חזקה (z19).

בקטע תכונות המפה, בוחרים באפשרות מים.
בחלונית Water, בקטע Polyline, מסמנים את התיבה שמתחת לFill color ובוחרים צבע כחול כהה.
לוחצים על סמל היהלום של הזום משמאל לצבע המילוי כדי לפתוח את חלונית הסגנון של רמת הזום.
בוחרים את רמת הזום 6 וצבע כחול בינוני.
בוחרים ברמת זום 19 ומשנים את צבע המים לכחול בהיר.
הערה: אם מגדירים צבע קו, נחלים ונהרות קטנים רבים מציגים רק את צבע הגוף, גם כשמבצעים זום אין. ההבדל בין קו מתאר למילוי נראה בבירור בבריכות גדולות, באגמים ובגופי מים גדולים יותר.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-08-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-27 (שעון UTC)."],[],[],null,["Select platform: [Android](/maps/documentation/android-sdk/cloud-customization/style-examples \"View this page for the Android platform docs.\") [iOS](/maps/documentation/ios-sdk/cloud-customization/style-examples \"View this page for the iOS platform docs.\") [JavaScript](/maps/documentation/javascript/cloud-customization/style-examples \"View this page for the JavaScript platform docs.\") [Web Service](/maps/documentation/maps-static/cloud-customization/style-examples \"View this page for the Web Service platform docs.\")\n\n\u003cbr /\u003e\n\nHere are some examples of complex element styling.\n\nYellow roads with green outlines\n\nCustomize all roads to have a pale yellow fill and a dark green outline as the\nbase style.\n\n1. Under **Map Features** , select **Road Network**.\n\n2. On the **Road Network** pane, under **Polyline** , select the box\n under **Fill color**.\n\n3. Select a light yellow color, such as hex code #eeeec8.\n\n4. Select the box under **Stroke color** and select a dark green color, such\n as hex code #155304.\n\n5. Under **Stroke width**, set it to 3px.\n\nAs you zoom in and out, different roads show this style as they appear and\ndisappear. Once roads get too small to show the outline, they display only the\nyellow color.\n\nDifferent colors of water by zoom level\n\nSome types of element styling might only be visible at certain zoom levels, like\n3D buildings or points of interest (POIs). Add a style such that the\nwater appears dark blue zoomed out to maximum (z0),\nmedium blue when zoomed in to the level of a state or province (zoom level 6\non a laptop), and pale blue with a dark blue border when zoomed in tightly\n(z19).\n\n1. Under **Map Features** , select **Water**.\n\n2. On the **Water** pane, under **Polyline** , select the box\n under **Fill color**, and select a dark blue color.\n\n3. Select the zoom diamond to the right of **Fill color** to open the\n zoom-level styling pane.\n\n4. Select zoom level 6, and select a medium blue color.\n\n5. Select zoom level 19, and change the water to light blue.\n\nNote, if you set a stroke color, creeks and streams and many smaller rivers\nonly show the body color, even zoomed all the way in. The difference between\nstroke and fill is visible on large ponds, lakes, and larger bodies of water."]]