Skip to content

Instantly share code, notes, and snippets.

@tkhemani
Created December 9, 2014 12:47
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 tkhemani/c16564ade3740d9cfa6f to your computer and use it in GitHub Desktop.
Save tkhemani/c16564ade3740d9cfa6f to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../google-map/google-map-search.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icon/core-icon.html">
<link rel="import" href="../google-map/google-map-directions.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;
}
#google_map_search {
left: 1010px;
top: 450px;
position: absolute;
}
#core_icon {
left: 1070px;
top: 480px;
position: absolute;
}
#google_map {
width: 400px;
height: 400px;
display: block;
left: 160px;
top: 130px;
position: absolute;
}
#google_map_directions {
left: 870px;
top: 360px;
position: absolute;
}
</style>
<google-map-search id="google_map_search"></google-map-search>
<core-icon icon="search" id="core_icon"></core-icon>
<google-map-directions id="google_map_directions"></google-map-directions>
<google-map latitude="36.59445268590268" longitude="-120.11366446858466" zoom="9" id="google_map"></google-map>
</template>
<script>
Polymer({
});
</script>
</polymer-element>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment