Skip to content

Instantly share code, notes, and snippets.

@witeshadow
Last active September 1, 2015 22:15
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 witeshadow/33810e8e6f13c3e2dd0f to your computer and use it in GitHub Desktop.
Save witeshadow/33810e8e6f13c3e2dd0f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map-directions.html">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#google_map_directions {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
#core_pages {
width: 400px;
height: 400px;
border: 1px solid silver;
left: 150px;
top: 70px;
position: absolute;
}
#section {
left: 29px;
top: 29px;
position: absolute;
}
#google_map_directions1 {
left: -151px;
top: -71px;
position: absolute;
}
#google_map_directions2 {
left: -151px;
top: -71px;
position: absolute;
}
#google_map_directions3 {
left: 980px;
top: 300px;
position: absolute;
}
</style>
<google-map-directions map="{{ }}" id="google_map_directions"></google-map-directions>
<core-pages selected="0" selectedindex="0" notap id="core_pages">
<section id="section1" active>
<section id="section">Page One</section>
<google-map-directions id="google_map_directions"></google-map-directions>
</section>
</core-pages>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment