Skip to content

Instantly share code, notes, and snippets.

@opichals
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save opichals/f91b60aa36d9c1417a7e to your computer and use it in GitHub Desktop.
Save opichals/f91b60aa36d9c1417a7e to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../paper-input/paper-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;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 40px;
top: 60px;
position: absolute;
}
#paper_input {
left: 570px;
top: 50px;
position: absolute;
}
#google_map_search1 {
left: 1270px;
top: 10px;
}
#google_map_search {
left: 520px;
top: 80px;
position: absolute;
}
</style>
<paper-input label="Something" willvalidate id="paper_input" layout vertical></paper-input>
<google-map latitude="{{ $.google_map_search.latitude }}" longitude="{{ $.google_map_search.longitude }}" id="google_map">{{ Olomouc }}</google-map>
<google-map-search map="{{ $.google_map.map }}" query="{{ $.paper_input.value }}" id="google_map_search"></google-map-search>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment