fix(plugin): don't bind to name field. Fixes #740

This commit is contained in:
Max Lynch
2016-10-27 12:48:50 -05:00
parent 0669ba5222
commit 71916a85dd
109 changed files with 119 additions and 119 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ export const GoogleMapsAnimation = {
* ```
*/
@Plugin({
name: 'GoogleMap',
pluginName: 'GoogleMap',
pluginRef: 'plugin.google.maps.Map',
plugin: 'cordova-plugin-googlemaps',
repo: 'https://github.com/mapsplugin/cordova-plugin-googlemaps',
@@ -109,7 +109,7 @@ export class GoogleMap {
this._objectInstance = plugin.google.maps.Map.getMap(element, options);
} else {
pluginWarn({
name: 'GoogleMap',
pluginName: 'GoogleMap',
plugin: 'plugin.google.maps.Map'
});
}
@@ -982,7 +982,7 @@ export class Geocoder {
return new Promise<GeocoderResult[]>((resolve, reject) => {
if (!plugin || !plugin.google || !plugin.google.maps || !plugin.google.maps.Geocoder) {
pluginWarn({
name: 'GoogleMap',
pluginName: 'GoogleMap',
plugin: 'plugin.google.maps.Map'
});
reject({ error: 'plugin_not_installed' });