Closed cromdev closed 5 years ago
Unfortunately app created based on this tutorial behaves exactly same as my demo app - works fine in browser but doesn't show map on android emulator nor device.
Thanks for tutorial link though, gives wider view for other features.
If you have repo of working sample based on this tutorial (with "@angular/common": "~7.1.4"
in package.json), please share.
I confirmed there is no problem if you install cordova-plugin-googlemaps
from multiple_maps.
Problem solved, I can confirm on my side. Works perfectly with multiple_maps
branch
Thanks for help!
I'm submitting a ... (check one with "x")
If you choose 'problem or bug report', please select OS: (check one with "x")
cordova information: (run
$> cordova plugin list
)If you use
@ionic-native/google-maps
, please tell the package.json (only@ionic-native/core
and@ionic-native/google-maps
are fine mostly) "@ionic-native/core": "5.0.0-beta.22", "@ionic-native/google-maps": "5.0.0-beta.22",Current behavior: After running
ionic cordova run android
(using either emulator or real device) it launches app correctly, but map isn't visible in designated div. No errors visible in console, nor while building. Other actions, likeGoogleMaps.getMyLocation()
, work fine (it displays current location in console on button tap). Browser environment works fine. iOS environment not tested.Expected behavior: Map rendered correctly in designated div.
Related code, data or error log (please format your code or data): https://github.com/cromdev/ionic-native-google-maps-issue-1 GoogleMaps API key not included in repo