Skip to content

Commit

Permalink
feat(polygons): clickable polygons (#79)
Browse files Browse the repository at this point in the history
* add some wip code

* tidy up and consolidate events into an exportable object
  • Loading branch information
tomtomau authored and Vheissu committed Oct 10, 2017
1 parent 0aaa3b8 commit 981ed61
Show file tree
Hide file tree
Showing 16 changed files with 465 additions and 428 deletions.
18 changes: 18 additions & 0 deletions dist/amd/google-maps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ import { BindingEngine } from 'aurelia-binding';
import { EventAggregator } from 'aurelia-event-aggregator';
import { Configure } from './configure';
import { GoogleMapsAPI } from './google-maps-api';
export declare class Events {
static BOUNDSCHANGED: string;
static CLICK: string;
static INFOWINDOWDOMREADY: string;
static MARKERCLICK: string;
static MARKERMOUSEOVER: string;
static MARKERMOUSEOUT: string;
static POLYGONCLICK: string;
static POLYGONCLICKEVENT: string;
static APILOADED: string;
static LOCATIONADDED: string;
static OVERLAYCOMPLETE: string;
static MAPCLICK: string;
static INFOWINDOWSHOW: string;
static MARKERRENDERED: string;
static MAPOVERLAYCOMPLETE: string;
}
export interface Marker {
icon?: string;
label?: string;
Expand Down Expand Up @@ -33,6 +50,7 @@ export declare class GoogleMaps {
disableDefaultUi: boolean;
markers: any;
autoUpdateBounds: boolean;
autoInfoWindow: boolean;
mapType: string;
options: {};
mapLoaded: any;
Expand Down
132 changes: 61 additions & 71 deletions dist/amd/google-maps.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/google-maps.js.map

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions dist/commonjs/google-maps.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@ import { BindingEngine } from 'aurelia-binding';
import { EventAggregator } from 'aurelia-event-aggregator';
import { Configure } from './configure';
import { GoogleMapsAPI } from './google-maps-api';
export declare class Events {
static BOUNDSCHANGED: string;
static CLICK: string;
static INFOWINDOWDOMREADY: string;
static MARKERCLICK: string;
static MARKERMOUSEOVER: string;
static MARKERMOUSEOUT: string;
static POLYGONCLICK: string;
static POLYGONCLICKEVENT: string;
static APILOADED: string;
static LOCATIONADDED: string;
static OVERLAYCOMPLETE: string;
static MAPCLICK: string;
static INFOWINDOWSHOW: string;
static MARKERRENDERED: string;
static MAPOVERLAYCOMPLETE: string;
}
export interface Marker {
icon?: string;
label?: string;
Expand Down Expand Up @@ -33,6 +50,7 @@ export declare class GoogleMaps {
disableDefaultUi: boolean;
markers: any;
autoUpdateBounds: boolean;
autoInfoWindow: boolean;
mapType: string;
options: {};
mapLoaded: any;
Expand Down
Loading

0 comments on commit 981ed61

Please sign in to comment.