Map Ready is not firing
See original GitHub issueHi, 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.
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Leaflet map-event 'load' does not fire - Stack Overflow
I am trying to call a function after a leaflet map has successfully loaded, working with leaflet 1.0.1. Regarding to the docs there...
Read more >React-Native-Maps: "onmapready" not firing unless I save my ...
The issue is that onMapReady doesn't fire whenever my map is loaded, until I save the actual component, even if there aren't any...
Read more >Overview | Maps JavaScript API - Google Developers
Get started with the Google Maps JavaScript API. View a simple example, learn the concepts, and create custom maps for your site.
Read more >MapView | API Reference | ArcGIS Maps SDK for JavaScript ...
A MapView may not be immediately ready for display after it has been constructed. For example, map data may need to be loaded...
Read more >How to Fix Google Maps Not Working? [2022 Guide] - AirDroid
First, close the Map application in the multi-window section and restart Google Maps. If that doesn't work, try restarting your phone. You can ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
MAP_READY is not firing. Do I need to do? screen is blank & no error in console. I am using the last version of plugin,
Show me the position 37.4219983,-122.084 and the message alert(‘Before-Map-Ready’) correctly, but no the message alert(‘MAP-READY-OK’); please help me with this.
index.html
Java JDK: installed 1.8.0 Android SDK: installed true Android target: installed android-30,android-29,android-28,android-27,android-26,android-25,android-24,android-23,android-22,android-21,android-20,android-19,android-18,android-17,android-16,android-15,android-14,android-13,android-12,android-11,android-10,android-9,android-8,android-7 Gradle: installed C:\Gradle\gradle-6.6\bin\gradle.BAT
Cordova Packages:
Project Installed Platforms:
Project Installed Plugins:
config.xml PATH: C:\Hunter\Projects\APPS_ANDROID\BlueHawk1\config.xml
config.xml PATH: C:\Hunter\Projects\APPS_ANDROID\BlueHawk1\platforms\android\app\src\main\res\xml\config.xml
config.xml PATH: C:\Hunter\Projects\APPS_ANDROID\BlueHawk1\node_modules\cordova-android\bin\templates\project\res\xml\config.xml