Skip to content

Commit 981ed61

Browse files
tomtomauVheissu
authored andcommitted
feat(polygons): clickable polygons (#79)
* add some wip code * tidy up and consolidate events into an exportable object
1 parent 0aaa3b8 commit 981ed61

16 files changed

+465
-428
lines changed

dist/amd/google-maps.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ import { BindingEngine } from 'aurelia-binding';
33
import { EventAggregator } from 'aurelia-event-aggregator';
44
import { Configure } from './configure';
55
import { GoogleMapsAPI } from './google-maps-api';
6+
export declare class Events {
7+
static BOUNDSCHANGED: string;
8+
static CLICK: string;
9+
static INFOWINDOWDOMREADY: string;
10+
static MARKERCLICK: string;
11+
static MARKERMOUSEOVER: string;
12+
static MARKERMOUSEOUT: string;
13+
static POLYGONCLICK: string;
14+
static POLYGONCLICKEVENT: string;
15+
static APILOADED: string;
16+
static LOCATIONADDED: string;
17+
static OVERLAYCOMPLETE: string;
18+
static MAPCLICK: string;
19+
static INFOWINDOWSHOW: string;
20+
static MARKERRENDERED: string;
21+
static MAPOVERLAYCOMPLETE: string;
22+
}
623
export interface Marker {
724
icon?: string;
825
label?: string;
@@ -33,6 +50,7 @@ export declare class GoogleMaps {
3350
disableDefaultUi: boolean;
3451
markers: any;
3552
autoUpdateBounds: boolean;
53+
autoInfoWindow: boolean;
3654
mapType: string;
3755
options: {};
3856
mapLoaded: any;

dist/amd/google-maps.js

Lines changed: 61 additions & 71 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/amd/google-maps.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/commonjs/google-maps.d.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,23 @@ import { BindingEngine } from 'aurelia-binding';
33
import { EventAggregator } from 'aurelia-event-aggregator';
44
import { Configure } from './configure';
55
import { GoogleMapsAPI } from './google-maps-api';
6+
export declare class Events {
7+
static BOUNDSCHANGED: string;
8+
static CLICK: string;
9+
static INFOWINDOWDOMREADY: string;
10+
static MARKERCLICK: string;
11+
static MARKERMOUSEOVER: string;
12+
static MARKERMOUSEOUT: string;
13+
static POLYGONCLICK: string;
14+
static POLYGONCLICKEVENT: string;
15+
static APILOADED: string;
16+
static LOCATIONADDED: string;
17+
static OVERLAYCOMPLETE: string;
18+
static MAPCLICK: string;
19+
static INFOWINDOWSHOW: string;
20+
static MARKERRENDERED: string;
21+
static MAPOVERLAYCOMPLETE: string;
22+
}
623
export interface Marker {
724
icon?: string;
825
label?: string;
@@ -33,6 +50,7 @@ export declare class GoogleMaps {
3350
disableDefaultUi: boolean;
3451
markers: any;
3552
autoUpdateBounds: boolean;
53+
autoInfoWindow: boolean;
3654
mapType: string;
3755
options: {};
3856
mapLoaded: any;

0 commit comments

Comments
 (0)