Created
June 12, 2014 19:28
-
-
Save yosiat/a40fc17c83512921d678 to your computer and use it in GitHub Desktop.
designer
This file contains hidden or 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="../google-map/google-map-directions.html"> | |
<link rel="import" href="../core-input/core-input.html"> | |
<link rel="import" href="../google-map/google-map.html"> | |
<link rel="import" href="../google-map/google-map-search.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#ace_element { | |
width: 400px; | |
height: 300px; | |
left: 280px; | |
top: 190px; | |
} | |
#chart_js { | |
width: 300px; | |
height: 200px; | |
left: 570px; | |
top: 260px; | |
position: absolute; | |
} | |
#core_input { | |
padding: 15px; | |
} | |
#canvas { | |
-webkit-user-select: none; | |
} | |
#core_header_panel { | |
width: 100%; | |
height: 100%; | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#core_toolbar { | |
color: rgb(255, 255, 255); | |
background-color: rgb(79, 125, 201); | |
} | |
#section { | |
height: 1000px; | |
background: linear-gradient(rgb(214, 227, 231), rgb(173, 216, 230)); | |
} | |
#core_drawer_panel { | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
position: absolute; | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#core_input1 { | |
padding: 15px; | |
} | |
#google_map { | |
width: 400px; | |
height: 400px; | |
display: block; | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel"> | |
<section id="section" drawer> | |
<google-map-directions map="{{ $.google_map }}" startaddress="{{ $.core_input.inputValue }}" endaddress="{{ $.core_input1.inputValue }}" id="google_map_directions"></google-map-directions> | |
</section> | |
<section id="section1" main> | |
<core-input placeholder="Start Address" inputvalue="Vingeit 4, Tel Aviv, Israel" id="core_input">hello</core-input> | |
<core-input placeholder="End Address" inputvalue="Vingeit 15, Tel Aviv, Israel" id="core_input1"> | |
</core-input> | |
<google-map id="google_map"></google-map> | |
<google-map-search query="Tel Aviv, Israel" map="{{ $.google_map }}" id="google_map_search"></google-map-search> | |
</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