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

Paths outside paper's limits #18

Open
Fufusulier opened this issue May 29, 2014 · 0 comments
Open

Paths outside paper's limits #18

Fufusulier opened this issue May 29, 2014 · 0 comments

Comments

@Fufusulier
Copy link

Hello,
I'm having an issue using this library when the paths are outside the paper's size ( x < 0, x > paper.width, y < 0, y > paper.width ). I'm drawing states and airports and the view box used to display all of them is quite large:
var box = {
x: 942100.7078883117,
y: -5414446.826592057,
width: 6794177.096055372,
height: 4472720.386593419
} ;

I don't know wheither the problem occurs because I'm using the library in a wrong way or not. I have tried to adapt the code but I can't have the behavior I want. The modified file is js/raphael.pan-zoom.custom.js.

My project is available at https://www.dropbox.com/s/56itwkh2b8pse9t/raphael-map-v1.zip. It needs to run on a web server because it loads local files. File to launch: lssip_test.html

Could you have a look?
Thank you.

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

1 participant