Class: MarkerManager

MarkerManager(map, isMultiMarkers)

Display markers on a map, used in 3D

Constructor

new MarkerManager(map, isMultiMarkers)

Parameters:
Name Type Description
map Map target open layer Map object
isMultiMarkers boolean displays only last marker if false, all markers if true
Source:

Methods

_getStyle(label) → {Style}

Returns a Style object defining a marker
Parameters:
Name Type Description
label string
Source:
Returns:
an open layers Style object
Type
Style

addMarker(pixRa, pixDec, label)

Adds a new marker on map
Parameters:
Name Type Description
pixRa number RA in pixels (int)
pixDec number DEC in pixels (int)
label string label of the marker
Source:

clearMarkers()

Removes all markers
Source: