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

Programatically zoom #56

Open
pdring opened this issue Dec 7, 2017 · 2 comments
Open

Programatically zoom #56

pdring opened this issue Dec 7, 2017 · 2 comments

Comments

@pdring
Copy link

pdring commented Dec 7, 2017

Hi,

Is there a way to use the existing functions to set up a simple script that allows a user to specify a single room to zoom in on without a route?

I have a very large map with about 800 individual rooms and it would be great :)

Thanks.

@jraller
Copy link
Member

jraller commented Dec 7, 2017

If all the rooms are similar in size it might be possible, but the current data structure has no idea about the size of destinations as it sees them only as one or more endpoints. This would be a good feature for the next time I rewrite.

@pdring
Copy link
Author

pdring commented Dec 7, 2017

Hi,

Thanks for your quick reply! All of my rooms are the same size and they all have doors. Perhaps I could zoom in on a door handler?

By the way, I managed to import jquery.panzoom within an Ionic application, but there is a lot of lag when I zoom or pan. I have the impression that the code is reloaded to a certain point each time panzoom is called. I wonder if you have encountered this issue.

Thanks.

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

2 participants