Companion

object Companion

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard
fun createWithColorAndSize(position: Position, color: Color, pixelSize: Int): Placemark

This factory method creates a Placemark and an associated PlacemarkAttributes bundle that draws a simple square centered on the supplied position with the given size and color.

Link copied to clipboard
fun createWithImage(position: Position, imageSource: ImageSource, label: String? = null): Placemark

This factory method creates a Placemark and an associated PlacemarkAttributes bundle that draws the given image centered on the supplied position with an optional nearby label.