Skip to content

Instantly share code, notes, and snippets.

@hebbet
Created June 16, 2015 18: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 hebbet/ce28871d10a06307695b to your computer and use it in GitHub Desktop.
Save hebbet/ce28871d10a06307695b 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-directions.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;
}
#google_map_directions {
left: 500px;
top: 160px;
position: absolute;
}
</style>
<google-map id="google_map"></google-map>
<google-map-directions id="google_map_directions"></google-map-directions>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment