Created
August 29, 2014 03:40
-
-
Save MrTiggr/b93b14c504f387faf27a 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="../esri-html5/esri-pivotmapscontroller.html"> | |
<link rel="import" href="../esri-html5/esri-map.html"> | |
<link rel="import" href="../esri-html5/esri-geocoder.html"> | |
<link rel="import" href="../esri-html5/esri-scalebar.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%; | |
} | |
</style> | |
<core-drawer-panel id="core_drawer_panel" touch-action> | |
<section id="section" drawer> | |
<esri-pivotmapscontroller map="{{ $.map.map }}" filter_feature="{{ $.esri_pager.currentFeature }}" id="pivotmaps_controller"> | |
<esri-pivotmaps-geoaxis join_id="LGA_CODE11" layer="{{ $.jsonLayer.layer }}" name="LGA" id="geoaxis"> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B01_AUST_LGA_long.csv" name="2011 Census - B01" id="censusB01"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/SEIA.csv" name="Socio-Economic Indexes" id="SEIA"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B06_AUST_LGA_long.csv" name="2011 Census - B06" id="censusB06"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B07_AUST_LGA_long.csv" name="2011 Census - B07" id="censusB07"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B17A_AUST_LGA_long.csv" name="2011 Census - B17A" id="censusB17A"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B25_AUST_LGA_long.csv" name="2011 Census - B25" id="censusB25"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B33_AUST_LGA_long.csv" name="2011 Census - B33" id="censusB33"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B45A_AUST_LGA_long.csv" name="2011 Census - 45A" id="censusB45A"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B45B_AUST_LGA_long.csv" name="2011 Census - 45B" id="censusB45B"> | |
</esri-pivotmaps-datasource> | |
<esri-pivotmaps-datasource geo_id="LGA_CODE11" url="/data/LGA/AUST/2011Census_B01_AUST_LGA_long.csv" name="2011 Census - B01" id="censusB01"> | |
</esri-pivotmaps-datasource> | |
</esri-pivotmaps-geoaxis> | |
</esri-pivotmapscontroller> | |
</section> | |
<section id="section1" main> | |
<esri-map basemap="gray" autoresize latitude="-35.28199979999742" longitude="149.12868429998997" zoom="8" id="map"> | |
<esri-geocoder id="esri_geocoder"></esri-geocoder> | |
<esri-scalebar id="esri_scalebar"></esri-scalebar> | |
<esri-pivotmaps-geoaxis join_id="LGA_CODE11" layer="{{ $.jsonLayer.layer }}" name="LGA" id="geoaxis"> | |
</esri-pivotmaps-geoaxis> | |
<esri-jsonlayer url="/SDist11aAust.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