movable and interactive map workaround

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
MPW
Posts: 129
Joined: Wed Mar 06, 2013 4:22 pm
Location: Germany

Hi there,

I´ve seen on a post that the integration of a move- and zoomable map is on your agenda.

For now I´m working on a workaround, because I need a movable and zoomable SVG-Map with interactivity (go-to-hotspots).
To build an iframe with another pano-gallery doesn´t help because of the missing hotspots.

First I used a scrollarea for the map, however I couldn´t center the map on start position.

Then I put a SVG-map within a masking container. Zoom in by scaling the svg. Movable by mouse-pressed-elements.

The problem: With the mouse pressing one direction the map is moving an moving and moving. Using the limits under action helps, but lets the map jump first every time when changing the direction.

Here you can find the testdrive: https://www.show360.de/maptest/.

The upper direction selector is with limits, producing jumps of the map when changing direction.
The lower one is without limits, driving the map far away out of sight fine and smoothly.

Any idea how I can improve the movement?
Thank you for any help.

Marcel
Attachments
help_wo_limits.jpg
help_wo_limits.jpg (158.4 KiB) Viewed 10538 times
help_w_limits.jpg
help_w_limits.jpg (158.15 KiB) Viewed 10538 times
Post Reply