MilStd2525Placemark

actual open class MilStd2525Placemark(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector) : AbstractMilStd2525Placemark

Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. The Placemark's symbol is lazily created (and recreated if necessary) via an ImageSource.ImageFactory. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing and the bitmap factory.

Parameters

position

The placemark's geographic position

symbolID

A 30-character numeric identifier that provides the information necessary to display or transmit a tactical symbol between MIL-STD-2525 compliant systems.

symbolModifiers

An optional collection of unit or tactical graphic modifiers. See:

symbolAttributes

An optional collection of rendering attributes.

See also

actual open class MilStd2525Placemark(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector) : AbstractMilStd2525Placemark

Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing.

Parameters

position

The placemark's geographic position

symbolID

A 30-character numeric identifier that provides the information necessary to display or transmit a tactical symbol between MIL-STD-2525 compliant systems.

symbolModifiers

An optional collection of unit or tactical graphic modifiers.

symbolAttributes

An optional collection of rendering attributes.

expect open class MilStd2525Placemark(symbolID: String, position: Position, symbolModifiers: Map<String, String>? = null, symbolAttributes: Map<String, String>? = null, lodSelector: Placemark.LevelOfDetailSelector = MilStd2525LevelOfDetailSelector()) : AbstractMilStd2525Placemark
actual open class MilStd2525Placemark(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector) : AbstractMilStd2525Placemark

Constructs a MIL-STD-2525 Placemark with an appropriate level of detail for the current distance from the camera. Shared low-fidelity images are used when far away from the camera, whereas unique high-fidelity images are used when near the camera. The high-fidelity images that are no longer in view are automatically freed, if necessary, to release memory resources. See the MilStd2525Placemark.getPlacemarkAttributes for more information about resource caching/sharing.

Parameters

position

The placemark's geographic position

symbolID

A 30-character numeric identifier that provides the information necessary to display or transmit a tactical symbol between MIL-STD-2525 compliant systems.

symbolModifiers

An optional collection of unit or tactical graphic modifiers.

symbolAttributes

An optional collection of rendering attributes.

Constructors

Link copied to clipboard
actual constructor(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector)
actual constructor(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector)
expect constructor(symbolID: String, position: Position, symbolModifiers: Map<String, String>? = null, symbolAttributes: Map<String, String>? = null, lodSelector: Placemark.LevelOfDetailSelector = MilStd2525LevelOfDetailSelector())
actual constructor(symbolID: String, position: Position, symbolModifiers: Map<String, String>?, symbolAttributes: Map<String, String>?, lodSelector: Placemark.LevelOfDetailSelector)

Types

Link copied to clipboard
actual object Companion
actual object Companion
expect object Companion
actual object Companion

Properties

altitudeMode
Link copied to clipboard
open override var altitudeMode: AltitudeMode

The placemark's altitude mode. See AltitudeMode

open override var altitudeMode: AltitudeMode

The placemark's altitude mode. See AltitudeMode

open override var altitudeMode: AltitudeMode

The placemark's altitude mode. See AltitudeMode

open override var altitudeMode: AltitudeMode

The placemark's altitude mode. See AltitudeMode

attributes
Link copied to clipboard
var attributes: PlacemarkAttributes

The placemark's normal attributes.

var attributes: PlacemarkAttributes

The placemark's normal attributes.

The placemark's normal attributes.

var attributes: PlacemarkAttributes

The placemark's normal attributes.

displayName
Link copied to clipboard
open override var displayName: String?
open override var displayName: String?
open override var displayName: String?
open override var displayName: String?
eyeDistanceScalingLabelThreshold
Link copied to clipboard

Sets the eye altitude, in meters, above which this placemark's label is not displayed.

Sets the eye altitude, in meters, above which this placemark's label is not displayed.

Sets the eye altitude, in meters, above which this placemark's label is not displayed.

Sets the eye altitude, in meters, above which this placemark's label is not displayed.

