PolygonInheritance: Shape > Poly > Polygon The Polygon class is used to draw a polygon on the map. See on the examples page Use shapes -> Add polygon to map Summary
Polygon
The Polygon constructor. Parameters
getBrushStyle
Returns the brush style of the polygon. ReturnsThe brush style of the polygon. See AlsoisPointInside
Return true if the point is in the polygon, otherwise returns false(does not support complex polygon). ReturnsTrue if the point is in the polygon, otherwise returns false. Parameters
setBrushStyle
Sets a new brush style to the polygon. Parameters
See Also |
The Shape class is used to define a shape (Marker, Polygon, Polyline, Circle) to be drawn on the map.
In order to add any shape on the map you should add the shape object to the map’s LayersManager object.
In order to add any shape on the map you should add the shape object to the map’s LayersManager object.
Inheritance: Shape > Poly
|
|
BrushStyle getBrushStyle() |
boolean isPointInside(LatLong latLong) |
Inheritance: Layer > LayersCollection > LayersManager
This is the base class of the provided coordinates classes.
This class defines a line style.
This class defines a brush style.