The Internet map can be used as the base map of a map, and the InternetMap object is used to define the attributes of the Internet map.

Attribute list

Attribute Type Description

layerType

string

[Required]The Internet map type. Optional values:

"BAIDU", "GOOGLE", "GOOGLE_CN", "OSM", "BING", "JAPAN_RELIEF", "CLOUD", "CLOUD_BLACK", "JAPAN_ORT", "JAPAN_PALE", "JAPAN_STD".

name

string

[Required]

The basemap name.

visible

boolean

[Required]

The visibility of the basemap.

Example

Construct an Internet map that conforms to the WebMap specification as a basemap.

 {

 "baseLayer": {

        "layerType": "OSM",

        "name": "OpenStreetMap"

    },

 }