Skip to content

Instantly share code, notes, and snippets.

@MrTiggr
Created July 25, 2014 04:49
Show Gist options
  • Save MrTiggr/726df490cbc88680da07 to your computer and use it in GitHub Desktop.
Save MrTiggr/726df490cbc88680da07 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../esri-html5/esri-webmap.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
#map {
height: 100%;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
}
</style>
<section id="section">
<esri-webmap id="map" webmapid="4bf62fe84241483d8d0e81ea39ebf108"></esri-webmap>
</section>
</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