Hi there, i would like to know how does the zoom algorithm works. I have to implement it in my own map control and zooming in or out into a point has to be the same as this behavior. Thank you very much! asked 21 Nov '14, 15:52 Fabri SomeoneElse ♦ |
Just zoom into the coordinates of the mouse position? Or is your question about the slippy map tilenames? answered 21 Nov '14, 18:15 scai ♦ |
www.OpenStreetMap.org uses Leaflet to display map tiles and handle events such as zoom (whether via the mousewheel or via a +/- control). The Leaflet source code is available if you want to have a poke around in it to see what it's doing. answered 02 Jan '15, 16:53 SomeoneElse ♦ aseerel4c26 ♦ also see http://openlayers.org
(03 Jan '15, 10:22)
stephan75
|
Which "the zoom algorithm"? Please edit your question.
I ment how do I zoom out or in keeping the zone under the mouse pointer in the same place.
This question is not related to OSM itself. Why don't you check the source code in openLayers or leaflet ?
I did check there, but i couldn't find it.
@Fabri, which software or website do you mean?