drawOrder property

int drawOrder

The draw order of this map polygon relative to other map polygons. Gets the draw order of this map polygon relative to other map polygons. Default value is 0.

Implementation

int get drawOrder;
void drawOrder=(int value)

The draw order of this map polygon relative to other map polygons. Sets the draw order of this map polygon relative to other map polygons.

Polygon with higher draw order value are drawn on top of polygons with lower draw order.

In case multiple polygons have the same draw order value then the order in which they were added to the scene matters. Last added polygon is drawn on top.

Allowed range is 0-1023. Values outside this range will be clamped.

Implementation

set drawOrder(int value);