Geovation / labelgun

🏷️ reducing label clutter across mapping libraries
https://geovation.github.io/labelgun/
113 stars 10 forks source link

OpenLayers3 example has collisions at certain zooms #3

Closed JamesLMilner closed 7 years ago

JamesLMilner commented 7 years ago

It seems very difficult to get to a point where there are no label collisions on the OpenLayers3 example. I think this is more a OpenLayers3 issue than a Labelgun issue. There doesn't appear to be a strict 'this layer has loaded and rendered' event in OL3.

screenshot_20170109_152331

JamesLMilner commented 7 years ago

This is caused by the fact that names were used as IDs. Because names were not unique they shared the same styles and didn't get turned transparent.