cordova-plugin-googlemaps: Map Ready is not firing
Hi, I was trying to use this plugin in my cordova app.
map.addEventListener(plugin.google.maps.event.MAP_READY, onMapReady);
MAP_READY is not firing. Do I need to change anything? screen is blank & no error in console.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 17 (9 by maintainers)
I am also facing the same issue. I will provide as much info as I can, as I also have an NDA with my client… Also here is a link to a sample I created with just the index.html. It also shows same behaviour in iOS 10. Repository
OS: iOS 10 Cordova: 8.0.0
I tried the code block from documentation, and it failed to trigger MAP_READY. No map, just white screen.
But if I send the app to the background, and open it again, MAP_READY is triggered! And map is loaded. But I have added animate function, but that is not triggered now.
But if I repeat the same step again, it shows the map zoomed to a wrong location. If i touch and drag the map, then it suddenly shows the actual location.