Styling examples

Select platform: Android iOS JavaScript Web Service

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. A screenshot of a custom-styled map, showing several roads. The roads are pale yellow with a green outline.

  1. Under Map Features, select Road Network.

  2. On the Road Network pane, under Polyline, select the box under Fill color.

  3. Select a light yellow color, such as hex code #eeeec8.

  4. Select the box under Stroke color and select a dark green color, such as hex code #155304.

  5. Under Stroke weight, set it to 3 PX.

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).

Two screenshots of a custom-styled map. The left side shows land surrounded by medium-dark blue water. The right side shows the same area on the map, zoomed in one level. The water is slightly lighter blue than the map on the left.

  1. Under Map Features, select Water.

  2. On the Water pane, under Polyline, select the box under Fill color, and select a dark blue color.

  3. Select the zoom diamond to the right of Fill color to open the zoom-level styling pane.

  4. Select zoom level 6, and select a medium blue color.

  5. 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.