Opened 16 years ago
Closed 16 years ago
#243 closed enhancement (fixed)
mousewheel-zomm (in/out)
Reported by: | greq | Owned by: | |
---|---|---|---|
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:
- Mouse Wheel Extension 3.0.0
- (website: http://plugins.jquery.com/project/mousewheel)
- (downloadlink: http://plugins.jquery.com/files/mousewheel_3.0.zip)
edited file(s):
- mapbender/http/php/mod_map1.php
short summary (main function: mousewheelZoom ()):
- local koordinates and mousewheel-deltas will be used to:
- zoom in/out to a point (with the functions: makeClickPos2RealWorldPos, zoom).
- map will be translatet, so that the mouse-cursor stays still at the same realworldcoordinate.
Note:
See TracTickets
for help on using tickets.