Skip to content

Instantly share code, notes, and snippets.

@edrdesigner
Created December 16, 2014 15:59
Show Gist options
  • Save edrdesigner/d3326070e61b17722fa1 to your computer and use it in GitHub Desktop.
Save edrdesigner/d3326070e61b17722fa1 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map.html">
<link rel="import" href="../chart-js/chart-js.html">
<link rel="import" href="../paper-button/paper-button.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: 20px;
top: 100px;
position: absolute;
}
#chart_js {
width: 300px;
height: 200px;
left: 550px;
top: 160px;
position: absolute;
}
#paper_button {
left: 10px;
top: 510px;
position: absolute;
}
</style>
<google-map latitude="37.658692336256756" longitude="-122.04863142578125" id="google_map"></google-map>
<chart-js id="chart_js"></chart-js>
<paper-button id="paper_button">button</paper-button>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment