Configure Base Map Properties
You may need to update the Base Map Properties configuration file when setting up mapping on your deployment. This file is located in <tomcat_home>\webapps\webapi\WEB-INF\classes\basemap.properties.
The base map settings relate to the map imagery itself (such as the street map images or the satellite view).
The file contains the following properties:
Property | Description |
---|---|
basemapids | A set of arbitrary IDs used throughout the properties file. You need one ID for each type of map that you want to make available from the drop-down list. The remainder of the properties must appear once for each basemap definition. Replace |
<ID>.label | The label shown in the drop-down list that allows users to choose between the map types. By default, the labels are set to Street Map, Aerial Map and Blank Map. If you are using SuperWEB2's multilingual capabilities to show the user interface in multiple languages, then you may wish to localise this text. You can do this by creating a copy of basemaps.properties for each language you want to support and naming it basemaps_<locale>.properties (replace <locale> with the relevant 2 character lower case ISO 639 language code). For example, to provide translations for Chinese you would name the file basemaps_zh.properties and set the values of If there is no localised version of the properties file for a specific language in your deployment, then SuperWEB2 will use the labels from the default properties file (basemaps.properties). |
<ID>.opacity | The initial opacity of the base map images. You can set this to any value (up to 1 decimal place) between 0.0 (completely transparent) to 1.0 (completely solid). This setting is optional and defaults to 1.0 if not specified. |
<ID>.order | A number indicating the order in which the map options should appear in the drop-down list. Whichever property is set to 1 will be displayed first; properties with higher numbers will be displayed next. |
<ID>.type | The type of basemap this definition uses. This property can be set to Setting the property to |
<ID>.url <ID>.subdomains | The URL to download the base map images from.
|