The point or line color of the map object
The fill color of the map object (used when spatialArea is provided or as fill color for a symbol)
The label of the map object
This label is placed at the center of the spatial point, line or area.
The color of the label font
The name of the label font.
This corresponds to a CSS font-family value.
The size of the label font
The position offset of the label, expressed in pixels.
The line width for spatial lines or areas
The identifier of the map object. This property is optional.
This property can be used to refer back to the original host object when listening to the onOverlayObjectSelected, onOverlayObjectChanged or onOverlayObjectDeleted signals.
This property can be used to update objects. When you add an object that has an objectId that already exists, the original object will be replaced by the added one.
The type of map object. This value is optional.
It is used internally to characterize the function of the map object (see TYPE_VECTOR, TYPE_FOOTPRINT, TYPE_FOV, TYPE_MEASUREMENT, TYPE_GLOBAL).
A map of object properties.
In case of a map object whose MapObject.objectType value equals MapObject.TYPE_FOV, the following properties are available : viewId,renderMode,pan,tilt,fov.
The identifier of the resource this map object corresponds to. This property is optional.
For Overlay objects, the value of this property will always be overwritten by the resourceName the object was added to.
Field-of-view objects will have this property set to the ID of the photo resource, if a photo is open.
Footprint objects will have this property set to the ID of the parent resource.
The spatial area
The spatial line
The spatial point
The symbol name to use.
Any symbol available in the DefaultSymbols Orbit Symbol Library can be used.
For more information about the DefaultSymbols library, see [[https://kb.orbitgt.com/dataset_legend|Point Legend, Orbit Symbol Library]].
Note: Only used if symbolPath is not defined.
The symbol path to use as a symbol for this object.
The symbol path is expressed in pixels, relative to the center of the object.
The symbol size to use.
Note: Only applies to symbolName or symbolUrl.
The symbol URL to use.
Note: Only used if symbolName and symbolPath are not defined.
A small string can is used as a tooltip on this object.
StaticTYPE_The type of footprint map objects
StaticTYPE_The type of field-of-view map objects
StaticTYPE_The type of global map objects
StaticTYPE_The type of measurement map objects
StaticTYPE_The type of vector map objects (points,lines,areas)
Class MapObject defines an object to be displayed on the map.
Properties that define one or more pixel values (symbolPath, symbolSize, labelPosition, etc...) are expressed in 96 DPI pixels.