Android webgl maps reference PolygonOptions | 2GIS Documentation

PolygonOptions

Polygon initialization options.

new <init>(coordinates, color, strokeWidth, strokeColor)

Polygon initialization options.

Parameters
coordinates
color
strokeWidth
strokeColor
Methods
Properties

Geographical coordinates of polygon points in format: outerEdges,cropEdges1,cropEdges2,.... The first section is outerEdges which describes an array of outer edges: firstPoint,secondPoint,...,firstPoint. Each point is a geographical point: longitude,latitude. The last point should be the same as the first.

Fill color in hexadecimal RGB (#ff0000) or RGBA (#ff0000ff) format.

Stroke width in pixels.

Stroke color in hexadecimal RGB (#ff0000) or RGBA (#ff0000ff) format.