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
Missing support for Non-Geographical Maps #311
Comments
Sorry I don't get what is your issue? |
The Map component properties does not include csr. Happy to put together a pull request once I've got this working in my project.
|
These are the props handled by React-Leaflet itself, as there can be additional logic related to them, but any other prop is passed to the |
In that case that makes a lot of sense. Thank you for your feedback. I'll close this. |
@awjreynolds how did you got that working? If I try:
the map is shown as gray and I get a lot of errors in console:
|
I used the latest example, and it worked like a charm:
Thanks ! |
@dragGH102 I am having a very similar problem as you mentioned. Did you mange to resolve the issue? If you did, please kindly help me a bit here. |
Leaflet supports non-geographical maps
http://leafletjs.com/examples/crs-simple/crs-simple.html
I've been able to get this working in react-leaflet but had to import Leaflet to get at the L.CRS.Simple to handle map manipulation.
Not sure if this is just a case of a missing example and this is the way it is supposed to work.
The text was updated successfully, but these errors were encountered: