-
-
Notifications
You must be signed in to change notification settings - Fork 856
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
Add CRS.SIMPLE support? #211
Comments
Any progress on this issue? |
It may already be implemented #191 Did somebody check that? |
#191 was closed but if someone would like to implement and test it I'm happy to merge. There should also be an example app added to demonstrate. |
@johnpryan which is the fork to be tested? |
CrsSimple is now part of this package |
it sounds like a good way to implement a custom 2D map with bitmap image and draw maker with pixel (x, y) and is there any demo for CRS.SIMPLE ? |
Looking at the example for the web component and CRS Simple trying to adapt this for Flutter breaks first with the bounds for the image overlay. They have to be in the range of -90 to 90 / -180 to 180 as the latlong class doesn't allow other values. I removed this constraint but the result is not what I would expect. The zoom seems to be broken, I can't see the complete picture. If anybody has a working example with an image and CRS Simple I would be happy :) |
fleaflet/flutter_map#211 を参考に LatLngが-90/90, -180/180で表示してるらしいのでその範囲に画像を重ねる処理で対応
@Dev-Owl
@johnpryan I had problems with the CrsSimple() so I removed it and used the standard crs. because in this way I wasnt able to set the correct display boundaries(swPanBoundary/ nePanBoundary). I think this can be added into the example folder. |
Sometimes, maps do not represent things on the surface of the earth and, as such, do not have a concept of geographical latitude and geographical longitude. Most times this refers to big scanned images, such as game maps. CRS.Simple
The text was updated successfully, but these errors were encountered: