I saw many examples of Feature Popup activated when the cursor is moved over a feature for OpenLayers 2.0 but none for OpenLayers 3.0.
Does anyone know how to do the following : http://jorix.github.io/OL-FeaturePopups/examples/feature-popups.html on OpenLayers 3.0 ?
Best Answer
This works on OL 3.10.1. This example assumes you already have a feature layer added to your map and are using bootstrap and Jquery.
For a solution without Jquery and Bootstrap see : OpenLayers 3 - Feature Popup without Jquery/Bootstrap
HTML
CSS
JS
Here you need to replace feature.get('id') by whatever feature property you want to show on your popup (example: feature.get('name')).