I'm using OpenLayers3 to integrate a map into a website. I added some features representing objects according to their position. I added an overlay containing data on that object when it is clicked on, and it is working perfectly. But, there is something I don't know how to do, and I've tried but it is not working :
Foreach object on the map, I want a kind of label displaying its name next to it - because it is impossible to distinguish them, except if the overlay is displayed. But clicking on every object is not convenient, specially on a smartphone... (sometimes, objects are very very close to each other).
I tried displaying an overlay for that. But it seems that only one overlay can be shown at a time. Do you know how to circumvent/avoid that to display more than one overlay ? Or do you have a fallback solution if it cannot be done ? I've looked at the API and the examples on OpenLayers3 website... but I haven't found something. I'm running out of ideas.
Thanks a lot.
Post scriptum : Before I'm asked for some code, I cannot post any part of code because it is for a project where I'm working, so obviously, my code is confidential. Sorry, thank you for your comprehension. But I can work on any example or idea to make it fit my code and see if it is working or not.
ol.Overlay
? – Clergyman