Created
July 2, 2014 07:22
-
-
Save DingoEatingFuzz/6e39258894bd471f2fa4 to your computer and use it in GitHub Desktop.
designer
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
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_toolbar { | |
right: 0px; | |
left: 1230px; | |
color: rgb(255, 255, 255); | |
fill: rgb(255, 255, 255); | |
top: 550px; | |
background-color: rgb(79, 125, 201); | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
} | |
#section { | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
background-color: rgb(250, 250, 250); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#google_map { | |
width: 100%; | |
height: 100%; | |
display: block; | |
left: 0px; | |
top: 0px; | |
} | |
#google_map_search { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#smoothie_chart { | |
left: 1200px; | |
top: 550px; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
left: 1350px; | |
top: 450px; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
left: 1290px; | |
top: 490px; | |
} | |
#cool_clock { | |
width: 400px; | |
height: 300px; | |
left: 1280px; | |
top: 470px; | |
} | |
#core_tooltip { | |
left: 1230px; | |
top: 540px; | |
} | |
#section2 { | |
width: 420px; | |
height: 630px; | |
border: 5px solid rgb(204, 204, 204); | |
left: 1210px; | |
top: 490px; | |
} | |
#paper_input { | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
background-color: rgb(255, 255, 255); | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section" drawer> | |
<paper-input label="Type something..." inputvalue="fort worth" value="fort worth" id="paper_input"></paper-input> | |
</section> | |
<section id="section1" main> | |
<google-map-search map="{{ $.google_map.map }}" query="{{ $.paper_input.value }}" id="google_map_search"></google-map-search> | |
<google-map latitude="{{ $.google_map_search.result.latitude }}" longitude="{{ $.google_map_search.result.longitude }}" zoom="{{ $.google_map_search.result.zoom }}" id="google_map" class="drag-element"></google-map> | |
</section> | |
</core-drawer-panel> | |
</template> | |
<script> | |
Polymer('my-element', { | |
}); | |
</script> | |
</polymer-element> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment