Maps API for JavaScript Developer's Guide

H.service.MapType

Type Definition Summary

This property specifies the map type. A map type is an object holding tile layers corresponding to a map type ('normal', 'satellite' or 'terrain'). A map type contains at least a map property which defines the basic map layer for a given map type. In addition, it can contain other map layers, for example base, xbase, trafficincidents, etc.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

map

Basic map tiles with all features and labels

mapnight

Basic map tiles with all features and labels (night mode)

xbase

Map tiles without features and labels

xbasenight

Map tiles without features and labels (night mode)

base

Map tiles without labels

basenight

Map tiles without labels (night mode)

trafficincidents

Map markers with traffic incidents

transit

Map tiles with public transit lines

labels

Transparent map tiles with labels only

Type Definition Description

This property specifies the map type. A map type is an object holding tile layers corresponding to a map type ('normal', 'satellite' or 'terrain'). A map type contains at least a map property which defines the basic map layer for a given map type. In addition, it can contain other map layers, for example base, xbase, trafficincidents, etc.

Property Details

map: {H.map.layer.TileLayer}

Basic map tiles with all features and labels

mapnight: {H.map.layer.TileLayer=} [optional]

Basic map tiles with all features and labels (night mode)

xbase: {H.map.layer.TileLayer}

Map tiles without features and labels

xbasenight: {H.map.layer.TileLayer=} [optional]

Map tiles without features and labels (night mode)

base: {H.map.layer.TileLayer}

Map tiles without labels

basenight: {H.map.layer.TileLayer=} [optional]

Map tiles without labels (night mode)

trafficincidents: {H.map.layer.MarkerTileLayer=} [optional]

Map markers with traffic incidents

transit: {H.map.layer.TileLayer=} [optional]

Map tiles with public transit lines

labels: {H.map.layer.TileLayer}

Transparent map tiles with labels only