Skip to content

worldwind-ui API / react-worldwind / PlacemarkProps

Interface: PlacemarkProps ​

Defined in: react/src/shapes.tsx:169

Extends ​

Properties ​

altitudeMode? ​

optional altitudeMode?: AltitudeMode

Defined in: kit/src/shapes/placemark.ts:39

Inherited from ​

PlacemarkOptions.altitudeMode


alwaysOnTop? ​

optional alwaysOnTop?: boolean

Defined in: kit/src/shapes/placemark.ts:43

Inherited from ​

PlacemarkOptions.alwaysOnTop


depthTest? ​

optional depthTest?: boolean

Defined in: kit/src/shapes/placemark.ts:46

Inherited from ​

PlacemarkOptions.depthTest


displayName? ​

optional displayName?: string | null

Defined in: kit/src/shapes/attributes.ts:76

Inherited from ​

PlacemarkOptions.displayName


drawLeaderLine? ​

optional drawLeaderLine?: boolean

Defined in: kit/src/shapes/placemark.ts:44

Inherited from ​

PlacemarkOptions.drawLeaderLine


enabled? ​

optional enabled?: boolean

Defined in: kit/src/shapes/attributes.ts:77

Inherited from ​

PlacemarkOptions.enabled


eyeDistanceScaling? ​

optional eyeDistanceScaling?: boolean

Defined in: kit/src/shapes/placemark.ts:41

Shrink the image with distance. Defaults to true.

Inherited from ​

PlacemarkOptions.eyeDistanceScaling


eyeDistanceScalingThreshold? ​

optional eyeDistanceScalingThreshold?: number

Defined in: kit/src/shapes/placemark.ts:42

Inherited from ​

PlacemarkOptions.eyeDistanceScalingThreshold


highlight? ​

optional highlight?: PlacemarkHighlight | null

Defined in: kit/src/shapes/placemark.ts:48

Attributes applied while highlighted is true. null removes them.

Inherited from ​

PlacemarkOptions.highlight


highlightOnHover? ​

optional highlightOnHover?: boolean

Defined in: react/src/shapes.tsx:49

Toggle the shape's highlightAttributes while the mouse is over it.

Inherited from ​

ShapeEventProps.highlightOnHover


imageColor? ​

optional imageColor?: ColorInput

Defined in: kit/src/shapes/placemark.ts:31

Inherited from ​

PlacemarkOptions.imageColor


imageOffset? ​

optional imageOffset?: OffsetInput

Defined in: kit/src/shapes/placemark.ts:32

Inherited from ​

PlacemarkOptions.imageOffset


imageRotation? ​

optional imageRotation?: number

Defined in: kit/src/shapes/placemark.ts:33

Inherited from ​

PlacemarkOptions.imageRotation


imageScale? ​

optional imageScale?: number

Defined in: kit/src/shapes/placemark.ts:30

Inherited from ​

PlacemarkOptions.imageScale


imageSource? ​

optional imageSource?: string | WWImageSource | null

Defined in: kit/src/shapes/placemark.ts:29

Image URL, an ImageSource, or null for a label-only placemark.

Inherited from ​

PlacemarkOptions.imageSource


imageTilt? ​

optional imageTilt?: number

Defined in: kit/src/shapes/placemark.ts:34

Inherited from ​

PlacemarkOptions.imageTilt


label? ​

optional label?: string | null

Defined in: kit/src/shapes/placemark.ts:27

Inherited from ​

PlacemarkOptions.label


labelColor? ​

optional labelColor?: ColorInput

Defined in: kit/src/shapes/placemark.ts:35

Inherited from ​

PlacemarkOptions.labelColor


labelFontSize? ​

optional labelFontSize?: number

Defined in: kit/src/shapes/placemark.ts:36

Inherited from ​

PlacemarkOptions.labelFontSize


labelOffset? ​

optional labelOffset?: OffsetInput

Defined in: kit/src/shapes/placemark.ts:37

Inherited from ​

PlacemarkOptions.labelOffset


labelOutline? ​

optional labelOutline?: boolean

Defined in: kit/src/shapes/placemark.ts:38

Inherited from ​

PlacemarkOptions.labelOutline


leaderLineColor? ​

optional leaderLineColor?: ColorInput

Defined in: kit/src/shapes/placemark.ts:45

Inherited from ​

PlacemarkOptions.leaderLineColor


onClick? ​

optional onClick?: PickHandler

Defined in: react/src/shapes.tsx:44

Inherited from ​

ShapeEventProps.onClick


onDoubleClick? ​

optional onDoubleClick?: PickHandler

Defined in: react/src/shapes.tsx:45

Inherited from ​

ShapeEventProps.onDoubleClick


onMouseEnter? ​

optional onMouseEnter?: PickHandler

Defined in: react/src/shapes.tsx:46

Inherited from ​

ShapeEventProps.onMouseEnter


onMouseLeave? ​

optional onMouseLeave?: PickHandler

Defined in: react/src/shapes.tsx:47

Inherited from ​

ShapeEventProps.onMouseLeave


position ​

position: LatLonAlt

Defined in: kit/src/shapes/placemark.ts:26

Inherited from ​

PlacemarkOptions.position


pushpin? ​

optional pushpin?: false | PushpinColor

Defined in: react/src/shapes.tsx:171

Use one of WorldWind's bundled pushpins. Defaults to red when no imageSource is given; false disables.


pushpinStyle? ​

optional pushpinStyle?: PushpinStyle

Defined in: react/src/shapes.tsx:172


userData? ​

optional userData?: unknown

Defined in: kit/src/shapes/attributes.ts:79

Stored on the renderable's userProperties; comes back from picks.

Inherited from ​

PlacemarkOptions.userData

MIT licensed. Not affiliated with NASA; WorldWind is NASA's open-source virtual globe.