@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:
ionic state reset
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"
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