-
-
Notifications
You must be signed in to change notification settings - Fork 868
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
When the anchor point is out of bounds, the whole marker widget disappears #230
Comments
I had a chance to experience this issue in a real device using hand gestures instead of the mouse and it really bothers me alot to see a bunch of disappearing markers on the screen. Very buggy feeling. I hope there is already a solution or a quick fix. The reason I switched from flutter google maps to flutter maps and mapbox was mainly the power of using custom widget markers(many thanks). And i assume most people will use markers that has a good amount of width like the ones i have instead of default location markers. |
I think this is an easy fix, thanks for the feedback. |
@johnpryan John, were you able to look into this problem? It would be great to have that working:) |
@johnpryan Sorry for reminding. I am sure you are very busy. I am reminding again since you said this requires an easy fix. I want my big markers not to disappear:D |
@johnpryan Do you think wrapping |
I have not found time to think about the approach. If you have any ideas I would be happy to review a pull request. |
Unfortunately all the ideas I have involve higher level solutions instead of deeper level ones. So more like workarounds. Which build function is responsible for drawing markers? Can you send a link for the exact line? Also I wonder how a similar situation with |
I found the place: marker_layer.dart
Instead of using map.bounds in If you can tell me how to extend a |
@johnpryan Also in addition to new mapBounds, I believe that we might need to update the
with Stacks property |
fixed by #313 |
@johnpryan @lpongetti I am using flutter_map 0.5.4 with Flutter 1.5 stable. And this fix #313 does not seem to accomplish its duty. |
I upgraded to 0.5.5+2 and it works now:)thanks guys. In pub.dev it says under 0.5.4 that marker disappearing is resolved which was misleading. we need to change that to 0.5.5+2 |
You can see from the second image that left marker is lost with the slightest pan. The moment the little triangle of marker leaves out of any side of the screen, the whole widget disappears. Is there a way to keep it on the map like a safe area or setting a margin for marker?
The text was updated successfully, but these errors were encountered: