Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
JSCSJSCS CreditAttribution: JSCSJSCS commentedI 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.
Comment #2
kumkum29 CreditAttribution: kumkum29 commentedHello,
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.
Comment #3
kumkum29 CreditAttribution: kumkum29 commentedHello 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 ?
Comment #4
JSCSJSCS CreditAttribution: JSCSJSCS commented@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.
Comment #4.0
JSCSJSCS CreditAttribution: JSCSJSCS commentedrev2
Comment #5
dshields CreditAttribution: dshields commentedThis 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?
Comment #6
jc_sed8d CreditAttribution: jc_sed8d commentedI 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.