Skip to content

Instantly share code, notes, and snippets.

@JMPerez
Created July 11, 2014 15:10
Show Gist options
  • Save JMPerez/ca22f19ddcd1a716ad08 to your computer and use it in GitHub Desktop.
Save JMPerez/ca22f19ddcd1a716ad08 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../core-input/core-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_input {
padding: 15px;
left: 220px;
top: 350px;
position: absolute;
}
#google_map_search {
left: 390px;
top: 650px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 360px;
top: 690px;
position: absolute;
}
</style>
<core-input placeholder="Type something..." id="core_input"></core-input>
<google-map-search id="google_map_search"></google-map-search>
<google-map id="google_map"></google-map>
</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