Skip to content

Instantly share code, notes, and snippets.

@MrTiggr
Created August 20, 2014 07:29
Show Gist options
  • Save MrTiggr/f4bea2ffa1f9586d4fe7 to your computer and use it in GitHub Desktop.
Save MrTiggr/f4bea2ffa1f9586d4fe7 to your computer and use it in GitHub Desktop.
designer
<link rel="import" href="../esri-html5/esri-eui.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
width: 100%;
height: 100%;
box-sizing: border-box;
}
#section {
left: 90px;
top: 90px;
position: absolute;
}
#ags1 {
left: 270px;
top: 130px;
position: absolute;
}
#core_item {
left: 700px;
top: 450px;
position: absolute;
}
#core_icon {
left: 490px;
top: 10px;
position: absolute;
}
#explorer {
left: 0px;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
}
</style>
<esri-arcgis-server url="http://sampleserver6.arcgisonline.com/arcgis/rest/services" id="ags1"></esri-arcgis-server>
<esri-serverpanel server="{{ $.ags1 }}" id="explorer">
</esri-serverpanel>
</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