ol-ext: Control overlay
Display an overlay with a content on the map.
-
The closeBox option adds a close button to hide the overlay.
-
The closeOnClick option enable close when click on the element.
-
You can listen to the change:visible event to sknow when overlay is displayed/hidden.
-
You can use CSS class to specify an animation or define your own one.
ol.control.Overlay requires jQuery.
Options:
Animation:
Click on the points to show an overlay!