mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
fix plugin undefined, closes #185
This commit is contained in:
parent
09e5734720
commit
a9604c3bb9
@ -9,21 +9,29 @@ declare var plugin: any;
|
|||||||
* You can listen to these events where appropriate
|
* You can listen to these events where appropriate
|
||||||
*/
|
*/
|
||||||
export const GoogleMapsEvent = {
|
export const GoogleMapsEvent = {
|
||||||
MAP_READY: plugin.google.maps.event.MAP_READY,
|
MAP_CLICK: 'click',
|
||||||
MAP_CLICK: plugin.google.maps.event.MAP_CLICK,
|
MAP_LONG_CLICK: 'long_click',
|
||||||
MAP_LONG_CLICK: plugin.google.maps.event.MAP_LONG_CLICK,
|
MY_LOCATION_CHANGE: 'my_location_change',
|
||||||
MY_LOCATION_BUTTON_CLICK: plugin.google.maps.event.MY_LOCATION_BUTTON_CLICK,
|
MY_LOCATION_BUTTON_CLICK: 'my_location_button_click',
|
||||||
CAMERA_CHANGE: plugin.google.maps.event.CAMERA_CHANGE,
|
INDOOR_BUILDING_FOCUSED: 'indoor_building_focused',
|
||||||
CAMERA_IDLE: plugin.google.maps.event.CAMERA_IDLE,
|
INDOOR_LEVEL_ACTIVATED: 'indoor_level_activated',
|
||||||
MAP_LOADED: plugin.google.maps.event.MAP_LOADED,
|
CAMERA_CHANGE: 'camera_change',
|
||||||
MAP_WILL_MOVE: plugin.google.maps.event.MAP_WILL_MOVE,
|
CAMERA_IDLE: 'camera_idle',
|
||||||
MAP_CLOSE: plugin.google.maps.event.MAP_CLOSE,
|
MAP_READY: 'map_ready',
|
||||||
MARKER_CLICK: plugin.google.maps.event.MARKER_CLICK,
|
MAP_LOADED: 'map_loaded',
|
||||||
INFO_CLICK: plugin.google.maps.event.INFO_CLICK,
|
MAP_WILL_MOVE: 'will_move',
|
||||||
MARKER_DRAG: plugin.google.maps.event.MARKER_DRAG,
|
MAP_CLOSE: 'map_close',
|
||||||
MARKER_DRAG_START: plugin.google.maps.event.MARKER_DRAG_START,
|
MARKER_CLICK: 'click',
|
||||||
MARKER_DRAG_END: plugin.google.maps.event.MARKER_DRAG_END,
|
OVERLAY_CLICK: 'overlay_click',
|
||||||
OVERLAY_CLICK: plugin.google.maps.event.OVERLAY_CLICK
|
INFO_CLICK: 'info_click',
|
||||||
|
MARKER_DRAG: 'drag',
|
||||||
|
MARKER_DRAG_START: 'drag_start',
|
||||||
|
MARKER_DRAG_END: 'drag_end'
|
||||||
|
};
|
||||||
|
|
||||||
|
export const GoogleMapsAnimation = {
|
||||||
|
BOUNCE: 'BOUNCE',
|
||||||
|
DROP: 'DROP'
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* @name Google Maps
|
* @name Google Maps
|
||||||
|
Loading…
Reference in New Issue
Block a user