createWithColorAndSize

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.

Return

A new Placemark with a PlacemarkAttributes bundle.

Parameters

position

The geographic position where the placemark is drawn.

color

The color of the placemark.

pixelSize

The width and height of the placemark.