Circle
Class for creating a circle on the map
new constructor
(map, options)
Example:
const circle = new mapgl.Circle(map, {
coordinates: map.getCenter(),
radius: 500,
});
Parameters
Methods
Class for creating a circle on the map
(map, options)
Example:
const circle = new mapgl.Circle(map, {
coordinates: map.getCenter(),
radius: 500,
});
()
Destroys the circle
void
(type, data?)
Calls all event listeners with event type type
type
K
Event type
data?
DynamicObjectEventTable[K]
Data transferred to events
this
(type, listener)
Removes event listener registered with on
type
K
Event type
listener
(ev: DynamicObjectEventTable[K]) => void
Event handler
this
(type, listener)
Registers event listener
type
K
Event type
listener
(ev: DynamicObjectEventTable[K]) => void
Event handler
this
(type, listener)
Registers event listener which will be called once
type
K
Event type
listener
(ev: DynamicObjectEventTable[K]) => void
Event handler
this