Optional
background{@link DEFAULT_MAP_BACKGROUND_COLOR}
Optional
backgroundThe opacity of the map background.
1 (opaque)
Optional
colorimetry?: ColorimetryOptionsThe colorimetry for the whole map. Those are distinct from the individual layers' own colorimetry.
undefined
Optional
contourEnables contour lines. If undefined
or false
, contour lines
are not displayed.
Note: this option has no effect if the map does not contain an elevation layer.
undefined
(contour lines are disabled)
Optional
discardIf true
, parts of the map that relate to no-data elevation
values are not displayed. Note: you should only set this value to true
if
an elevation layer is present, otherwise the map will never be displayed.
false
Optional
doubleIf true
, both sides of the map will be rendered, i.e when
looking at the map from underneath.
false
Optional
elevationThe optional elevation range of the map. The map will not be rendered for elevations outside of this range. Note: this feature is only useful if an elevation layer is added to this map.
undefined (elevation range is disabled)
The geographic extent of the map.
Optional
forceForce using texture atlases even when not required.
false
Optional
graticule?: boolean | GraticuleOptionsThe graticule options.
undefined (graticule is disabled).
Optional
hillshading?: boolean | HillshadingOptionsEnables hillshading.
If undefined
or false
, hillshading is disabled.
Note: hillshading has no effect if the map does not contain an elevation layer.
undefined
(hillshading is disabled)
Optional
maxMaximum tile depth of the map. If undefined
, there is no limit to the subdivision
of the map.
undefined
Optional
object3d?: Object3DThe optional Object3D
to use as the root object of this map.
If none provided, a new one will be created.
Optional
outlineThe color of the tile borders.
red
Optional
segments?: numberThe number of geometry segments in each map tile.
The higher the better. It must be power of two between 1
included and 256
included.
Note: the number of vertices per tile side is segments
+ 1.
{@link DEFAULT_MAP_SEGMENTS}
Optional
showShow the map tiles' borders.
false
Optional
terrain?: boolean | TerrainOptionsOptions for geometric terrain rendering.
The color of the map when no color layers are present.