Create a new object.
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
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
The type of map object
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 belongs to
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 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.
The type of objects in this class
The type of footprint map objects
The type of field-of-view map objects
The type of global map objects
The type of measurement map objects
The type of vector map objects (points,lines,areas)
Create a copy of this instance.
returns a copy.
Convert the object to a string.
the string form of the object.
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.