Skip to content

iamssurya/ngcordova-plugin-googlemaps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Angular Cordova GoogleMaps plugin for iOS and Android

========================== This plugin is based on https://github.com/mapsplugin/cordova-plugin-googlemaps .Please read the Detailed Instructions to install base cordova plugin.

This plugin will not work without base plugin

###Quick install (Base Plugin)

npm (current stable 1.3.9)

$> cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"

Github (current master, potentially unstable)

$> cordova plugin add https://github.com/phonegap-googlemaps-plugin/cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"

###Quick install (Angular Plugin)

$> bower install ngcordova-plugin-googlemaps

If you re-install the plugin, please always remove the plugin first, then remove the SDK

$> cordova plugin rm plugin.google.maps #before 1.4.0
$> cordova plugin rm cordova-plugin-googlemaps #since 1.4+
$> cordova plugin rm com.googlemaps.ios
$> cordova plugin add cordova-plugin-googlemaps --variable API_KEY_FOR_ANDROID="YOUR_ANDROID_API_KEY_IS_HERE" --variable API_KEY_FOR_IOS="YOUR_IOS_API_KEY_IS_HERE"

The SDK-Plugin won't be uninstalled automatically and you will stuck on an old version.

###Quick demo

//Add link to plugin
<script src="bower_components/ngcordova-plugin-googlemaps/dist/ngcordova-plugin-googlemaps.min.js"></script>

// Inject in your angular app.
angular.module('',['gmap']);

About

Angular version of phonegap-plugin-googlemaps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published