Class: module:Tooltip

module:Tooltip(map, tooltipLayersConfig, lizmap3)

new module:Tooltip(map, tooltipLayersConfig, lizmap3)

Create the tooltip Map
Parameters:
Name Type Description
map Map OpenLayers map
tooltipLayersConfig TooltipLayersConfig The config tooltipLayers
lizmap3 object The old lizmap object
Source:

Classes

TooltipLayerConfig
TooltipLayersConfig
Tooltip

Methods

activate(layerOrder)

Activate tooltip for a layer order
Parameters:
Name Type Description
layerOrder number a layer order
Source:

deactivate()

Deactivate tooltip
Source: