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

Just a question of size #9

Open
lpgpd7m opened this issue Jul 25, 2016 · 2 comments
Open

Just a question of size #9

lpgpd7m opened this issue Jul 25, 2016 · 2 comments

Comments

@lpgpd7m
Copy link

lpgpd7m commented Jul 25, 2016

Hello Mr Bertin,
Is it possible to deal with layers of the same object but with different sizes? In other words, is it possible to switch from a full size image to a smaller one on a same map? The smaller one would for example be a processed picture of an object of interest..
Thank you for your response,
David

@ebertin
Copy link
Member

ebertin commented Jul 26, 2016

Yes you can switch from one layer to another, even if they don't share the same projection or pixel grid size. During the switch the world coordinates at the center of the screen are preserved.
However VisiOmatic V2 still lacks a proper dialog to manage that switch (contributions welcome!).
You may also synchronize several maps together as in this V1 example. I haven't tested it but it should still work with V2.
Best wishes

@lpgpd7m
Copy link
Author

lpgpd7m commented Jul 27, 2016

Thanks for your prompt answer. I did the test with the extra maps and they are indeed well synchronized although they have a different pixel grid size. Then, I guess it should not be so difficult to have the same possibility on the main map.. Do you confirm that one needs to change the visiomatic source code to allow this option (and not only change one of the options of the L.tileLayer.iip in the php file)? If so, could you please precise us which javascript should be modified? Thanks in advance for your help,
David

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