I hope it returns… or at least give us native mapbox.
The Google Maps JavaScript API works in both Hybrid Mobile Apps and PWAs.
See:
- https://developers.google.com/maps/documentation/javascript/
- https://github.com/SebastianM/angular-google-maps
For example:
Angular Google Maps looks awesome.
You misunderstand. The @ionic-native/google-maps
is still member of the @ionic-native
family.
But the repository is separated.
Because of this, the document is not generated automatically, thus you can not see the name in the list.
You can use @ionic-native/google-maps
as well as you do before.
I guarantee the behavior to work with the latest @ionic-native/core
.
@robinyo
JS API is slow on native app, and it does not work in offline.
You can’t use Ionic to build Native Apps.
You can use Ionic to build Hybrid Mobile Apps (i.e., an app that uses Cordova plugins) and Progressive Web Apps (i.e., an app that doesn’t use Cordova plugins).
I believe all ionic users know about that without gentle guide.
Does this Google maps plugin support capacitor?
I hope it does… Capacitor beta is nearly here.
I want to migrate my projects to capacitor…
No plan for support the capacitor.
Capacitor has a cordova plugin layer… and they’re planning ionic native support.
Please help us using google maps native on capacitor.
The Capacitor team says “the cordova plugin layer does not guarantee the compatibility with actual Cordova, including installation”.
I talked with the team couple of times, but they won’t fix the installation problem. So I won’t support until they fix it.
Too bad. Capacitor and Ionic 4 seem to be much faster than Cordova with Ionic 3.
The Capacitor is even stable version, it’s still beta version.
I don’t want to be at the mercy of the troubles, such as internal implementation changed suddenly.
Agreed. Let’s wait and see what happens in the next few months.
No, it’s old link.
The @ionic-native/google-maps is still member of the @ionic-native/google-maps.
You can use the @ionic-native/google-maps as well ad before.
The only difference is the code of the @ionic-native/google-maps is moved to new repository.
The new document is here.
(2018/10) update:
From cordova-plugin-googlemaps
version 2.4.0, it supports Android
, iOS
and finally Browser
.
You can create your Google Maps app from one code for three platforms.
Of course it works as PWA.
Here is the demo of PWA
https://mapsplugin.github.io/ionic-googlemaps-quickdemo-v4/
@ionic-native/google-maps
works on ionic 3
and ionic 4
.
If you want to use Google Maps in ionic 1
, and ionic 2
, you need to use cordova-plugin-googlemaps
directly.
Unfortunately the plugin does not support Capacitor
yet.