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
BUG: google_maps_flutter_web - Polylines not showing up #65152
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Sorry for the confusion - I meant POLYLINES are not showing up not MARKERS. My apologies |
@darshankawar @ditman i updated the question |
Polylines should be showing up, check this sample. What polyline are you trying to plot? |
I am basically trying to add one straight polyline between two latlngs . |
I have shared my code in my original question |
I'll take a look, this should work, but the example seems to be adding polylines after the fact, instead of adding them on the initial payload of the map. I'll make sure that works. |
Thanks . Please update me on the progress for this @ditman |
Taking a look right now. |
I've posted a PR with a fix for this issue (linked right above this message) |
* Convert initial Polyline/Polygon points correctly. * Convert Flutter Color to CSS correctly. Fixes flutter/flutter#65152 Fixes flutter/flutter#67032
The fix for this has been published in google_maps_flutter_web v0.1.0+3 |
* Convert initial Polyline/Polygon points correctly. * Convert Flutter Color to CSS correctly. Fixes flutter/flutter#65152 Fixes flutter/flutter#67032
* Convert initial Polyline/Polygon points correctly. * Convert Flutter Color to CSS correctly. Fixes flutter/flutter#65152 Fixes flutter/flutter#67032
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
* Convert initial Polyline/Polygon points correctly. * Convert Flutter Color to CSS correctly. Fixes flutter/flutter#65152 Fixes flutter/flutter#67032
It seems POLYLINES are not supported. I can see it on Mobile but not on the web.
Here is what my code looks like:
The text was updated successfully, but these errors were encountered: