geo.map
15 functions / 25 types
Modules
Index
| Function | Description |
|---|---|
| GetGroundColor | Read the color a map’s ground is drawn in where no imagery layer covers it. Fails with WrongNodeKind when map is not a map. |
| GetLevelBlend | Read the part of the level blend band a map’s imagery blends across, as geo.map.set_level_blend set it. |
| GetMap | Read a map: how it is shown, its layers and how its streaming is going. Fails with WrongNodeKind when map is not a map. |
| GetMaps | Read every map in the scene, in the order they were spawned, each as geo.map.get_map reads it. |
| GetTerrainGeomorph | Read whether a map draws its terrain heights morphed by camera position, as geo.map.set_terrain_geomorph set it. |
| GetTerrainQuality | Read the terrain detail every map draws at. |
| SetAir | Set the air around the body a map is drawn on, or none. Without air the ground takes the light above the air. Nothing is fetched again. |
| SetAutoExposure | Give one map a curve of its own, over its viewports’ curves, for an app that wants each body to look its own way. Absent curve clears it, and the map takes its viewports’ curves again. |
| SetGroundColor | Set the color a map’s ground is drawn in where no imagery layer covers it, and answer the color now drawn there. |
| SetLevelBlend | Set how sharply a map’s imagery changes from one level of detail to the next. |
| SetSurface | Set the figure and relief of the body a map is drawn on. The map is drawn again on the new figure from the next frame, and the tiles it holds are kept. |
| SetTerrainGeomorph | Set whether a map draws its terrain heights morphed by camera position. |
| SetTerrainHeightScale | Set what every height a map draws is multiplied by, about the surface its heights are measured from. Picks, heights read as drawn, cameras and ENU nodes on the ground follow it. 1 draws the ground at the height its source reports. |
| SetTerrainQuality | Set the terrain detail of every map. Higher detail draws finer tiles and costs more GPU time and network traffic. The change applies from the next frame. |
| SpawnMap | Spawn a map of streamed imagery and terrain into the scene as a node, and answer the node. |
| Type | Description |
|---|---|
| FlatProjection | The projection the flat map is drawn in. |
| GetGroundColor | Read the color a map’s ground is drawn in where no imagery layer covers it. Fails with WrongNodeKind when map is not a map. |
| GetLevelBlend | Read the part of the level blend band a map’s imagery blends across, as geo.map.set_level_blend set it. |
| GetLevelBlendResponse | |
| GetMap | Read a map: how it is shown, its layers and how its streaming is going. Fails with WrongNodeKind when map is not a map. |
| GetMaps | Read every map in the scene, in the order they were spawned, each as geo.map.get_map reads it. |
| GetMapsResponse | |
| GetTerrainGeomorph | Read whether a map draws its terrain heights morphed by camera position, as geo.map.set_terrain_geomorph set it. |
| GetTerrainGeomorphResponse | |
| GetTerrainQuality | Read the terrain detail every map draws at. |
| GetTerrainQualityResponse | |
| MapAir | What the air around a map’s body is made of, in the units of physically based sky models: the scattering and absorption of the gas, its aerosol and its ozone for each meter of path, each over the red, green and blue channels, with the heights they thin over. |
| MapElevation | The common height reference used to combine elevation layers and report height samples. |
| MapState | The state of a map, as of the last drawn frame. |
| MapSurface | The figure and relief of the body a map is drawn on. |
| SetAir | Set the air around the body a map is drawn on, or none. Without air the ground takes the light above the air. Nothing is fetched again. |
| SetAutoExposure | Give one map a curve of its own, over its viewports’ curves, for an app that wants each body to look its own way. Absent curve clears it, and the map takes its viewports’ curves again. |
| SetGroundColor | Set the color a map’s ground is drawn in where no imagery layer covers it, and answer the color now drawn there. |
| SetLevelBlend | Set how sharply a map’s imagery changes from one level of detail to the next. |
| SetSurface | Set the figure and relief of the body a map is drawn on. The map is drawn again on the new figure from the next frame, and the tiles it holds are kept. |
| SetTerrainGeomorph | Set whether a map draws its terrain heights morphed by camera position. |
| SetTerrainHeightScale | Set what every height a map draws is multiplied by, about the surface its heights are measured from. Picks, heights read as drawn, cameras and ENU nodes on the ground follow it. 1 draws the ground at the height its source reports. |
| SetTerrainQuality | Set the terrain detail of every map. Higher detail draws finer tiles and costs more GPU time and network traffic. The change applies from the next frame. |
| SpawnMap | Spawn a map of streamed imagery and terrain into the scene as a node, and answer the node. |
| TerrainQuality | How much terrain detail the map draws. Higher draws finer tiles and costs more. |
GetGroundColor
RPC
GetGroundColor(request: geo.map.GetGroundColor) -> color.ColorRgbRead the color a map’s ground is drawn in where no imagery layer covers it. Fails with
WrongNodeKind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.GetGroundColor.
Returns color.ColorRgb.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetLevelBlend
RPC
GetLevelBlend(request: geo.map.GetLevelBlend) -> geo.map.GetLevelBlendResponseRead the part of the level blend band a map’s imagery blends across, as
geo.map.set_level_blend set it.
Fails with the WrongNodeKind error kind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.GetLevelBlend.
Returns geo.map.GetLevelBlendResponse.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetMap
RPC
GetMap(request: geo.map.GetMap) -> geo.map.MapStateRead a map: how it is shown, its layers and how its streaming is going.
Fails with WrongNodeKind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.GetMap.
Returns geo.map.MapState.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetMaps
RPC
GetMaps(request: geo.map.GetMaps) -> geo.map.GetMapsResponseRead every map in the scene, in the order they were spawned, each as geo.map.get_map reads
it.
Service method: spatialengine.v1.geo.map.GeoMap.GetMaps.
Returns geo.map.GetMapsResponse.
GetTerrainGeomorph
RPC
GetTerrainGeomorph(request: geo.map.GetTerrainGeomorph) -> geo.map.GetTerrainGeomorphResponseRead whether a map draws its terrain heights morphed by camera position, as
geo.map.set_terrain_geomorph set it.
Fails with the WrongNodeKind error kind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.GetTerrainGeomorph.
Returns geo.map.GetTerrainGeomorphResponse.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetTerrainQuality
RPC
GetTerrainQuality(request: geo.map.GetTerrainQuality) -> geo.map.GetTerrainQualityResponseRead the terrain detail every map draws at.
Returns nothing when the detail set matches none of the named levels.
Service method: spatialengine.v1.geo.map.GeoMap.GetTerrainQuality.
Returns geo.map.GetTerrainQualityResponse.
SetAir
RPC
SetAir(request: geo.map.SetAir) -> google.protobuf.EmptySet the air around the body a map is drawn on, or none. Without air the ground takes the light above the air. Nothing is fetched again.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when air
holds a value that is not finite or out of range.
Service method: spatialengine.v1.geo.map.GeoMap.SetAir.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
air optional : geo.map.MapAir
The air. Absent, none.
SetAutoExposure
RPC
SetAutoExposure(request: geo.map.SetAutoExposure) -> google.protobuf.EmptyGive one map a curve of its own, over its viewports’ curves, for an app that wants each body
to look its own way. Absent curve clears it, and the map takes its viewports’ curves again.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when the curve
is empty, a point’s lux or share is not a finite number above zero, the lux do not rise
strictly, or albedo is negative or not finite.
Service method: spatialengine.v1.geo.map.GeoMap.SetAutoExposure.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
curve optional : geo.viewport.ExposureCurve
How bright each amount of light on this map should look.
albedo optional : double
The albedo of the reference ground the curve’s shares are for. Absent, the viewport’s.
SetGroundColor
RPC
SetGroundColor(request: geo.map.SetGroundColor) -> color.ColorRgbSet the color a map’s ground is drawn in where no imagery layer covers it, and answer the color now drawn there.
Every imagery layer is drawn over this color, so it shows wherever no layer has a tile and
wherever a layer’s tiles are clear, such as past the area a regional layer maps. A map starts
with the color geo.map.spawn_map was given, or a neutral gray. Fails with WrongNodeKind
when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.SetGroundColor.
Returns color.ColorRgb.
map : scene.Node
The node geo.map.spawn_map answered for the map.
color optional : color.ColorRgb
sRGB color with 8-bit channels (0 to 255). Absent, a neutral gray.
SetLevelBlend
RPC
SetLevelBlend(request: geo.map.SetLevelBlend) -> google.protobuf.EmptySet how sharply a map’s imagery changes from one level of detail to the next.
Where the detail a pixel needs lies between two levels, the map blends the two across a band.
share is the part of that band the map blends across: 1, the default, blends across the whole
band, and less switches between levels more sharply, which suits a map seen straight down.
Fails with the InvalidArgument error kind when share is not above 0 and at most 1, and with
WrongNodeKind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.SetLevelBlend.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
share : float
The part of the blend band to blend across, above 0 and at most 1.
SetSurface
RPC
SetSurface(request: geo.map.SetSurface) -> google.protobuf.EmptySet the figure and relief of the body a map is drawn on. The map is drawn again on the new figure from the next frame, and the tiles it holds are kept.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when surface
describes no figure.
Service method: spatialengine.v1.geo.map.GeoMap.SetSurface.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
surface : geo.map.MapSurface
SetTerrainGeomorph
RPC
SetTerrainGeomorph(request: geo.map.SetTerrainGeomorph) -> google.protobuf.EmptySet whether a map draws its terrain heights morphed by camera position.
With it on, the terrain blends smoothly from one level of detail to the next as the camera moves, tiles meet on one height along their edges, and elevation that arrives late blends in rather than popping. Off, the default, draws the terrain as it always has, so the two can be compared at runtime.
Fails with the WrongNodeKind error kind when map is not a map.
Service method: spatialengine.v1.geo.map.GeoMap.SetTerrainGeomorph.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
enabled : bool
SetTerrainHeightScale
RPC
SetTerrainHeightScale(request: geo.map.SetTerrainHeightScale) -> google.protobuf.EmptySet what every height a map draws is multiplied by, about the surface its heights are measured from. Picks, heights read as drawn, cameras and ENU nodes on the ground follow it. 1 draws the ground at the height its source reports.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when
exaggeration is negative or not finite.
Service method: spatialengine.v1.geo.map.GeoMap.SetTerrainHeightScale.
Returns google.protobuf.Empty.
map : scene.Node
The node geo.map.spawn_map answered for the map.
exaggeration : double
SetTerrainQuality
RPC
SetTerrainQuality(request: geo.map.SetTerrainQuality) -> google.protobuf.EmptySet the terrain detail of every map. Higher detail draws finer tiles and costs more GPU time and network traffic. The change applies from the next frame.
Service method: spatialengine.v1.geo.map.GeoMap.SetTerrainQuality.
Returns google.protobuf.Empty.
quality : geo.map.TerrainQuality
SpawnMap
RPC
SpawnMap(request: geo.map.SpawnMap) -> scene.NodeSpawn a map of streamed imagery and terrain into the scene as a node, and answer the node.
The map stands at the scene origin with its north pole along the scene’s up axis, z, until its
transform is set with the scene.transform statements, which move, turn and scale it.
Every statement that acts on the map takes the answered node as map, and
scene.despawn removes the map with its layers, ENU nodes and paths. The map and every
statement that changes it change the scene only: nothing is saved with a project or undone,
and they work outside versioned mode.
The map is drawn on the ellipsoid surface describes, lit through the air air describes,
and its ground is drawn in ground_color where no imagery layer covers it.
Spawning a map does not change camera control. Geographic navigation acquires control of its selected camera. Despawning the map releases that control and preserves the camera’s world pose.
The map starts with no layers. Fails with InvalidArgument when surface or air holds a
value that is not finite or out of range, when the registry does not hold coordinate_crs, and
when coordinate_crs is on a body of another equatorial radius than surface.
Service method: spatialengine.v1.geo.map.GeoMap.SpawnMap.
Returns scene.Node.
coordinate_crs optional : geo.CrsId
Coordinates returned by map conversions, independent of globe or flat display mode.
Absent, OGC:CRS84 on the Earth. A map of another body requires the code of that body’s
geographic system, such as IAU_2015:49900, which the registry has to hold: register its
definition with geo.crs.register first. OGC:CRS84 then names longitude and latitude on
the map’s own figure.
view optional : geo.MapViewMode
Absent, the globe.
flat_projection optional : geo.map.FlatProjection
The projection the flat map is drawn in. Absent, Web Mercator.
terrain_quality optional : geo.map.TerrainQuality
The terrain detail of every map. Absent, the detail already set, which starts at medium.
surface optional : geo.map.MapSurface
The figure and relief of the body to map. Its equatorial radius has to match the figure of
coordinate_crs on another body. Absent, the figure coordinate_crs names, or the WGS 84
Earth, with the Earth’s lowest and highest ground.
air optional : geo.map.MapAir
The air around the body. Absent, none, and the ground takes the light above the air.
ground_color optional : color.ColorRgb
sRGB color with 8-bit channels (0 to 255) the ground is drawn in where no imagery layer covers it. Absent, a neutral gray.
terrain_height_scale optional : double
What every height the map draws is multiplied by, about the surface its heights are measured from. Absent, 1.
elevation optional : geo.map.MapElevation
The common elevation reference. Absent, heights above a geoid with no geoid model, which no terrain can be placed in: the map draws its imagery on the body’s figure and refuses elevation layers.
FlatProjection
Enum
The projection the flat map is drawn in.
FLAT_PROJECTION_WEB_MERCATOR = 0
EPSG:3857, which stretches the ground toward the poles and cuts them off.
FLAT_PROJECTION_PLATE_CARREE = 1
Longitude and latitude drawn as plain x and y.
GetGroundColor
Message
Read the color a map’s ground is drawn in where no imagery layer covers it. Fails with
WrongNodeKind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetLevelBlend
Message
Read the part of the level blend band a map’s imagery blends across, as
geo.map.set_level_blend set it.
Fails with the WrongNodeKind error kind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetLevelBlendResponse
Message
value optional : float
GetMap
Message
Read a map: how it is shown, its layers and how its streaming is going.
Fails with WrongNodeKind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetMaps
Message
Read every map in the scene, in the order they were spawned, each as geo.map.get_map reads
it.
GetMapsResponse
Message
value optional : list[geo.map.MapState]
GetTerrainGeomorph
Message
Read whether a map draws its terrain heights morphed by camera position, as
geo.map.set_terrain_geomorph set it.
Fails with the WrongNodeKind error kind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
GetTerrainGeomorphResponse
Message
value optional : bool
GetTerrainQuality
Message
Read the terrain detail every map draws at.
Returns nothing when the detail set matches none of the named levels.
GetTerrainQualityResponse
Message
value optional : geo.map.TerrainQuality
MapAir
Message
What the air around a map’s body is made of, in the units of physically based sky models: the scattering and absorption of the gas, its aerosol and its ozone for each meter of path, each over the red, green and blue channels, with the heights they thin over.
rayleigh_scattering : math.Vec3
Rayleigh scattering of the gas at the ground, for each meter.
rayleigh_scale_height : double
Meters over which the gas thins by a factor of e.
mie_scattering : math.Vec3
Scattering of the aerosol at the ground, for each meter.
mie_absorption : math.Vec3
Absorption of the aerosol at the ground, for each meter.
mie_scale_height : double
Meters over which the aerosol thins by a factor of e.
mie_g : math.Vec3
The Cornette and Shanks asymmetry of the aerosol’s phase function, between -1, backward,
and 1, forward, with 0 even. Where mie_peak_share is above zero, this is the broad lobe
only.
mie_peak_g : math.Vec3
The asymmetry of a second, narrow lobe of the aerosol’s phase function, between -1 and 1.
mie_peak_share : math.Vec3
The share of the aerosol’s scattered light in the lobe at mie_peak_g, from 0 to 1.
mie_scattering_exponent : double
The power of the wavelength the aerosol’s scattering falls with. Zero is grey.
mie_absorption_exponent : double
The power of the wavelength the aerosol’s absorption falls with.
mie_soot : double
The share of mie_scattering the aerosol absorbs instead of scattering, as soot does.
atmosphere_height : double
The height of the top of the air over the ground, in meters.
ozone_absorption : math.Vec3
Absorption of the ozone at the middle of its band, for each meter.
ozone_layer_altitude : double
The height of the middle of the ozone band, in meters.
ozone_layer_half_width : double
Meters from the middle of the ozone band to where it thins to nothing, both ways.
ground_albedo : math.Vec3
The share of sunlight the ground throws back into the air.
MapElevation
Message
The common height reference used to combine elevation layers and report height samples.
reference : geo.ElevationReference
Orthometric heights need a geoid model, so an orthometric reference without one is refused. An elevation layer whose reference cannot be converted to this one is refused too.
MapState
Message
The state of a map, as of the last drawn frame.
coordinate_crs : geo.CrsId
The coordinate CRS used by position results, independent of the display projection.
node : scene.Node
The map’s node, as geo.map.spawn_map answered it.
surface : geo.map.MapSurface
The figure and relief of the body the map is drawn on.
view : geo.MapViewMode
The view shown, or the view a change in progress heads for.
morph : double
How far the map has morphed from the globe, 0, toward the flat map, 1.
layers optional : list[geo.map.layer.LayerInfo]
Every layer of the map in draw order: imagery bottom first, then elevation bottom first.
requests_in_flight : uint32
Tile requests the map is waiting on.
drawn_tiles : uint32
Tiles drawn in the last frame.
error optional : string
Why the map could not be drawn with its current settings, such as when a build runs no map workers. Absent while it draws.
elevation_reference optional : geo.ElevationReference
MapSurface
Message
The figure and relief of the body a map is drawn on.
equatorial_radius : double
The radius at the equator, the ellipsoid’s semi-major axis, in meters. Positive and finite.
polar_radius : double
The radius at either pole, in meters. Positive and no greater than the equatorial radius.
lowest_ground : double
The lowest ground on the body, in meters over the figure, assumed until elevation loads. Negative where ground stands under the figure.
highest_ground : double
The highest ground on the body, in meters over the figure, assumed until elevation loads.
No lower than lowest_ground.
SetAir
Message
Set the air around the body a map is drawn on, or none. Without air the ground takes the light above the air. Nothing is fetched again.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when air
holds a value that is not finite or out of range.
map : scene.Node
The node geo.map.spawn_map answered for the map.
air optional : geo.map.MapAir
The air. Absent, none.
SetAutoExposure
Message
Give one map a curve of its own, over its viewports’ curves, for an app that wants each body
to look its own way. Absent curve clears it, and the map takes its viewports’ curves again.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when the curve
is empty, a point’s lux or share is not a finite number above zero, the lux do not rise
strictly, or albedo is negative or not finite.
map : scene.Node
The node geo.map.spawn_map answered for the map.
curve optional : geo.viewport.ExposureCurve
How bright each amount of light on this map should look.
albedo optional : double
The albedo of the reference ground the curve’s shares are for. Absent, the viewport’s.
SetGroundColor
Message
Set the color a map’s ground is drawn in where no imagery layer covers it, and answer the color now drawn there.
Every imagery layer is drawn over this color, so it shows wherever no layer has a tile and
wherever a layer’s tiles are clear, such as past the area a regional layer maps. A map starts
with the color geo.map.spawn_map was given, or a neutral gray. Fails with WrongNodeKind
when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
color optional : color.ColorRgb
sRGB color with 8-bit channels (0 to 255). Absent, a neutral gray.
SetLevelBlend
Message
Set how sharply a map’s imagery changes from one level of detail to the next.
Where the detail a pixel needs lies between two levels, the map blends the two across a band.
share is the part of that band the map blends across: 1, the default, blends across the whole
band, and less switches between levels more sharply, which suits a map seen straight down.
Fails with the InvalidArgument error kind when share is not above 0 and at most 1, and with
WrongNodeKind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
share : float
The part of the blend band to blend across, above 0 and at most 1.
SetSurface
Message
Set the figure and relief of the body a map is drawn on. The map is drawn again on the new figure from the next frame, and the tiles it holds are kept.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when surface
describes no figure.
map : scene.Node
The node geo.map.spawn_map answered for the map.
surface : geo.map.MapSurface
SetTerrainGeomorph
Message
Set whether a map draws its terrain heights morphed by camera position.
With it on, the terrain blends smoothly from one level of detail to the next as the camera moves, tiles meet on one height along their edges, and elevation that arrives late blends in rather than popping. Off, the default, draws the terrain as it always has, so the two can be compared at runtime.
Fails with the WrongNodeKind error kind when map is not a map.
map : scene.Node
The node geo.map.spawn_map answered for the map.
enabled : bool
SetTerrainHeightScale
Message
Set what every height a map draws is multiplied by, about the surface its heights are measured from. Picks, heights read as drawn, cameras and ENU nodes on the ground follow it. 1 draws the ground at the height its source reports.
Fails with WrongNodeKind when map is not a map, and with InvalidArgument when
exaggeration is negative or not finite.
map : scene.Node
The node geo.map.spawn_map answered for the map.
exaggeration : double
SetTerrainQuality
Message
Set the terrain detail of every map. Higher detail draws finer tiles and costs more GPU time and network traffic. The change applies from the next frame.
quality : geo.map.TerrainQuality
SpawnMap
Message
Spawn a map of streamed imagery and terrain into the scene as a node, and answer the node.
The map stands at the scene origin with its north pole along the scene’s up axis, z, until its
transform is set with the scene.transform statements, which move, turn and scale it.
Every statement that acts on the map takes the answered node as map, and
scene.despawn removes the map with its layers, ENU nodes and paths. The map and every
statement that changes it change the scene only: nothing is saved with a project or undone,
and they work outside versioned mode.
The map is drawn on the ellipsoid surface describes, lit through the air air describes,
and its ground is drawn in ground_color where no imagery layer covers it.
Spawning a map does not change camera control. Geographic navigation acquires control of its selected camera. Despawning the map releases that control and preserves the camera’s world pose.
The map starts with no layers. Fails with InvalidArgument when surface or air holds a
value that is not finite or out of range, when the registry does not hold coordinate_crs, and
when coordinate_crs is on a body of another equatorial radius than surface.
coordinate_crs optional : geo.CrsId
Coordinates returned by map conversions, independent of globe or flat display mode.
Absent, OGC:CRS84 on the Earth. A map of another body requires the code of that body’s
geographic system, such as IAU_2015:49900, which the registry has to hold: register its
definition with geo.crs.register first. OGC:CRS84 then names longitude and latitude on
the map’s own figure.
view optional : geo.MapViewMode
Absent, the globe.
flat_projection optional : geo.map.FlatProjection
The projection the flat map is drawn in. Absent, Web Mercator.
terrain_quality optional : geo.map.TerrainQuality
The terrain detail of every map. Absent, the detail already set, which starts at medium.
surface optional : geo.map.MapSurface
The figure and relief of the body to map. Its equatorial radius has to match the figure of
coordinate_crs on another body. Absent, the figure coordinate_crs names, or the WGS 84
Earth, with the Earth’s lowest and highest ground.
air optional : geo.map.MapAir
The air around the body. Absent, none, and the ground takes the light above the air.
ground_color optional : color.ColorRgb
sRGB color with 8-bit channels (0 to 255) the ground is drawn in where no imagery layer covers it. Absent, a neutral gray.
terrain_height_scale optional : double
What every height the map draws is multiplied by, about the surface its heights are measured from. Absent, 1.
elevation optional : geo.map.MapElevation
The common elevation reference. Absent, heights above a geoid with no geoid model, which no terrain can be placed in: the map draws its imagery on the body’s figure and refuses elevation layers.
TerrainQuality
Enum
How much terrain detail the map draws. Higher draws finer tiles and costs more.
TERRAIN_QUALITY_LOW = 0
TERRAIN_QUALITY_MEDIUM = 1
TERRAIN_QUALITY_HIGH = 2