Skip to content

Instantly share code, notes, and snippets.

@kingflurkel
Last active August 29, 2015 14:22
Show Gist options
  • Save kingflurkel/ff06aa3ee706686f844a to your computer and use it in GitHub Desktop.
Save kingflurkel/ff06aa3ee706686f844a to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../core-input/core-input.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: 0px;
top: 0px;
position: absolute;
}
#input {
padding: 15px;
left: 440px;
top: 30px;
position: absolute;
}
#google_map_search {
left: 470px;
top: 260px;
position: absolute;
}
</style>
<google-map latitude="37.60540114489117" longitude="-122.1722276171875" id="google_map"></google-map>
<input committedvalue="test" id="input" value="{{koek}}" placeholder="type something..." is="core-input">
<google-map-search map="{{ $.google_map }}" query="{{koek}}" 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