I always get undefined variable (plugin). Example without ionic (angular) part is working great.
Adding AppCtrl.controller('indexCtrl', function($scope, plugin) { won’t fix problem.
How to do it?
I’m having the same problem. The plugin works on android, but not on IOS.
On IOS it keeps saying that the plugin is undefined. On android there is no problem, the map loads.
Tried everything:
phonegap-googlemaps-plugin is updated.
As of v1.1.3, it should work with Ionic Framework, but there are some points you need to take care. - Can not follow the scroll:
Ionic Framework uses css transition for scrolling,
the plugin can not follow the position of the map div.
Use map.refreshLayout() to re-position the map.
- Can not hide the map automatically when the current tab has changed:
The plugin overlays the map above the HTML layer,
the map always displays in front of HTML.
I have been struggling with the web version of google maps for a month, it’s slow, need to handle async stuff, and the performance is really really bad on a mobile device.
Playing with your plugin now in my ionic app and happy so far.
Indeed, good stuff! Has anybody figured out how to deal with covering up other HTML content–It’s covering up my ion-footer-div? I’ve currently got the height of my map_canvas set to 100vh, which unfortunately isn’t respecting its containing div, ion-content.