summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2013-01-22 21:06:31 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-27 15:48:25 -0800
commitae64abfbca2eb2c28a3875b1cb8ec098e660729a (patch)
treed07bd291ad6bc45d00de06a67b7202477f484d09 /xslt
parent546fecd850a6e7342a41925b895c1e4275dc7aca (diff)
downloadsubsurface-ae64abfbca2eb2c28a3875b1cb8ec098e660729a.tar.gz
Modify map zoom to keep the point under the mouse cursor constant
The idea is that while zooming the map the point under the mouse would stay as close to constant as possible (given that we use integer coordinates). This version uses some algebra to figure out the correct new parameters for the mercator projection used in osm-gps-map. Occasionally (and we haven't figured out what triggers it) zooming out suddenly resets your position to 0,0. [Dirk Hohndel: switched this to using the correct interface to get the object properties and did some serious whitespace cleanup] Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions