Created
August 7, 2014 07:30
-
-
Save MrTiggr/6a34e91ce5ea40a6ff57 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="../core-drawer-panel/core-drawer-panel.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../esri-html5/esri-pager.html"> | |
<link rel="import" href="../esri-html5/esri-pivotmapscontroller.html"> | |
<link rel="import" href="../esri-html5/esri-map.html"> | |
<link rel="import" href="../esri-html5/esri-pivotmaps-lineargauge.html"> | |
<link rel="import" href="../esri-html5/esri-layer.html"> | |
<link rel="import" href="../esri-html5/esri-jsonlayer.html"> | |
<polymer-element name="my-element"> | |
<template> | |
<style> | |
:host { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
box-sizing: border-box; | |
} | |
#core_drawer_panel { | |
position: absolute; | |
top: 0px; | |
right: 0px; | |
bottom: 0px; | |
left: 0px; | |
width: 100%; | |
height: 100%; | |
} | |
#section { | |
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); | |
} | |
#section1 { | |
height: 100%; | |
box-sizing: border-box; | |
background-color: rgb(221, 221, 221); | |
} | |
#map { | |
height: 100%; | |
width: 100%; | |
} | |
#esri_pivotmaps_lineargauge { | |
position: absolute; | |
left: 0px; | |
bottom: 0px; | |
margin: 10px; | |
z-index: 9999; | |
} | |
#core_menu { | |
font-size: 16px; | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel" touch-action> | |
<section id="section" drawer> | |
<esri-pager namefield="LGA_NAME11" features="{{ $.jsonLayer.graphics }}" id="esri_pager"></esri-pager> | |
<esri-pivotmapscontroller map="{{ $.map.map }}" id="controller_panel"> | |
<esri-pivotmaps-geoaxis join_id="LGA_CODE11" layer="{{ $.jsonLayer.layer }}" name="LGA" filter_feature="{{ $.esri_pager.currentFeature }}" id="geoaxis_LGA"> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B21_AUST_LGA_long.csv" name="Census 2011 - B21" id="datasource"></esri-pivotmaps-datasource> | |
</esri-pivotmaps-geoaxis> | |
</esri-pivotmapscontroller> | |
</section> | |
<section id="section1" main> | |
<esri-map basemap="satellite" autoresize latitude="-40.45577247244186" longitude="147.36844255670374" zoom="7" id="map"> | |
<esri-pivotmaps-lineargauge feature="{{ $.esri_pager.currentFeature }}" gauge_field="OBJECTID" max="600" gauge_value="1" id="esri_pivotmaps_lineargauge"></esri-pivotmaps-lineargauge> | |
<esri-webtiledlayer id="webtiledLayer"></esri-webtiledlayer> | |
<esri-jsonlayer url="/LGA11aAust.js" id="jsonLayer"></esri-jsonlayer> | |
</esri-map> | |
</section> | |
</core-drawer-panel> | |
</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