-
-
Notifications
You must be signed in to change notification settings - Fork 859
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
Support custom CRS #529
Support custom CRS #529
Conversation
The only problem occurs if you try to over zoom / over unzoom, but the app doesn't crash or there isn't any flutter red error screen, just your console is being flooded 😄 You cannot over zoom via double taps only with double finger scale. I think this problem shouldn't be fixed on this level because I assume Over unzoom:
Over zoom:
|
This looks good to me, ready to merge? |
Yes 😃 Just take a test ride with mentioned review and use zoom / scalelayer plugins. Edit:
And go to zoombuttons_plugin_option.dart Sometimes as double throws exception even at ZoomButtonsPlugins page: |
Forget about zoom problems this PR resolves another problem. So yes I am ready to merge. |
* master: (73 commits) 去掉不要的 Update CHANGELOG.md (fleaflet#511) Proj4dart update (fleaflet#541) Support custom CRS (fleaflet#529) docs(readme): add details about open street map provider (fleaflet#495) Wms support. (fleaflet#500) 0.8.2 release polyline with gradient (fleaflet#452) clean up from fleaflet#487 0.8.1 release Zoombutton plugin (fleaflet#487) dartfmt 0.8.0 release (Flutter 1.12) Use Wrap for marker_anchor sample Polygon culling (fleaflet#449) Tidyup (fleaflet#469) Update build files from fleaflet#478 upgrade flutter version, support Flutter 1.12 Update README.md (fleaflet#465) add opacity option to tile layers (fleaflet#453) ... # Conflicts: # example/android/app/build.gradle # example/android/app/src/debug/AndroidManifest.xml # example/android/app/src/main/AndroidManifest.xml # example/android/app/src/profile/AndroidManifest.xml # example/android/build.gradle # example/android/gradle.properties # example/ios/Runner.xcodeproj/project.pbxproj # example/lib/pages/home.dart # example/web/index.html # lib/flutter_map.dart # lib/src/geo/crs/crs.dart # lib/src/layer/overlay_image_layer.dart # lib/src/layer/tile_layer.dart # lib/src/layer/tile_provider/mbtiles_image_provider.dart # lib/src/map/flutter_map_state.dart # pubspec.yaml
Hello guys, me and @fegyi001 made avaible to use custom CRS in this project with help of proj4dart project (we are the authors of it).
Proj4Crs
andProj4Projection
classes based on Proj4Leaflet project and it has BSD 2-Clause "Simplified" License so we need to make sure we can use their codebase.We also added some support for multiple origins based on this commit (which is still not reviewed but I tested this feature on this map and the map isn't bouncing unlike in Leaflet's map 👌).
We made an example page which uses EPSG:3413 crs.
Closes #514