Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Cordova native google maps plugin (plugin.google.maps) not working well with Ionic sidemenu

$
0
0

@chicheongweng wrote:

Has anyone had any luck in integrating plugin.googlemaps to Ionic sidemenu template? I can get the Googlemap rendered but it only occupies half of the screen (see the screen capture https://github.com/chicheongweng/ionic-sidemenu-googlemaplugin/blob/master/IonicSideMenuGoogleMap.png).

The plugin works well with Ionic tabs template though.

I have checked in my code to https://github.com/chicheongweng/ionic-sidemenu-googlemaplugin

To reproduce the problem, run the below three commands:

  1. ionic state reset

  2. cordova plugin add https://github.com/phonegap-googlemaps-plugin/cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="AIzaSyDnHB_p8JYAPlR5feITA6FUsbx8VU33wl8" --variable API_KEY_FOR_IOS="AIzaSyBVNNVWf1BzIRqJEYM2d0Nihfb3wR8C8Ek"

  3. ionic run -l -c -s

I use directive (www/js/directive.js) to display the map.

I would appreciate it if anyone could point to me what the issue is.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>