@chacabuk/ionic-native-google-maps
TypeScript icon, indicating that this package has built-in type declarations

6.0.1 • Public • Published

@chacabuk/ionic-native-google-maps

FORK

@ionic-native/google-maps plugin is a wrapper plugin for cordova-plugin-googlemaps for Ionic framework.

Ionic Native wraps plugin callbacks in a Promise or Observable, providing a common interface for all plugins and making it easy to use plugins with Angular change detection.


Installation

First of all, you need to generate API keys for Google Maps APIs.

Second, run following command to install @chacabuk/ionic-native-core and @chacabuk/ionic-native-google-maps plugins in your project.

npm install @chacabuk/ionic-native-core @chacabuk/ionic-native-google-maps

ionic cordova plugin add https://github.com/TSFArg/cordova-plugin-googlemaps#multiple_maps

Third, update config.xml with your API keys.

<widget ...>
  ...
  <preference name="GOOGLE_MAPS_ANDROID_API_KEY" value="(api key)" />
  <preference name="GOOGLE_MAPS_IOS_API_KEY" value="(api key)" />
  ...
</widget>

Documentation

For the full Ionic Native documentation, please checkout this page.

Also there are documents/demos for your help:

Demo


Troubles?

Before asking your trouble, please check the trouble shooting guides.

If you can't solve your problem, please report to ionic-native-google-maps repository.

Readme

Keywords

none

Package Sidebar

Install

npm i @chacabuk/ionic-native-google-maps

Weekly Downloads

0

Version

6.0.1

License

MIT

Unpacked Size

905 kB

Total Files

9

Last publish

Collaborators

  • chacabuk