Created
July 24, 2014 12:28
-
-
Save MrTiggr/180cd16976746326b89c to your computer and use it in GitHub Desktop.
designer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="import" href="../paper-tabs/paper-tabs.html"> | |
<link rel="import" href="../paper-tabs/paper-tab.html"> | |
<link rel="import" href="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../esri-html5/esri-map.html"> | |
<link rel="import" href="../esri-html5/esri-scalebar.html"> | |
<link rel="import" href="../esri-html5/esri-layer.html"> | |
<link rel="import" href="../esri-html5/esri-infotemplate.html"> | |
<polymer-element name="my_element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#section { | |
width: 100%; | |
height: 100%; | |
border: 5px solid rgb(204, 204, 204); | |
left: 0px; | |
top: 0px; | |
position: absolute; | |
} | |
#paper_tabs { | |
color: rgb(255, 255, 255); | |
box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 2px; | |
background-color: rgb(0, 188, 212); | |
} | |
#core_drawer_panel { | |
right: 0px; | |
bottom: 0px; | |
} | |
#section2 { | |
box-shadow: rgba(0, 0, 0, 0.0980392) 0px 2px 4px, rgba(0, 0, 0, 0.0980392) 0px 0px 3px; | |
background-color: rgb(250, 250, 250); | |
} | |
#section3 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#map { | |
height: 100%; | |
position: absolute; | |
top: 0px; | |
left: 0px; | |
width: 100%; | |
} | |
</style> | |
<section id="section" layout vertical> | |
<paper-tabs noink nobar selected="1" selectedindex="1" id="paper_tabs"> | |
<paper-tab id="paper_tab">ITEM ONE</paper-tab> | |
<paper-tab id="paper_tab1" active>ITEM TWO</paper-tab> | |
</paper-tabs> | |
<section id="section1" flex relative> | |
<core-drawer-panel id="core_drawer_panel" touch-action> | |
<section id="section2" drawer></section> | |
<section id="section3" main> | |
<esri-map basemap="satellite" autoresize latitude="-35.2819998" longitude="149.12868430000003" zoom="8" id="map"> | |
<esri-scalebar id="esri_scalebar"></esri-scalebar> | |
<esri-featurelayer url="http://sampleserver5.arcgisonline.com/arcgis/rest/services/WorldTimeZones/MapServer/0" id="worldCitiesLayer"> | |
<esri-infotemplate title="Properties" id="infoTemplate">${*}</esri-infotemplate> | |
</esri-featurelayer> | |
<esri-tiledmapservicelayer id="worldTopoLayer"> | |
</esri-tiledmapservicelayer> | |
</esri-map> | |
</section> | |
</core-drawer-panel> | |
</section> | |
</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