Skip to content

basemap

Christoph edited this page Sep 13, 2022 · 2 revisions
graph TB;
    id1(basemap)-->id2(id);
    id1(basemap)-->id3(internalName);
    id1(basemap)-->id4(externalNames);
    id1(basemap)-->id5(rasterTypes);
    id1(basemap)-->id6(zConstraints);
    id1(basemap)-->id7(imageName);
    id1(basemap)-->id8(opacity);
Loading

Overview

The basemap object contains the following data:

{
    "id": 0,
    "internalName": "",
    "externalNames": {},
    "rasterTypes": {},
    "zConstraints": {},
    "imageName": "",
    "opacity": 1.0
}

Data

id

An integer value representing the basemen, should be unique in the whole configuration.

internalName

A string for the name used for internal uses of the app. Following internal names are mandatory for the usage of Apple map services:

  • apple_roads
  • apple_aerial
  • apple_hybrid

Use apple as raster type in combination with these internal names to control the Apple map service type.

externalNames

An object containing the external names of the current basemap, shown in the basemap.

rasterTypes

An object representing the data type for raster data.

zConstraints

An object to store information about the constraints of the data regarding the height.

imageName

A string representing the name of the image to show in the bottom sheet. The name is targeting an image added to the Xcode project described in this wiki.

opacity

A double value for the opacity of the current basemap. A value of 1.0 is recommended.