Skip to content

Instantly share code, notes, and snippets.

@behboud
Created July 9, 2014 10:04
Show Gist options
  • Save behboud/b8ec1d70ad9a3c144c4e to your computer and use it in GitHub Desktop.
Save behboud/b8ec1d70ad9a3c144c4e to your computer and use it in GitHub Desktop.
designer
<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 {
width: 400px;
height: 400px;
display: block;
left: 620px;
top: 200px;
position: absolute;
}
</style>
<google-map disabledefaultui id="google_map">
<google-map-marker longitude="-122.6693513671874" latitude="37.76163122078152" id="google_map_marker" draggable="true" title="Go Giants!"></google-map-marker>
<google-map-marker longitude="-122.38911" latitude="37.777" id="google_map_marker1"></google-map-marker>
</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