Last active
September 25, 2016 18:26
-
-
Save prudvi/3110fa17c13e4e2f951e6f82fb5d8e93 to your computer and use it in GitHub Desktop.
map places autocomplete
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
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
place: 'Bangalore', | |
}); |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle' | |
}); |
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
html, body { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
} | |
#map { | |
height: 100%; | |
} | |
.controls { | |
margin-top: 10px; | |
border: 1px solid transparent; | |
border-radius: 2px 0 0 2px; | |
box-sizing: border-box; | |
-moz-box-sizing: border-box; | |
height: 32px; | |
outline: none; | |
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); | |
} | |
#pac-input { | |
background-color: #fff; | |
font-family: Roboto; | |
font-size: 15px; | |
font-weight: 300; | |
margin-left: 12px; | |
padding: 0 11px 0 13px; | |
text-overflow: ellipsis; | |
width: 300px; | |
} | |
#pac-input:focus { | |
border-color: #4d90fe; | |
} | |
.pac-container { | |
font-family: Roboto; | |
} | |
#type-selector { | |
color: #fff; | |
background-color: #4d90fe; | |
padding: 5px 11px 0px 11px; | |
} | |
#type-selector label { | |
font-family: Roboto; | |
font-size: 13px; | |
font-weight: 300; | |
} |
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
{ | |
"version": "0.10.5", | |
"EmberENV": { | |
"FEATURES": {} | |
}, | |
"options": { | |
"use_pods": false, | |
"enable-testing": false | |
}, | |
"dependencies": { | |
"jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js", | |
"ember": "2.8.0", | |
"ember-data": "2.8.0", | |
"ember-template-compiler": "2.8.0", | |
"ember-testing": "2.8.0", | |
"map": "https://maps.googleapis.com/maps/api/js?key=AIzaSyBU5ylhdLUJ4oC1kWwaNvl9PZhHucqOOas&libraries=places&callback=initMap" | |
}, | |
"addons": {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment