Skip to content

Instantly share code, notes, and snippets.

@rafayepes
Created July 29, 2014 19:26
Show Gist options
  • Save rafayepes/c5215cd6d9ad805ce249 to your computer and use it in GitHub Desktop.
Save rafayepes/c5215cd6d9ad805ce249 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../core-field/core-field.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../core-input/core-input.html">
<link rel="import" href="../core-icons/core-icons.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: 440px;
top: 370px;
position: absolute;
}
#google_map_search {
left: 380px;
top: 230px;
position: absolute;
}
#core_field {
left: 520px;
top: 150px;
position: absolute;
}
</style>
<google-map id="google_map"></google-map>
<google-map-search id="google_map_search" map="{{ $.google_map.map }}" query="{{ $.core_input.value }}"></google-map-search>
<core-field id="core_field" icon="search" theme="core-light-theme" center horizontal layout>
<core-icon id="core_icon" icon="search"></core-icon>
<core-input placeholder="text input" id="core_input" flex></core-input>
</core-field>
</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