-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
transform polygons and polylines to custompaint #693
Comments
Just pondering, what's the use case ? It should be possible, but often the devil is in the detail. |
Assuming you have the original poly that you passed to flutter_map, could you project the latlongs with options.crs.latLngToPoint(latlng, zoom); (may need to dig out the code in map.dart) divide by 2^zoom and then adjust with the min/max bounds of that, to fit in whatever canvas you are creating ? |
i already tried this one but its showing blank i used this method |
ok, so start with a test list of Offsets, can you show the code you are trying to get it displayed, that may give some clues? |
sorry, I already deleted my code for that but it's based on the same method u had told me |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days. |
This issue was closed because it has been stalled for 5 days with no activity. |
is there any way to transform a polygon to a path or custom paint and draw it inside any widget
something like that
The text was updated successfully, but these errors were encountered: