Optional
backgroundOptional
backgroundThe opacity of the map background.
Optional
colorimetry?: ColorimetryOptionsThe colorimetry for the whole map. Those are distinct from the individual layers' own colorimetry.
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.
Optional
depthEnable or disable depth testing on materials.
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.
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.
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.
Optional
graticule?: boolean | GraticuleOptionsThe graticule options.
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.
Optional
maxMaximum tile depth of the map. If undefined
, there is no limit to the subdivision
of the map.
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.
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.
Optional
showShow the map tiles' borders.
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.Optional
subdivisionThe threshold before which a map tile is subdivided.
Optional
terrain?: boolean | TerrainOptionsOptions for geometric terrain rendering.
The color of the map when no color layers are present.