bobosch / ods_osm

TYPO3 Extension OpenStreetMap
10 stars 22 forks source link

Add exclusive popup for OpenLayers click popups. #7

Closed dawnbreak closed 11 years ago

dawnbreak commented 11 years ago

This commit adds an option to enable exclusive popups. This means that when you use click popups only one popup is visible. If you click on another marker the other will close.

bobosch commented 11 years ago

Hi, thanks for the patch! I think that feature is better located at the plugin config option "Show popups" (Open on click, Open exclusive on Click, Open on hover) - what do you think?

dawnbreak commented 11 years ago

Will change it!

dawnbreak commented 11 years ago

I am nearly finished. Is it possible to only show this entry for openlayers? I don't think the other libraries have this.

bobosch commented 11 years ago

No, I think not. But don't mind.

bobosch commented 11 years ago

Hi, do you have finished? you can push me also your half-finished work, i will finish it the next days...

dawnbreak commented 11 years ago

Sorry for the delay. I hope it is working now as expected in most situations. Is leaflet actually using show_popups at all? Otherwise you could disable this drop down for leaflet to not confuse the users.