Closed cathypark closed 5 years ago
Please share your project files on GitHub
At least, you should use the latest version. https://www.npmjs.com/package/@ionic-native/google-maps
I'm testing in a fresh ionic 4 project and the map is blank. I strictly followed the tutorial but on Android always gets the white screen. It seems to be a problem related to the getDiv function, as shown in the attached figure.
I'm using Ionic 4 Beta and all the libraries in the latest version.
The ionic cordova run browser
mode works fine.
Please share your project files on GitHub.
And don't jump in to another person's issue.
ping
Since there is no response, I close this thread.
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/google-maps": "^4.7.0",Current behavior:
I can't create a Map. I checked all issues related problem(API Key, deviceReady, backgroundColor). My API key has no restraints.
plugin.google.maps.event.MAP_READY
event to work but I still don´t see the map I have tried again without @ionic-native/google-maps but it was still not working properly.Please NOTE attached screen-shot. (div's id is "sft-map-container")
Expected behavior:
A map is properly generated.
Screen capture or video record:
Related code, data or error log (please format your code or data):