I am using bootstrap 4 to show some popovers on the points of the map, but they are not fixed, when you scroll the map the popover changes position.

In bootstrap 3 it works fine though. I don't know if there is any solution in OpenLayers to this.



You can update the element’s popover, when the moveend event fires.

map.on("moveend", ()=>{

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.