Maps API for JavaScript Developer's Guide

H.map.layer.Layer.Options

Type Definition Summary

This object encapsulates options which can be used when creating new layer object.

[ For full details, see the Type Definition Details ]

Property Summary

Table 1. Properties
Properties

min

The minimum zoom level for which the layer is considered for rendering, the default is 0

max

The maximum zoom level for which the layer is considered for rendering, the default is 22

dark

Indicates whether the content of the given layer is mainly dark, the default is false See also H.Map.Options#autoColor

projection

The projection to be used for the given layer, the default is H.geo.mercator

minWorldSize

The minimal world size at zoom level 0, the default is 256

Type Definition Description

This object encapsulates options which can be used when creating new layer object.

Property Details

min: {number=} [optional]

The minimum zoom level for which the layer is considered for rendering, the default is 0

max: {number=} [optional]

The maximum zoom level for which the layer is considered for rendering, the default is 22

dark: {boolean=} [optional]

Indicates whether the content of the given layer is mainly dark, the default is false See also H.Map.Options#autoColor

projection: {H.geo.IProjection=} [optional]

The projection to be used for the given layer, the default is H.geo.mercator

minWorldSize: {number=} [optional]

The minimal world size at zoom level 0, the default is 256