Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pan and zoom #54

Open
pdring opened this issue Nov 20, 2017 · 5 comments
Open

Pan and zoom #54

pdring opened this issue Nov 20, 2017 · 5 comments

Comments

@pdring
Copy link

pdring commented Nov 20, 2017

Hi,

Is there a way to add pan and zoom functionality to the map? It would be useful to be able to define a set area for a large plan and be able to pan and zoom within it.

Thanks.

@jraller
Copy link
Member

jraller commented Nov 20, 2017

Did you set 'pinchToZoom': true in the config and include jquery.panzoom?

@pdring
Copy link
Author

pdring commented Nov 21, 2017

Hi,

I have added 'pinchToZoom': true and included jquery.panzoom (see attached).

However I don't see any reference to panzoom in the Wayfinding code. I'm currently using Wayfinding v0.2.0.

screen shot 2017-11-21 at 14 24 03
screen shot 2017-11-21 at 14 24 16

@jraller
Copy link
Member

jraller commented Nov 21, 2017

Do you mean version v2.0.0?

@pdring
Copy link
Author

pdring commented Nov 21, 2017 via email

@smarkdurbin
Copy link

I set pinchToZoom to true and included a script tag for the latest version of jquery.panzoom--does not allow panning/zooming with click or touch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants