After updating to latest dev version my map doesn't autozoom to the extent, that all my markers could be seen. Instead it zooms to maximum.
Before updating today everything worked fine. I do not know which kind of debugdata would be helpful for you, please advise, if you need any.
thank you
Comments
Comment #1
peterm95018 commentedI'm seeing the same behavior after I updated this morning.
Peter
Comment #2
peterm95018 commentedI played around with this a bit today.
At line 132 of leaflet_markercluster.drupal.js, this.map.settings.zoom has a value of 18 that I don't see getting set. I created a new view and got the same results of max zoom.
By commenting out line 132, lMap.setZoom(this.map.settings.zoom); I get the behavior I had been getting.
Peter
Comment #3
DerTobi75 commentedCommenting out line 132 also works for me!
Comment #4
nbchip commentedOr u can remove "zoom" setting from your - mymap_leaflet_map_info() settings array
Comment #5
smussbach commentedWorks for me, thank you.
As I like to have solutions on closed reports, here's my definition with assistance of https://drupal.org/node/1858386
Comment #6
int_ua commentedIt's on line 136 in 7.x-1.0-beta1
Comment #7
int_ua commentedsmussbach, why did you mark it as closed? It wasn't fixed AFAIU.
Comment #8
int_ua commentedComment #9
smussbach commentedwell, actually you're right. My custom module according to nbchip did work but is more or less a workaround.
Comment #10
rdeboerIf this is still an issue it's due to zoom being specified in either Leaflet or other module that implements hook_leaflet_map_info().