Color variable support for map icons
Learn how to use color variables to change theming in your mobile map icons
|
Map screens have a Pin Color section with a Pin color variable field to control the color map pins using a color variable. A map pin is used on the map template screen, to indicate points of interest on the map. Using this field you can define any color variable from the UX Theme Properties [sys_ux_theme_property] table. For a list available variables see the color design guide below. For details on creating icon UI sections, see Configure an icon UI section. |
[Omitted image "color-var-example-3.png"] Alt text: Pin color showing the color labeled as Primary 1. |
|
Color name |
Pin example |
Color options |
|---|---|---|
|
Primary |
[Omitted image "icon-map-pin-primary.png"] Alt text: Primary mobile pin |
primary
|
|
Secondary |
[Omitted image "icon-map-pin-secondary.png"] Alt text: Secondary mobile pin |
secondary
|
|
Tertiary |
[Omitted image "icon-map-pin-tertiary.png"] Alt text: Tertiary mobile pin |
tertiary
|
|
Brand |
[Omitted image "icon-map-pin-brand.png"] Alt text: Brand mobile pin |
brand
|
--- title: Color variable support for map icons description: Learn how to use color variables to change theming in your mobile map icons locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/mobile/color-var-map-pin.html release: australia topic_type: reference last_updated: "2026-09-10" reading_time_minutes: 1 breadcrumb: [Color theme considerations, Configure theming, Next Experience theming, Configuring the Mobile Platform, Mobile Platform] --- # Color variable support for map icons Learn how to use color variables to change theming in your mobile map icons <table id="table_q2w_llb_yvb"><tbody><tr><td> Map screens have a **Pin Color** section with a **Pin color variable** field to control the color map pins using a color variable. A map pin is used on the map template screen, to indicate points of interest on the map. Using this field you can define any color variable from the UX Theme Properties \[sys\_ux\_theme\_property\] table. For a list available variables see the color design guide below. For details on creating icon UI sections, see [Configure an icon UI section](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/mobile/sg-ui-section-config-navig.md). </td><td> \[Omitted image "color-var-example-3.png"\] Alt text: Pin color showing the color labeled as Primary 1. </td></tr></tbody> </table>## Color design guide for map pins <table id="table_tkv_qth_cxb"><thead><tr><th> Color name </th><th> Pin example </th><th> Color options </th></tr></thead><tbody><tr><td> Primary </td><td> \[Omitted image "icon-map-pin-primary.png"\] Alt text: Primary mobile pin </td><td> - **Mobile variable** primary - **Web variable** `--now-color--primary-1` </td></tr><tr><td> Secondary </td><td> \[Omitted image "icon-map-pin-secondary.png"\] Alt text: Secondary mobile pin </td><td> - **Mobile variable** secondary - **Web variable** `--now-color--secondary-3` </td></tr><tr><td> Tertiary </td><td> \[Omitted image "icon-map-pin-tertiary.png"\] Alt text: Tertiary mobile pin </td><td> - **Mobile variable** tertiary - **Web variable** `--now-color_grouped--gray-4` </td></tr><tr><td> Brand </td><td> \[Omitted image "icon-map-pin-brand.png"\] Alt text: Brand mobile pin </td><td> - **Mobile variable** brand - **Web variable** `--now-color_brand--secondary` </td></tr></tbody> </table>
| title | Color variable support for map icons |
| description | Learn how to use color variables to change theming in your mobile map icons |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/australia/mobile/color-var-map-pin.html |
| release | australia |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Color theme considerationsConfigure themingNext Experience themingConfiguring the Mobile PlatformMobile Platform |