DrawnMarker
A single point on the globe (e.g. a pin), with no vertex list of its own.
Like DrawnPolyline, a marker has no interior — style is applied to the marker's icon/dot color (see com.tcsappdev.worldwinddraw.core.style.ShapeStyle's KDoc).
Constructors
Properties
Free text about the shape (what it is, a source, a note), for the host to show where it likes, for example in a popup when the shape is tapped. The library only keeps it: nothing is drawn from it. null is no description.
text written next to the icon, or null for none (see MarkerLabel). For a marker that is only text, give it a style that is fully transparent and a label whose position is LabelPosition.Center.
Data attached to the shape, as named values: what a GeoJSON feature's properties or a KML placemark's ExtendedData hold (a population, a country code, a year, a source). The library only keeps it, it is not drawn, and it is carried through the file formats: nothing in it means anything to the engine, so a host may put what it needs there. Values are text; a number or a flag read from a file comes in as its text (5000000, true) and goes back out as a text. Empty when there is none.
the icon's on-screen size in pixels, must be greater than 0. A renderer without a real icon (a plain com.tcsappdev.worldwinddraw.core.style.ShapeStyle.SolidColor) draws a sizexsize square in that color, so this can't default to something imperceptibly small.
How the shape looks (see ShapeStyle for what it means for each kind of shape).
Where the shape lies in the drawing order: a shape with a higher number is drawn over one with a lower number, whatever kind each of them is. Shapes with the same number keep the order of their kinds (polygons below lines below markers) and, within a kind, the order they were added in. A tap on a place where shapes overlap reaches the one that is drawn on top.
Functions
This shape with another description (see DrawableEntity.description).
This shape with other properties (see DrawableEntity.properties).
This shape with another zIndex (see DrawableEntity.zIndex).