Skip to content

geo.map.overlay

6 functions / 9 types

Index

FunctionDescription
AddPathAdd a terrain-draped path. The returned UUID is independent of scene nodes.
GetPath
Remove
RemoveAllRemove this map’s annotations without removing its layers or scene children.
SetPathPoints
SetPathStyle
TypeDescription
AddPathAdd a terrain-draped path. The returned UUID is independent of scene nodes.
AnnotationIdA map-owned annotation’s stable UUID. An annotation is not a scene node.
GetPath
PathInfo
PathStyle
RemoveAllRemove 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.AnnotationId

Add 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.

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.PathInfo

Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.GetPath.

Returns geo.map.overlay.PathInfo.

Remove

RPC

Remove(request: geo.map.overlay.RemoveOverlay) -> google.protobuf.Empty

Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.Remove.

Returns google.protobuf.Empty.

RemoveAll

RPC

RemoveAll(request: geo.map.overlay.RemoveAll) -> google.protobuf.Empty

Remove this map’s annotations without removing its layers or scene children.

Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.RemoveAll.

Returns google.protobuf.Empty.

SetPathPoints

RPC

SetPathPoints(request: geo.map.overlay.SetPathPoints) -> google.protobuf.Empty

Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.SetPathPoints.

Returns google.protobuf.Empty.

points optional : list[geo.GeoPosition]

SetPathStyle

RPC

SetPathStyle(request: geo.map.overlay.SetPathStyle) -> google.protobuf.Empty

Service method: spatialengine.v1.geo.map.overlay.GeoMapOverlay.SetPathStyle.

Returns google.protobuf.Empty.

AddPath

Message

Add a terrain-draped path. The returned UUID is independent of scene nodes.

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

PathInfo

Message

points optional : list[geo.GeoPosition]

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.

RemoveOverlay

Message

SetPathPoints

Message

points optional : list[geo.GeoPosition]

SetPathStyle

Message