[]
        
(Showing Draft Content)

Map

The Map settings allow you to use the Mapbox in Wyn Enterprise. To configure the Map settings, navigate to Dashboards Settings-> Map on the Admin Portal.

Map

Configure Map Settings

Use Mapbox: Set the Use Mapbox property to True, to use the Mapbox services. If the Mapbox property is set to True, then the following settings as shown below are displayed.

mapbox-true

The map settings and their descriptions are given in the following table.

Setting

Description

Mapbox

Set this property to True, to use the Mapbox services.

Mapbox Token

When you register a "Mapbox" account(https://www.mapbox.com/) and log into it, you get an access token. This token is the Mapbox Token.

Custom Styles

You can add the custom styles created in the Mapbox, into the Wyn from here and then use them in the Map under the Base Map Style property while designing the dashboards. By default, the following styles are provided by Mapbox: Normal, Dark, and Light.

example-mapbox

Adding Custom Style(s) Using Mapbox

  1. Register a "Mapbox" account(https://www.mapbox.com/) and log in to get the access token.

  2. Add the Mapbox token to the Wyn Admin portal in the Map under Configuration->Dashboard Settings

    add acess token


  3. Add the Custom Style

    You can add the custom styles in Mapbox as follows:

    1. Login to the Mapbox website(https://www.mapbox.com/)

    2. Click the Create a map in studio link to customize a style and choose a template to create a map. You can modify the style as per your preference.

    3. Publish the style and copy the Style URL.

    4. In the Wyn Admin portal in the Map under Configuration->Dashboard Settings, click the Add Style button corresponding to Custom Styles and add the copied custom style.

      add-custome-styles


      The style will be added.

      style-added


    5. Click the Save Changes button to save the map style.

  4. Set the Base Map style for the Map component in the Document and Resource Portal.


    Once the Use Mapbox property is set to True and the custom style is added in the Admin Portal, then in the Document and Resource portal, the Use Mapbox property is displayed to customize the appearance of a map scenario under the Inspector Panel properties of the dashboard designer window. Once you set the Use Mapbox property to True another property Base Map Style is displayed. The Custom Style added in the Admin portal will also be displayed in the Base Map Style dropdown list along with the default styles provided by Mapbox( Normal, Dark, and Light).

    add -base-map-style

    Note: Mapbox property is supported for the built-in maps (including "Bubble/Flow line/Heat/Area" maps) that use the open street map as a tile layer. It is not for the old map control. For more information see the MAP Setting property under Customize Appearance section for the following help articles Bubble Map, Heat Map, Flow Line Map, Area Map