eyeDistanceScalingThreshold
Link copied to clipboard

Sets the eye distance above which to reduce the size of this placemark, in meters. If isEyeDistanceScaling is true, this placemark's image, label and leader sizes are reduced as the eye distance increases beyond this threshold.

Sets the eye distance above which to reduce the size of this placemark, in meters. If isEyeDistanceScaling is true, this placemark's image, label and leader sizes are reduced as the eye distance increases beyond this threshold.

Sets the eye distance above which to reduce the size of this placemark, in meters. If isEyeDistanceScaling is true, this placemark's image, label and leader sizes are reduced as the eye distance increases beyond this threshold.

Sets the eye distance above which to reduce the size of this placemark, in meters. If isEyeDistanceScaling is true, this placemark's image, label and leader sizes are reduced as the eye distance increases beyond this threshold.

highlightAttributes
Link copied to clipboard
var highlightAttributes: PlacemarkAttributes?

The attributes to use when the placemark is highlighted.

var highlightAttributes: PlacemarkAttributes?

The attributes to use when the placemark is highlighted.

The attributes to use when the placemark is highlighted.

var highlightAttributes: PlacemarkAttributes?

The attributes to use when the placemark is highlighted.

imageRotation
Link copied to clipboard
var imageRotation: Angle

The amount of rotation to apply to the image, measured clockwise and relative to this placemark's Placemark.imageRotationReference.

var imageRotation: Angle

The amount of rotation to apply to the image, measured clockwise and relative to this placemark's Placemark.imageRotationReference.

The amount of rotation to apply to the image, measured clockwise and relative to this placemark's Placemark.imageRotationReference.

var imageRotation: Angle

The amount of rotation to apply to the image, measured clockwise and relative to this placemark's Placemark.imageRotationReference.

imageRotationReference
Link copied to clipboard
var imageRotationReference: OrientationMode

eyeDistanceScaling Sets the type of rotation to apply if the Placemark.imageRotation is not zero. This value indicates whether to apply this placemark's image rotation relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is rotated in the plane of the screen and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is rotated in a plane tangent to the globe at this placemark's position and retains its orientation relative to the globe.

var imageRotationReference: OrientationMode

eyeDistanceScaling Sets the type of rotation to apply if the Placemark.imageRotation is not zero. This value indicates whether to apply this placemark's image rotation relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is rotated in the plane of the screen and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is rotated in a plane tangent to the globe at this placemark's position and retains its orientation relative to the globe.

eyeDistanceScaling Sets the type of rotation to apply if the Placemark.imageRotation is not zero. This value indicates whether to apply this placemark's image rotation relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is rotated in the plane of the screen and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is rotated in a plane tangent to the globe at this placemark's position and retains its orientation relative to the globe.

var imageRotationReference: OrientationMode

eyeDistanceScaling Sets the type of rotation to apply if the Placemark.imageRotation is not zero. This value indicates whether to apply this placemark's image rotation relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is rotated in the plane of the screen and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is rotated in a plane tangent to the globe at this placemark's position and retains its orientation relative to the globe.

imageTilt
Link copied to clipboard
var imageTilt: Angle

Sets the amount of tilt to apply to the image, measured away from the eye point and relative to this placemark's Placemark.imageTiltReference. While any positive or negative number may be specified, values outside the range 0. 90 cause some or all of the image to be clipped.

var imageTilt: Angle

Sets the amount of tilt to apply to the image, measured away from the eye point and relative to this placemark's Placemark.imageTiltReference. While any positive or negative number may be specified, values outside the range 0. 90 cause some or all of the image to be clipped.

Sets the amount of tilt to apply to the image, measured away from the eye point and relative to this placemark's Placemark.imageTiltReference. While any positive or negative number may be specified, values outside the range 0. 90 cause some or all of the image to be clipped.

var imageTilt: Angle

