This repository has been archived by the owner on Apr 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Circle Marker
William Blake Galbreath edited this page Apr 3, 2024
·
15 revisions
The circle marker is used to draw circles on the map.
-
center
- the point on the map (Point) -
radius
- radius of the circle (double) -
options
* - options for drawing the circle (Options) -
pane
* - pane name for custom css
* is an optional component
insert screenshot of this marker here
Circle circle = new Circle("my_circle", new Point(0, 0), 10.0D)
.setOptions(Options.builder()
.strokeColor(0xFF0000FF)
.fillColor(0x330000FF)
.tooltipContent("Sample text!")
.build()
);
Extended JSON:
{
"type": "circ",
"data": {
"key": "my_circle",
"center": {
"x": 0,
"z": 0
},
"radius": 10.0
],
"options": {
"stroke": {
"color": 0xFF0000FF
},
"fill": {
"color": 0x330000FF
},
"tooltip": {
"content": "Sample text!"
}
}
}
- Home
- Server Admins:
- Plugin Developers: