cordova-plugin-armsoft-googlemaps
v1.3.0
Published
Google Maps native SDK for Android and iOS
Downloads
5
Readme
phonegap-googlemaps-plugin
This plugin helps you leverage Google Maps Android SDK v2 and Google Maps SDK for iOS with your JavaScript. PhoneGap Build and Apache Cordova are supported.
Note: The pluglin is a fork of Nipher version forked from wf9a5m75
Installation
Cordova CLI
Use the following command to install from npmjs repository (requires cordova 5.0+)
cordova plugin cordova-plugin-armsoft-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_API_KEY_FOR_ANDROID" --variable API_KEY_FOR_IOS="YOUR_API_KEY_FOR_IOS"
To fetch the latest version from GitHub, use
cordova plugin add https://github.com/roberthovhannisyan/phonegap-googlemaps-plugin --variable API_KEY_FOR_ANDROID="YOUR_API_KEY_FOR_ANDROID" --variable API_KEY_FOR_IOS="YOUR_API_KEY_FOR_IOS"
PhoneGap Build
Add this to your config.xml:
<gap:plugin name="cordova-plugin-armsoft-googlemaps" source="npm">
<param name="API_KEY_FOR_ANDROID" value="YOUR_API_KEY_FOR_ANDROID" />
<param name="API_KEY_FOR_IOS" value="YOUR_API_KEY_FOR_IOS" />
</gap:plugin>
API Keys
To get your iOS API key, follow Step 5 of this guide To configure Android, follow this guide
Documentation
Full documentation for the plugin can be found on wf9a5m75/phonegap-googlemaps-plugin Wiki Pages