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 #27

Open
gka opened this issue Jul 24, 2012 · 3 comments
Open

Pan and zoom #27

gka opened this issue Jul 24, 2012 · 3 comments
Labels
Milestone

Comments

@gka
Copy link
Contributor

gka commented Jul 24, 2012

No description provided.

@pirhoo
Copy link

pirhoo commented Feb 2, 2013

Hi Gregor,

I found this jQuery plugin allowing pan and zoom on SVG, through it could interest you:
https://github.com/talos/jquery-svgpan

@gka
Copy link
Contributor Author

gka commented Feb 4, 2013

yes, that's a nice start. however, panning and zooming in kartograph should be implemented using RaphaelJS to ensure that it is working in non-svg browsers too. Also we need to make sure that the line-widths are not scaled.

@bmoore27
Copy link

bmoore27 commented Feb 8, 2013

I used https://github.com/escobar5/raphael-pan-zoom

var panZoom = map.paper.panzoom({ initialZoom: 6, initialPosition: { x: 120, y: 70} });
panZoom.enable();

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

No branches or pull requests

3 participants