Skip to content

Instantly share code, notes, and snippets.

@windlessuser
Last active August 29, 2015 14:14
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 windlessuser/03304e819cc6712d157a to your computer and use it in GitHub Desktop.
Save windlessuser/03304e819cc6712d157a 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: 270px;
top: 80px;
position: absolute;
}
</style>
<script id="script" type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=API_KEY">
</script>
<google-map 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