-
Notifications
You must be signed in to change notification settings - Fork 916
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
Problem with addMarker() #1730
Comments
i even tried |
Please share your project filea on github. |
I updated ionic-native to 4.2.1 (core and google-maps) and i did more testing :
those 3 functions have addMarkers, the only one that works is the one directly under MAP_READY, not after (i don't know how this is possible) |
Please share your project files on github, not part of code. |
I downgraded the plugin to old commit to make it works again, at least temporary till it's fixed. |
Thank you for preparng. danielsogl/awesome-cordova-plugins#1956 I will check your repo later , but it seems your issue is the bug of the wrapper plugin. |
im now working with an old commit of your plugin https://github.com/mapsplugin/cordova-plugin-googlemaps#5692f3d1b78d7693b0fd01b6ad8f87017c550e45 I even tested with chrome console, |
ok, I will check your repo later. |
Um, it seems the code and the values are correct, but the native Maps API does not plot markers for some reason. I'm inspecting. |
I'm glad to help, this will help me back in my project as well. |
I'm submitting a ... (check one with "x")
[ ] question
[x ] any problem or bug report
[ ] feature request
The plugin version: (check one with "x")
[ x] 2.0-beta3 (github)
[ ] 2.0 (npm)
If you choose 'problem or bug report', please select OS: (check one with "x")
[x ] Android
[ ] iOS
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please show me the package.json"@ionic-native/google-maps": "^4.2.1"
nothing happens, with no error on the console.
same problem, when i called an addMarker after
this.map.animateCamera({ ... }).then( () => this.map.addMarker( .... ) )}
all of this is under
this.map.one(GoogleMapsEvent.MAP_READY)
, i dont know through what's causing the problemThe text was updated successfully, but these errors were encountered: