Skip to content

Instantly share code, notes, and snippets.

@jpfreire
Created August 14, 2014 11:32
Show Gist options
  • Save jpfreire/152ab39edd158b3ff5ab to your computer and use it in GitHub Desktop.
Save jpfreire/152ab39edd158b3ff5ab 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: 100%;
height: 100%;
display: block;
left: 0px;
top: 0px;
position: absolute;
}
</style>
<google-map id="google_map">
<google-map-marker longitude="-122.3892" latitude="37.779" title="Go Giants!">
In designer tools I do!
</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