Circle Marker - granny/Pl3xMap GitHub Wiki
The circle marker is used to draw circles on the map.
API Components
center
- the location on the map (Point)radius
- radius of the circle (double)options
* - options for drawing the circle (Options)
API Examples
Circle circle = new Circle(new Point(0, 0), 10.0D)
.setOptions(Options.builder()
.strokeColor(0xFF0000FF)
.fillColor(0x330000FF)
.tooltipContent("Sample text!")
.build()
);
JSON Structure
Extended JSON:
[
"circ",
[
[
0, /* center X */
0 /* center Z */
],
10.0 /* radius */
],
[/*options*/]
]
Condensed JSON:
["circ",[0,0],10],[/*options*/](/granny/Pl3xMap/wiki/0,0],10],[/*options*/)