Here are some examples of complex element styling.
Yellow roads with green outlines
Customize all roads to have a pale yellow fill and a dark green outline as the
base style.
Under Map Features, select Road Network.
On the Road Network pane, under Polyline, select the box
under Fill color.
Select a light yellow color, such as hex code #eeeec8.
Select the box under Stroke color and select a dark green color, such
as hex code #155304.
Under Stroke width, set it to 3px.
As you zoom in and out, different roads show this style as they appear and
disappear. Once roads get too small to show the outline, they display only the
yellow color.
Different colors of water by zoom level
Some types of element styling might only be visible at certain zoom levels, like
3D buildings or points of interest (POIs). Add a style such that the
water appears dark blue zoomed out to maximum (z0),
medium blue when zoomed in to the level of a state or province (zoom level 6
on a laptop), and pale blue with a dark blue border when zoomed in tightly
(z19).
Under Map Features, select Water.
On the Water pane, under Polyline, select the box
under Fill color, and select a dark blue color.
Select the zoom diamond to the right of Fill color to open the
zoom-level styling pane.
Select zoom level 6, and select a medium blue color.
Select zoom level 19, and change the water to light blue.
Note, if you set a stroke color, creeks and streams and many smaller rivers
only show the body color, even zoomed all the way in. The difference between
stroke and fill is visible on large ponds, lakes, and larger bodies of water.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[],[],null,["# Style examples\n\nSelect 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\n| To use cloud-based maps styling on Android, you must use the latest renderer for Maps SDK for Android. [Follow these instructions](/maps/documentation/android-sdk/renderer).\n\nHere are some examples of complex element styling.\n\nYellow roads with green outlines\n--------------------------------\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---------------------------------------\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."]]