Comments (1)
Hello,
The popup is opened when a feature is selected. If you close the popup the feature is not deselected an clicking again don't do anything.
To fix this you have to deselect the feature on close.
Use the onclose callback to do that :
var popup = new ol.Overlay.Popup ({
onclose: function()
{ select.getFeatures().clear();
},
...
});
@+
from ol-ext.
Related Issues (20)
- in transform, keepAspectRatio is not working. HOT 2
- ol_ext_Worker is not defined HOT 1
- Sandbox code HOT 2
- The mask does not work at large scale HOT 4
- Mask all layers on my map HOT 1
- Cannot read properties of null (reading 'removeEventListener') HOT 1
- After using ol_PerspectiveMap, my click events failed HOT 1
- ol.control.EditBar - set editing to the vector layer used for drawing HOT 2
- filter.mask not always looping HOT 3
- LayerSwitcher Image Tooltip HOT 1
- Update from Open Layers 6 to 8 causes AnimatedCluster animation glitch HOT 5
- SearchBAN doesn't close on click when target: is specified HOT 1
- Animated SVG image displayed in wrong size and position on devices with devicePixelRatio > 1 HOT 6
- Requested clarification on the use of the openlayers version and API calls HOT 3
- webglPointsLayer with Swipe Control
- Photo shadow property is handled as number but declared as boolean HOT 1
- Issue with search parcelle geoportail, can't select arrondissement to get the right parcelle (Paris, Marseille, Lyon) HOT 3
- filter.Mask with large number of coordinates not working when zooming in on Android mobile devices HOT 3
- removeControl EditBar draw point auto adsorption is not working HOT 2
- ol-ext/control/Profile width HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ol-ext.