Closed rajeshwarpatlolla closed 3 years ago
Gray map means always your API key problem.
In Android, this plugin does *not" use Google Maps JavaScript v3. We use Google Maps SDK for Android
Thanks for the response @wf9a5m75. It's working fine after adding android sdk api to the project in google maps dashboard.
First of all i would like to thank all the contributors, maintainers of this repo. This package is really helpful.
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)Current behavior: The maps are showing properly in web browser using
ionic cordova run browser -l
. But when i run in mobile with debug mode or apk directly installed, it's not showing the maps properly. Except the map i am able to see everything like google credits zoom in, zoom out, my location button etc. It's also giving my current location as well and when i tap on the screen all the related events are also triggered. But the issue is map is not displayed at all.When i inspect the debug apk using chrome inspect tools, i found that the content on the DOM is not rendering.
Expected behavior: Maps should be displayed properly in android as well.
Screen capture or video record:
Related code, data or error log (please format your code or data):
I am waiting till the device is ready
Here is my css
Here is the complete JS code.