The rationale for making the change in Leaflet is to make it so that you can zoom in several levels on a given point without needing to reposition your cursor at each zoom level. For that reason, I prefer the new behavior.
Included in the next set of changes to the map UI is the ability to add a marker to the permalink. It will be positionable via dragging. No URL editing required: http://mapui.apis.dev.openstreetmap.org/ On Sun, Jul 21, 2013 at 9:00 PM, Tom MacWright <t...@macwright.org> wrote: > The relevant change in Leaflet: > https://github.com/Leaflet/Leaflet/pull/1582?source=cc - the new behavior > matches all other map sites and frameworks I can think of, with the > exception of Bing. You can replicate the old behavior by clicking the map > and dragging it to change the center. > > There's no easy way to 'get the old behavior back' without doing a core > patch to Leaflet, and given that this is the expected behavior with a clear > 'other way to do it', I personally don't think it's a high priority to > change. > > > On Sun, Jul 21, 2013 at 11:26 PM, Clay Smalley <claysmal...@gmail.com>wrote: > >> I've noticed the same issue. I liked having an easy way to center the >> map. Is anyone averse to having this changed back? >> On Jul 21, 2013 8:02 PM, "Andrew Errington" <erringt...@gmail.com> >> wrote: >> >>> It used to be that if you double-clicked on the map it would re-centre >>> on the clicked point and zoom in by one level. Now it doesn't. It >>> zooms in, but doesn't re-centre the map. When did this behaviour >>> change? Is it desirable? >>> >>> I don't like it because now I can't centre the map (by >>> double-clicking) and make a markerlink (by editing the permalink >>> lat/lon to mlat/mlon). >>> >>> Best wishes, >>> >>> Andrew >>> >>> _______________________________________________ >>> talk mailing list >>> talk@openstreetmap.org >>> http://lists.openstreetmap.org/listinfo/talk >>> >> >> _______________________________________________ >> talk mailing list >> talk@openstreetmap.org >> http://lists.openstreetmap.org/listinfo/talk >> >> > > _______________________________________________ > talk mailing list > talk@openstreetmap.org > http://lists.openstreetmap.org/listinfo/talk > >
_______________________________________________ talk mailing list talk@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk