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
depthEnable or disable depth testing on materials.
true
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
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.
Note: It must have the same CRS as the instance this map will be added to.
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
side?: SideThe sidedness of the map surface:
FrontSide
will only display the "above ground" side of the map (in cartesian maps),
or the outer shell of the map (in globe settings).BackSide
will only display the "underground" side of the map (in cartesian maps),
or the inner shell of the map (in globe settings).DoubleSide
will display both sides of the map.FrontSide
Optional
subdivisionThe threshold before which a map tile is subdivided.
{@link DEFAULT_SUBDIVISION_THRESHOLD}
Optional
terrain?: boolean | TerrainOptionsOptions for geometric terrain rendering.
The color of the map when no color layers are present.