Google maps native plugin

Has anyone got this working recently?

I used this tutorial but the furthest I got was with ionic-google-maps-starter and I get a blank white screen. I tried several fixes from google but end up breaking them and need to start again.

Any pointers?

Thanks

Super old starter, I don’t think you should uses that any more.

Have a look at these:
https://ionicframework.com/docs/native/google-maps/
https://www.joshmorony.com/integrating-native-google-maps-into-an-ionic-2-application/
https://www.joshmorony.com/ionic-2-how-to-use-google-maps-geolocation-video-tutorial/
https://www.joshmorony.com/creating-an-advanced-google-maps-component-in-ionic-2/

Thanks.

I got it working, I used the article from josh morony

Then implemented this fix found here

Then had to take the imports from the official docs and add them to the home.ts as it was complaining about missing modules on build.
https://ionicframework.com/docs/native/google-maps/

Bit tricky but works like a charm.

1 Like