-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from SamvelRaja/patch_add_dummy_app
Added the dummy app to make it easy for development And a version bump to 0.0.9
- Loading branch information
Showing
7 changed files
with
95 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
import Ember from 'ember'; | ||
|
||
export default Ember.Controller.extend({ | ||
inputObj: { | ||
latitude : '12.976299881670053', | ||
longitude : '80.13112306594849', | ||
zoom : 7, | ||
click : function(rec_event) { | ||
console.log('map_click' + rec_event); | ||
}, | ||
dblclick : function(rec_event) { | ||
console.log('map_double_click' + rec_event); | ||
}, | ||
drag : function() { | ||
console.log('map_drag'); | ||
}, | ||
dragend : function() { | ||
console.log('map_dragend'); | ||
}, | ||
dragstart : function() { | ||
console.log('map_dragstart'); | ||
}, | ||
mousemove : function(rec_event) { | ||
console.log('map_mousemove' + rec_event); | ||
}, | ||
mouseout : function(rec_event) { | ||
console.log('map_mouseout' + rec_event); | ||
}, | ||
mouseover : function(rec_event) { | ||
console.log('map_mouseover' + rec_event); | ||
}, | ||
rightclick : function(rec_event) { | ||
console.log('map_rightclick' + rec_event); | ||
}, | ||
infowindow : { | ||
content : '<div>Info Window</div>', | ||
latitude : '12.976299881670053', | ||
longitude : '80.13112306594849', | ||
maxWidth : 200 | ||
}, | ||
markers : [ | ||
{ | ||
latitude : '12.976299881670053', | ||
longitude : '80.13112306594849', | ||
title : 'first marker', | ||
click : function(rec_event) { | ||
console.log('Marker_1_click' + rec_event); | ||
}, | ||
animation : 'DROP', | ||
timeout : 2000, | ||
draggable : true, | ||
infowindow : { | ||
content : '<div>Marker 1</div>' | ||
} | ||
}, | ||
{ | ||
latitude : '13.976299881670053', | ||
longitude : '80.13112306594849', | ||
title : 'first marker', | ||
click : function(rec_event) { | ||
console.log('Marker_2_Click' + rec_event); | ||
}, | ||
animation : 'BOUNCE', | ||
timeout : 4000, | ||
draggable : false | ||
} | ||
] | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.map-canvas{ | ||
width:500px; | ||
height:500px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
<h2 id="title">Welcome to Ember.js</h2> | ||
|
||
{{outlet}} | ||
<h2 id="title">Google Maps addon</h2> | ||
{{google-maps-addon MapOptions=inputObj}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters