This project is an example how to use @ionic-native/google-maps
as provider
.
In this example, the app has a map in two pages Home
and Contact
.
The MapProvider
keeps only one map instance, and reuse it.
$> git clone https://github.com/mapsplugin/ionic-map-provider-example
$> cd ionic-map-provider-example
// Please replace with your API key in the below two files:
$> vim config.xml
$> vim package.json
$> npm i
$> ionic cordova run android