Using Custom Map Backgrounds
Use custom map backgrounds in a map regions, Display Map items, or Geocoded Address items.
Applying a Map Background to a Map Region
Apply a map background to a map region in Page Designer.
Note: This task assumes you have already created an application with a Display Map item and a custom map background as described in Creating a Custom Map Background.
To apply a map background to a map region:
-
Create a custom map background as described in Creating a Custom Map Background.
-
View the page in Page Designer:
-
On the Workspace home page, click the App Builder icon.
-
Select an application.
-
Select a page.
Page Designer appears displaying Page attributes in the Property Editor (right pane).
-
-
In the Rendering tab (left pane), select the Map region.
The Property Editor (right pane) displays two tabs: Region and Attributes.
-
In the Property Editor, click the Attributes tab.
-
In the Map group, edit the following attributes:
-
Map, Background - Select the background map to use.
Options include:
-
Default - Use default background map settings.
-
Built-In - Pick the map tile layers to use for the background map.
-
Shared Component - Select the custom map tile layers from the shared components to use as a background map.
Note that the UI changes based on your selection. For this example, select Built-In.
-
-
Map, Standard - Choose the tile layer to use as the background map.
-
Map, Dark Mode - Choose the tile layer to use as the background map when dark mode is enabled.
-
Review and edit any other attributes as appropriate.
To learn more about an attributes, select the attribute in Page Designer and select the Help tab.
-
-
Click Save or Save and Run Page.
Applying a Map Background to a Display Map Item
Apply a map background to a Display Map item in Page Designer.
A Display Map item a map based on coordinates in GeoJSON point format. See Managing Page Items and Display Map.
Note: This task assumes you have already created an application with a Display Map item and a custom map background as described in Creating a Custom Map Background.
To apply a map background to a Display Map item:
-
View the page in Page Designer:
-
On the Workspace home page, click the App Builder icon.
-
Select an application.
-
Select a page.
Page Designer appears displaying Page attributes in the Property Editor (right pane).
-
-
In the Rendering tab, select the Page Map item.
-
In the Property Editor, Page Item tab:
-
Settings, Background - Select Shared Component.
New attributes appear.
-
Settings, Custom Background - Select a map background defined in Shared Components.
-
Review and edit any other attributes as appropriate.
To learn more about an attributes, select the attribute in Page Designer and select the Help tab.
-
-
Click Save or Save and Run Page.
Configuring a Map Background for Geocoded Address Items
Configure a custom map background for Geocoded Address items in Component Settings, Geocoded Address.
A Geocoded Address item provides geocoding functionality that turns a postal address to a coordinate. To learn more, see Managing Page Items and Geocoded Address.
Note: This task assumes you have already created an application with a Display Map item and a custom map background as described in Creating a Custom Map Background.
To configure a custom map background for Geocoded Address: items:
-
Navigate to the Shared Components page:
-
On the Workspace home page, click App Builder.
-
Select an application.
-
On the Application home page, click Shared Components.
The Shared Components page appears.
Page Designer appears displaying Page attributes in the Property Editor (right pane).
-
-
Under Other Components, click Component Settings.
-
On the Component Settings page, click Geocoded Address.
-
Background - Select Shared Component.
-
Custom Background - Only displays if Background is set to Shared Component. Select a background map to use.
-
Click Apply Changes.
See Also: Configuring Geocoded Address