-
Name Type Description options
Options
Name Type Description map
module:cercaliagl/Map~Map Map.
categories
Array.<string> Cercalia POI categories id list.
createMarkersFunction
function Create markers function. If is preferred to use a custom function to create markers. It is useful when you want to change default icon or default popups
layer
module:cercaliagl/layer/Marker~Marker Add custom layer.
Methods
-
Append active categories
Name Type Description categories
Array.<string> -
Disable interaction
-
Enable interaction
-
Returns:
Current active id categories.
-
-
-
Remove active categories.
Name Type Description categories
Array.<string> Categories to remove
-
-
Name Type Description categories
Array.<string> Categories