Sets the amount of tilt to apply to the image, measured away from the eye point and relative to this placemark's Placemark.imageTiltReference. While any positive or negative number may be specified, values outside the range 0. 90 cause some or all of the image to be clipped.

imageTiltReference
Link copied to clipboard
var imageTiltReference: OrientationMode

Sets the type tilt to apply when Placemark.imageTilt is non-zero. This value indicates whether to apply this placemark's image tilt relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is tilted inwards (for positive tilts) relative to the plane of the screen, and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is tilted towards the globe's surface, and retains its orientation relative to the surface.

var imageTiltReference: OrientationMode

Sets the type tilt to apply when Placemark.imageTilt is non-zero. This value indicates whether to apply this placemark's image tilt relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is tilted inwards (for positive tilts) relative to the plane of the screen, and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is tilted towards the globe's surface, and retains its orientation relative to the surface.

Sets the type tilt to apply when Placemark.imageTilt is non-zero. This value indicates whether to apply this placemark's image tilt relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is tilted inwards (for positive tilts) relative to the plane of the screen, and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is tilted towards the globe's surface, and retains its orientation relative to the surface.

var imageTiltReference: OrientationMode

Sets the type tilt to apply when Placemark.imageTilt is non-zero. This value indicates whether to apply this placemark's image tilt relative to the screen or the globe.
If OrientationMode.RELATIVE_TO_SCREEN, this placemark's image is tilted inwards (for positive tilts) relative to the plane of the screen, and its orientation relative to the globe changes as the view changes. If OrientationMode.RELATIVE_TO_GLOBE, this placemark's image is tilted towards the globe's surface, and retains its orientation relative to the surface.

isAlwaysOnTop
Link copied to clipboard

Indicates whether this placemark has visual priority over other shapes in the scene.

Indicates whether this placemark has visual priority over other shapes in the scene.

Indicates whether this placemark has visual priority over other shapes in the scene.

Indicates whether this placemark has visual priority over other shapes in the scene.

isBillboardingEnabled
Link copied to clipboard

Enable additional altitude offset (billboarding) to prevent clipping Placamerk by terrain on tilt.

Enable additional altitude offset (billboarding) to prevent clipping Placamerk by terrain on tilt.

Enable additional altitude offset (billboarding) to prevent clipping Placamerk by terrain on tilt.

Enable additional altitude offset (billboarding) to prevent clipping Placamerk by terrain on tilt.

isEnabled
Link copied to clipboard
open override var isEnabled: Boolean
open override var isEnabled: Boolean
open override var isEnabled: Boolean
open override var isEnabled: Boolean
isEyeDistanceScaling
Link copied to clipboard

Enables or disables the eye distance scaling feature for this placemark. When enabled, the placemark's size is reduced at higher eye distances. If true, this placemark's size is scaled inversely proportional to the eye distance if the eye distance is greater than the value of the Placemark.eyeDistanceScalingThreshold property. When the eye distance is below the threshold, this placemark is scaled only according to the PlacemarkAttributes.imageScaleX / PlacemarkAttributes.imageScaleY.

Enables or disables the eye distance scaling feature for this placemark. When enabled, the placemark's size is reduced at higher eye distances. If true, this placemark's size is scaled inversely proportional to the eye distance if the eye distance is greater than the value of the Placemark.eyeDistanceScalingThreshold property. When the eye distance is below the threshold, this placemark is scaled only according to the PlacemarkAttributes.imageScaleX / PlacemarkAttributes.imageScaleY.

Enables or disables the eye distance scaling feature for this placemark. When enabled, the placemark's size is reduced at higher eye distances. If true, this placemark's size is scaled inversely proportional to the eye distance if the eye distance is greater than the value of the Placemark.eyeDistanceScalingThreshold property. When the eye distance is below the threshold, this placemark is scaled only according to the PlacemarkAttributes.imageScaleX / PlacemarkAttributes.imageScaleY.

