Opened 16 years ago

Closed 16 years ago

#243 closed enhancement (fixed)

mousewheel-zomm (in/out)

Reported by: greq Owned by: mapbender_dev@…
Priority: major Milestone: 2.6 release
Component: user interface Version:
Keywords: Cc:

Description

with this enhancement it is possible to zoom in and out with the mousewheel in the mapframe (like GoogleMaps).

needed JQuery extension:

edited file(s):

  • mapbender/http/php/mod_map1.php

short summary (main function: mousewheelZoom ()):

  • local koordinates and mousewheel-deltas will be used to:
    1. zoom in/out to a point (with the functions: makeClickPos2RealWorldPos, zoom).
    2. map will be translatet, so that the mouse-cursor stays still at the same realworldcoordinate.

Change History (1)

comment:1 by christoph, 16 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.