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

Use with CRS.Simple coordinate system #35

Closed
janzikmund opened this issue May 21, 2019 · 3 comments
Closed

Use with CRS.Simple coordinate system #35

janzikmund opened this issue May 21, 2019 · 3 comments

Comments

@janzikmund
Copy link

janzikmund commented May 21, 2019

I want to use Velocity with Leaflet's Custom Coordinate Reference System, but even though something shows up, the results look far away from what they should, see a JS Fiddle of how far I got.

Basically I made a 10x10 Velocity grid, and also use a 1-10 x 1-10 custom coordinates grid in Leaflet. The biggest issues I see are:

  • speed of particles is inverse to zoom, so the more I zoom in, the slower they become. Imo their speed should stay constant or become faster
  • for some reason they only move vertically, but the dataset is taken from sample Wind GBR where they also move horizontally so not sure why I don't see it?

Basically I am wondering - is Velocity able to work with Simple Custom Reference System at all through supplying matching dataset JSON and tweaking its settings, or does it require basic Earth Map only? Thanks a lot

@gee1k
Copy link

gee1k commented Sep 7, 2019

I also encountered the same problem. Is there a solution?

@zjfcool
Copy link

zjfcool commented Sep 30, 2019

Me too

@danwild
Copy link
Contributor

danwild commented Mar 26, 2020

CRS is now inherited from leaflet map options

@danwild danwild closed this as completed Mar 26, 2020
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

4 participants