geo.map.overlay
6 functions / 9 types
Index
| Function | Description |
|---|---|
| AddPath | Add a terrain-draped path. The returned UUID is independent of scene nodes. |
| GetPath | |
| Remove | |
| RemoveAll | Remove this map’s annotations without removing its layers or scene children. |
| SetPathPoints | |
| SetPathStyle |
| Type | Description |
|---|---|
| AddPath | Add a terrain-draped path. The returned UUID is independent of scene nodes. |
| AnnotationId | A map-owned annotation’s stable UUID. An annotation is not a scene node. |
| GetPath | |
| PathInfo | |
| PathStyle | |
| RemoveAll | Remove this map’s annotations without removing its layers or scene children. |
| RemoveOverlay | |
| SetPathPoints | |
| SetPathStyle |
AddPath
RPC
AddPath(request: geo.map.overlay.AddPath) -> geo.map.overlay.AnnotationIdAdd a terrain-draped path. The returned UUID is independent of scene nodes.
Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.AddPath.
Returns geo.map.overlay.AnnotationId.
map : scene.Node
points optional : list[geo.GeoPosition]
style optional : geo.map.overlay.PathStyle
straight optional : bool
GetPath
RPC
GetPath(request: geo.map.overlay.GetPath) -> geo.map.overlay.PathInfoService method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.GetPath.
Returns geo.map.overlay.PathInfo.
annotation_id : geo.map.overlay.AnnotationId
Remove
RPC
Remove(request: geo.map.overlay.RemoveOverlay) -> google.protobuf.EmptyService method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.Remove.
Returns google.protobuf.Empty.
annotation_id : geo.map.overlay.AnnotationId
RemoveAll
RPC
RemoveAll(request: geo.map.overlay.RemoveAll) -> google.protobuf.EmptyRemove this map’s annotations without removing its layers or scene children.
Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.RemoveAll.
Returns google.protobuf.Empty.
map : scene.Node
SetPathPoints
RPC
SetPathPoints(request: geo.map.overlay.SetPathPoints) -> google.protobuf.EmptyService method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.SetPathPoints.
Returns google.protobuf.Empty.
annotation_id : geo.map.overlay.AnnotationId
points optional : list[geo.GeoPosition]
SetPathStyle
RPC
SetPathStyle(request: geo.map.overlay.SetPathStyle) -> google.protobuf.EmptyService method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.SetPathStyle.
Returns google.protobuf.Empty.
annotation_id : geo.map.overlay.AnnotationId
style : geo.map.overlay.PathStyle
AddPath
Message
Add a terrain-draped path. The returned UUID is independent of scene nodes.
map : scene.Node
points optional : list[geo.GeoPosition]
style optional : geo.map.overlay.PathStyle
straight optional : bool
AnnotationId
Message
A map-owned annotation’s stable UUID. An annotation is not a scene node.
uuid : string
GetPath
Message
annotation_id : geo.map.overlay.AnnotationId
PathInfo
Message
annotation_id : geo.map.overlay.AnnotationId
map : scene.Node
points optional : list[geo.GeoPosition]
style : geo.map.overlay.PathStyle
straight : bool
PathStyle
Message
stroke_color : color.ColorRgba
stroke_width : float
dot_width : float
closed : bool
fill_color optional : color.ColorRgba
RemoveAll
Message
Remove this map’s annotations without removing its layers or scene children.
map : scene.Node
RemoveOverlay
Message
annotation_id : geo.map.overlay.AnnotationId
SetPathPoints
Message
annotation_id : geo.map.overlay.AnnotationId
points optional : list[geo.GeoPosition]
SetPathStyle
Message
annotation_id : geo.map.overlay.AnnotationId
style : geo.map.overlay.PathStyle