Enables or disables the eye distance scaling feature for this placemark. When enabled, the placemark's size is reduced at higher eye distances. If true, this placemark's size is scaled inversely proportional to the eye distance if the eye distance is greater than the value of the Placemark.eyeDistanceScalingThreshold property. When the eye distance is below the threshold, this placemark is scaled only according to the PlacemarkAttributes.imageScaleX / PlacemarkAttributes.imageScaleY.

isFilled
Link copied to clipboard

Fill state is tracked per rendering window by the level of detail selector, so windows may set it to different values before rendering without invalidating the shared selector state.

Fill state is tracked per rendering window by the level of detail selector, so windows may set it to different values before rendering without invalidating the shared selector state.

Fill state is tracked per rendering window by the level of detail selector, so windows may set it to different values before rendering without invalidating the shared selector state.

Fill state is tracked per rendering window by the level of detail selector, so windows may set it to different values before rendering without invalidating the shared selector state.

isHighlighted
Link copied to clipboard
open override var isHighlighted: Boolean

Determines whether the normal or highlighted attributes should be used.

open override var isHighlighted: Boolean

Determines whether the normal or highlighted attributes should be used.

open override var isHighlighted: Boolean

Determines whether the normal or highlighted attributes should be used.

open override var isHighlighted: Boolean

Determines whether the normal or highlighted attributes should be used.

isLeaderPickingEnabled
Link copied to clipboard

Indicates whether this placemark's leader, if any, is pickable.

Indicates whether this placemark's leader, if any, is pickable.

Indicates whether this placemark's leader, if any, is pickable.

Indicates whether this placemark's leader, if any, is pickable.

isModifiersVisible
Link copied to clipboard
isPickEnabled
Link copied to clipboard
open override var isPickEnabled: Boolean
open override var isPickEnabled: Boolean
open override var isPickEnabled: Boolean
open override var isPickEnabled: Boolean
isPointShape
Link copied to clipboard
open override val isPointShape: Boolean

true when this shape's referencePosition coincides with where the user actually sees the shape (Placemark, Label, sightlines — the reference is the rendered location). false for shapes whose reference is computed from extended geometry and may sit far from where the user grabbed (Polygon centroid, Path centroid, Mesh).

open override val isPointShape: Boolean

true when this shape's referencePosition coincides with where the user actually sees the shape (Placemark, Label, sightlines — the reference is the rendered location). false for shapes whose reference is computed from extended geometry and may sit far from where the user grabbed (Polygon centroid, Path centroid, Mesh).

open override val isPointShape: Boolean

true when this shape's referencePosition coincides with where the user actually sees the shape (Placemark, Label, sightlines — the reference is the rendered location). false for shapes whose reference is computed from extended geometry and may sit far from where the user grabbed (Polygon centroid, Path centroid, Mesh).

open override val isPointShape: Boolean

true when this shape's referencePosition coincides with where the user actually sees the shape (Placemark, Label, sightlines — the reference is the rendered location). false for shapes whose reference is computed from extended geometry and may sit far from where the user grabbed (Polygon centroid, Path centroid, Mesh).

label
Link copied to clipboard

The label text to draw near the placemark.

The label text to draw near the placemark.

The label text to draw near the placemark.

The label text to draw near the placemark.

levelOfDetailSelector
Link copied to clipboard
var levelOfDetailSelector: Placemark.LevelOfDetailSelector?

Sets the optional level-of-detail selector used to inject logic for selecting PlacemarkAttributes based on the camera distance and highlighted attribute. If set to null, the normal and highlight attribute bundles used respectfully for the normal and highlighted states.

var levelOfDetailSelector: Placemark.LevelOfDetailSelector?

Sets the optional level-of-detail selector used to inject logic for selecting PlacemarkAttributes based on the camera distance and highlighted attribute. If set to null, the normal and highlight attribute bundles used respectfully for the normal and highlighted states.

