[SlippyMapRemoteTileSourceN] Section

Part of Setup.INI, in your installation folder

In legacy versions of VTScada, SlippyMapRemoteTileSourceN was a variable. It is now a set of numbered sections (where N is 1, 2, 3...) containing several variables.

Do not edit tile sources from CARTO, unless you are removing those sources. CARTO maps are supplied by licensing agreement and include an API key that is unique to each VTScada installation. API keys cannot be shared.

Only Trihedral can encrypt API keys. If using your own custom APIKeyValue, it will have to be stored in plain text, and APIKeyEncrypted set to 0.

 

Several map sources are provided with VTScada. You may add more, change the URL for any source, or remove sources.

Example:

[SlippyMapRemoteTileSource2]
URL1 = https://enterprise-a.basemaps.cartocdn.com/rastertiles/voyager/
URL2 = https://enterprise-b.basemaps.cartocdn.com/rastertiles/voyager/
URL3 = https://enterprise-c.basemaps.cartocdn.com/rastertiles/voyager/
URL4 = https://enterprise-d.basemaps.cartocdn.com/rastertiles/voyager/
Label = MapVoyagerLabel
APIKeyName = api_key
APIKeyValue = SAsfaFFKUUVfARJM2LzyE7d1LkENJ6udok5vmwejZWSoOe7glZ7zYSqJPLI3P3UP/
APIKeyEncrypted = 1
BulkDownload = 1
CopyrightURL1 = www.openstreetmap.org/copyright
CopyrightLabel1 = © [OpenStreetMap contributors]
CopyrightURL2 = https://carto.com/attribution
CopyrightLabel2 = © [CARTO]
Default = 1
BGColor = <FFC0C0C0>
Extension = .png

Properties within this section:

URL1, URL2, ..., URLn

URLs for downloading map tiles

Label

Label of the map style that shows in the style selector

APIKeyName

Name of the API key

APIKeyValue

The actual API key. Note that only Trihedral can encrypt API keys. If using your own this must be stored in plain text.

APIKeyEncrypted

1 if the API key has been encrypted. 0 otherwise. Note that only Trihedral can encrypt API keys. If using your own this must be set to 0.

BulkDownload

1 if bulk download is allowed for the map source

CopyrightURL1, CopyrightURL2, ... , CopyrightURLn

Copyright links

CopyrightLabel1, CopyrightLabel2, ... , CopyrightLabeln

Copyright text that shown at the bottom right corner on the map page

Default

1 to make the map style displayed by default

BGColor

Map window background color

Extension

Format of map tiles. This may be either .png or .jpg

Private

GUIDs of applications that may have access to the map source. Separate by comma. Omit this field if the map source is public to all applications

 

Do not skip numbers when defining tile sources. If you have [ SlippyMapRemoteTileSource1], [ SlippyMapRemoteTileSource2] and [SlippyMapRemoteTileSource4], then only the first two will be available for users to select.