When I use the exposed filter of OL Proximity module, nodes are displayed well on the map but zoom is broken (zoom to layer).
With OL 7.x-2.0-beta3 module I had no problem and option "zoom to layer" worked well.

Should I enable "ajax" in the view that "zoom to layer" is active?

Thank you.

Comments

JSCSJSCS’s picture

I too am using this module and can't get zoom to layer to work on displayed view map. I also found that I had to click the zoom control twice for on any OSM base layers to get it to change. It worked as expected on google base layers.

kumkum29’s picture

Hello,

I use a MapBox map and "zoom to layer" does not work. I have the same problem with a google map. When i enabled "Zoom to layer" option, map simply zoom to the max extent.

kumkum29’s picture

Hello JSCSJSCS,

I have a new problem with OL Proximity after upgrade of OL 7-2.x-dev.
I have post this message: http://drupal.org/node/1939572.

Do you have this problem ?

JSCSJSCS’s picture

@kumkum29 As a person new to mapping, I think I have given up on OpenLayers for now. It's too complicated to set up (Create a view, create a map, create another view to display those...). I feel like I'm being punished. I am looking into Leaflet/Geofield now.

JSCSJSCS’s picture

Issue summary: View changes

rev2

dshields’s picture

Issue summary: View changes

This is still a problem. Filtering results by proximity doesn't give you the right zoom level, for some reason..

Anyone find a solution for this?

jc_sed8d’s picture

I recently switched to Geofield proximity as advised on the Openlayer Proximity module page. It is much better and faster! Advice: leave OLP behind like the devs seem to want you to.