Hi,
I would like to add around markers a circle with a defined radius in kilometers (3 km) that would respect its radius when zooming. I saw some code when searching the web, but not related to a Drupal module.

My support request seems a bit like #1693322: Possible to add a radius overlay centered on a Gmap marker?, but this one is for GMap Module and is not resolved.

Is there anything possible with OpenLayers ?

Thanks

Comments

manojsaini’s picture

Having that feature in OL will be great.

krem’s picture

Yep, I do need that as well... If anybody find a way through javascript, please share :)

puppyman’s picture

I need this as well! Tried doing it through JS using the openlayers addLayer method, but consistently got "Object has no method addLayer", or similar results, trying it a multitude of ways. If anyone has some JS code that worked for them, that would be awesome!

DS

ikeigenwijs’s picture

Issue summary: View changes

any pointer on where this could be achieved in code, a hook?
I probably need to give this a go in the near future.