Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b9a29e2

Browse filesBrowse files
authored
Merge pull request #34 from eggsdesign/master
add complete list of Google Map events (as of v3.25)
2 parents b733490 + 9893260 commit b9a29e2
Copy full SHA for b9a29e2

File tree

Expand file treeCollapse file tree

2 files changed

+24
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+24
-2
lines changed

‎scripts/mocha_runner.js

Copy file name to clipboardExpand all lines: scripts/mocha_runner.js
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ const google = {
5656
},
5757
Marker: function() {
5858
return {
59-
addListener: function() {}
59+
addListener: function() {},
60+
setMap: function() {}
6061
};
6162
},
6263
MarkerImage: function() {

‎src/index.js

Copy file name to clipboardExpand all lines: src/index.js
+22-1Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,28 @@ const mapStyles = {
1919
}
2020
}
2121

22-
const evtNames = ['ready', 'click', 'dragend', 'recenter'];
22+
const evtNames = [
23+
'ready',
24+
'click',
25+
'dragend',
26+
'recenter',
27+
'bounds_changed',
28+
'center_changed',
29+
'dblclick',
30+
'dragstart',
31+
'heading_change',
32+
'idle',
33+
'maptypeid_changed',
34+
'mousemove',
35+
'mouseout',
36+
'mouseover',
37+
'projection_changed',
38+
'resize',
39+
'rightclick',
40+
'tilesloaded',
41+
'tilt_changed',
42+
'zoom_changed'
43+
];
2344

2445
export {wrapper as GoogleApiWrapper} from './GoogleApiComponent'
2546
export {Marker} from './components/Marker'

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.