1.2.5 • Published 9 years ago

am.armsoft.plugins.googlemaps v1.2.5

Weekly downloads
-
License
Apache 2.0
Repository
-
Last release
9 years ago

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 am.armsoft.plugin.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="am.armsoft.plugins.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