cordova-plugin-googlemaps
cordova-plugin-googlemaps copied to clipboard
Clean project cordova 11, only gray background no map loaded inside div
I'm submitting a ... (check one with "x")
- [ ] question
- [x] any problem or bug report
OS: (check one with "x")
- [x] Android
- [ ] iOS
- [ ] Browser
cordova information: (run $> cordova plugin list
)
cordova version 11.0.0
android platform 10.1.2
cordova-androidx-build 1.0.4 "cordova-androidx-build"
cordova-plugin-googlemaps 2.8.0-20200709-2008 "cordova-plugin-googlemaps"
Current behavior:
When new project is created via the hello world page:
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.6.0/hello-world/README.md
You get initially:
Then when i found out that you need to install plugin via:
cordova plugin add https://github.com/mapsplugin/cordova-plugin-googlemaps/tree/multiple_maps
And follow the hello world page you get and nothing more.
Expected behavior: a functional map when following the hello world page and no error's in a clean project
Related code, data or error log (please format your code or data):
No related code, data or logging to be found:
I'm trying to run the plugin with Android@11 but i couldn't do it , i tested many branches without any luck ..
Hi @fradali, we use this plugin in production in our app and we are maintaining it (only bug fixes though).
You can try it out by adding it (current tag is 2.7.1.4
):
cordova plugin add git+https://github.com/4sh/squashed-cordova-plugin-googlemaps.git#2.7.1.4
We have tested it against iOS and several Android devices. In addition, we squashed all history to a single commit to improve download time (divided by 30) when installing the plugin.
@mcastets Thanks a lot The map is working fine without any issues with cordova 11 , tested on Android device (android 13).