Sets the optional level-of-detail selector used to inject logic for selecting PlacemarkAttributes based on the camera distance and highlighted attribute. If set to null, the normal and highlight attribute bundles used respectfully for the normal and highlighted states.

var levelOfDetailSelector: Placemark.LevelOfDetailSelector?

Sets the optional level-of-detail selector used to inject logic for selecting PlacemarkAttributes based on the camera distance and highlighted attribute. If set to null, the normal and highlight attribute bundles used respectfully for the normal and highlighted states.

pickDelegate
Link copied to clipboard
open override var pickDelegate: Any?
open override var pickDelegate: Any?
open override var pickDelegate: Any?
open override var pickDelegate: Any?
position
Link copied to clipboard
var position: Position

The placemark's geographic position.

var position: Position

The placemark's geographic position.

The placemark's geographic position.

var position: Position

The placemark's geographic position.

referencePosition
Link copied to clipboard
open override val referencePosition: Position

A position associated with the object that indicates its aggregate geographic position. For a Placemark, this is simply it's position property.

open override val referencePosition: Position

A position associated with the object that indicates its aggregate geographic position. For a Placemark, this is simply it's position property.

open override val referencePosition: Position

A position associated with the object that indicates its aggregate geographic position. For a Placemark, this is simply it's position property.

open override val referencePosition: Position

A position associated with the object that indicates its aggregate geographic position. For a Placemark, this is simply it's position property.

symbolAttributes
Link copied to clipboard
symbolID
Link copied to clipboard
symbolModifiers
Link copied to clipboard
zOrder
Link copied to clipboard
open override var zOrder: Double
open override var zOrder: Double
open override var zOrder: Double
open override var zOrder: Double

Functions

Link copied to clipboard
fun Placemark.applyFeatureStyle(properties: LinkedHashMap<String, Any?>, density: Float = DEFAULT_DENSITY)

Apply icon URL + icon-offset + icon-scale (× density) to a Placemark, plus label-scale to its label-attributes. Invalid / non-HTTPS icon URLs are skipped.

getUserProperty
Link copied to clipboard
open override fun <T> getUserProperty(key: Any): T?
open override fun <T> getUserProperty(key: Any): T?
open override fun <T> getUserProperty(key: Any): T?
open override fun <T> getUserProperty(key: Any): T?
hasUserProperty
Link copied to clipboard
open override fun hasUserProperty(key: Any): Boolean
open override fun hasUserProperty(key: Any): Boolean
open override fun hasUserProperty(key: Any): Boolean
open override fun hasUserProperty(key: Any): Boolean
moveTo
Link copied to clipboard
open override fun moveTo(globe: Globe, position: Position)

Moves the shape over the globe's surface. For a Placemark, this simply set Placemark.position.

open override fun moveTo(globe: Globe, position: Position)

Moves the shape over the globe's surface. For a Placemark, this simply set Placemark.position.

open override fun moveTo(globe: Globe, position: Position)

Moves the shape over the globe's surface. For a Placemark, this simply set Placemark.position.

open override fun moveTo(globe: Globe, position: Position)

Moves the shape over the globe's surface. For a Placemark, this simply set Placemark.position.

putUserProperty
Link copied to clipboard
open override fun putUserProperty(key: Any, value: Any): Any?
open override fun putUserProperty(key: Any, value: Any): Any?
open override fun putUserProperty(key: Any, value: Any): Any?
open override fun putUserProperty(key: Any, value: Any): Any?
removeUserProperty
Link copied to clipboard
open override fun removeUserProperty(key: Any): Any?
open override fun removeUserProperty(key: Any): Any?
open override fun removeUserProperty(key: Any): Any?
open override fun removeUserProperty(key: Any): Any?
render
Link copied to clipboard
open override fun render(rc: RenderContext)
open override fun render(rc: RenderContext)
open override fun render(rc: RenderContext)
open override fun render(rc: RenderContext)