nativescript-google-maps-sdk icon indicating copy to clipboard operation
nativescript-google-maps-sdk copied to clipboard

Markers Randomly Jumping Around (ANDROID BUG ONLY)

Open 18clans opened this issue 5 years ago • 4 comments

What I'm trying to achieve When I favor a marker on Map 1, Map 2 marker with the same ID should be favorited as well. This is working fine on iOS.

What is the bug (Only happens on Android) Have both Map 1 and Map 2 open. Go to either tab and click on a marker to show the "Favor Me" button. If you spam that button, the markers will jump randomly. When the markers are randomly moved, if you scroll the map, everything goes back to normal. If you hide one map and try to spam the favor button, this bug does not happen.

Demo Project: https://github.com/18clans/google-maps-tab-view

NativeScript: 5.3.2 tns-core-modules: 5.3.2 tns-android: 5.3.1 tns-ios: 5.3.1 nativescript-google-maps-sdk: ^2.7.0

When you have both maps opened Marker Randomly Jumping

When you only have one map opened Single Map

18clans avatar Jun 04 '19 15:06 18clans

I found something on Stack Overflow but not for NativeScript.

https://stackoverflow.com/questions/20131387/jumping-markers-on-google-maps

18clans avatar Jun 05 '19 14:06 18clans

Found another interesting article. Looks like this is a Google Maps issue and not the plugin. The plugin will need to update using the latest Google Maps SDK.

https://issuetracker.google.com/issues/35828690

18clans avatar Jun 06 '19 13:06 18clans

@18clans did you ever solve that? we are currently also facing the same issue :(

flodaniel avatar May 25 '20 06:05 flodaniel

@18clans did you ever solve that? we are currently also facing the same issue :(

No, this issue was never resolved. We stopped using NativeScript due to a lot of issues and performance we faced. Since we switched to ReactNative, it's a night and day difference IMO.

18clans avatar May 25 '20 19:05 18clans