# Google Maps using Capacitor

**URL:** <https://forum.ionicframework.com/t/google-maps-using-capacitor/198869>\
**Category:** Capacitor\
**Created:** [October 31, 2020, 9:42am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869 "2020-10-31T09:42:02Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahjain](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@rahjain](https://forum.ionicframework.com/u/rahjain)\
**Post date:** [October 31, 2020, 9:42am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/1 "2020-10-31T09:42:02Z")

</div>

Hello all,

Is it possible to use Google Maps in ionic 4 with Capacitor?  
Can you please share any doc?

Thanks,  
Rahul

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [October 31, 2020, 9:56am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/2 "2020-10-31T09:56:12Z")

</div>

The most used Cordova Plugin is [this one](https://github.com/mapsplugin/cordova-plugin-googlemaps). It already works on Android with Capacitor, but not iOS yet. But Ionic offically supported the plan to do so and paid the Plugin Author. You can read updates here: [https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2781](https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/2781)

---

<div class="post-metadata">

**Author:** ![rahjain](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@rahjain](https://forum.ionicframework.com/u/rahjain)\
**Post date:** [October 31, 2020, 10:13am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/3 "2020-10-31T10:13:48Z")

</div>

But this seems cordova but my application is using capacitor, i don’t have config.xml 😑  
Is there any way or example to use this Cordova plugin with my capacitor app?

---

<div class="post-metadata">

**Author:** ![rahjain](https://avatars.discourse-cdn.com/v4/letter/r/e274bd/32.png) [@rahjain](https://forum.ionicframework.com/u/rahjain)\
**Post date:** [October 31, 2020, 10:38am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/4 "2020-10-31T10:38:41Z")

</div>

This one worked for me.  
[https://medium.com/ramsatt/ionic-4-google-map-part-1-simple-map-d0e1a9cfb078](https://medium.com/ramsatt/ionic-4-google-map-part-1-simple-map-d0e1a9cfb078)

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [October 31, 2020, 10:46am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/5 "2020-10-31T10:46:10Z")

</div>

You can use Cordova Plugins in Capacitor, read what i saud above

---

<div class="post-metadata">

**Author:** ![EinfachHans](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/einfachhans/32/130917_2.png) [@EinfachHans](https://forum.ionicframework.com/u/EinfachHans)\
**Post date:** [October 31, 2020, 10:47am UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/6 "2020-10-31T10:47:33Z")

</div>

i would definitely not use js google map in a mobile app

---

<div class="post-metadata">

**Author:** ![nickbrook](https://avatars.discourse-cdn.com/v4/letter/n/db5fbb/32.png) [@nickbrook](https://forum.ionicframework.com/u/nickbrook)\
**Post date:** [January 15, 2021, 5:07pm UTC](https://forum.ionicframework.com/t/google-maps-using-capacitor/198869/7 "2021-01-15T17:07:24Z")

</div>

I’m also trying to use Google Maps inside a Capacitor project. It looks like it’s not possible? Certainly all the example code is for v4. I’m also a bit concerned about the comments that imply the plugin doesn’t work in iOS, which rather defeats the purpose of using a x-platform framework?

Has anyone else had any success using these native plugins on a modern Ionic project?
