CSS styling with more styling and less hard-coded SVG.
Click on the legend to toggle highlights.
Needs to be cleaned up some more.
CSS styling with more styling and less hard-coded SVG.
Click on the legend to toggle highlights.
Needs to be cleaned up some more.
Add client side labels for vector features using the LabelLayer class. Visit the Labeling features client-side tutorial for more information.
| source "https://api.berkshelf.com" | |
| cookbook 'apt' | |
| cookbook 'bluepill', '>= 2.3.1' | |
| cookbook 'build-essential', '>= 1.4.2', git: 'https://github.com/opscode-cookbooks/build-essential.git' | |
| cookbook 'ohai', git: 'https://github.com/opscode-cookbooks/ohai' | |
| cookbook 'python', git: 'https://github.com/poise/python' | |
| cookbook 'elasticsearch', git: 'https://github.com/elasticsearch/cookbook-elasticsearch' | |
| cookbook 'layer-custom', git: 'https://github.com/ajturner/opsworks-elasticsearch-cookbook', rel: "layer-custom" |
| X,Y,OBJECTID_12,SITE_ADDRESS_PK,ADDRESS_ID,STATUS,SSL,TYPE_,ENTRANCETYPE,ADDRNUM,ADDRNUMSUFFIX,STNAME,STREET_TYPE,QUADRANT,CITY,STATE,FULLADDRESS,SQUARE,SUFFIX,LOT,NATIONALGRID,ASSESSMENT_NBHD,ASSESSMENT_SUBNBHD,CFSA_NAME,HOTSPOT,CLUSTER_,POLDIST,ROC,PSA,SMD,CENSUS_TRACT,VOTE_PRCNCT,WARD,ZIPCODE,ANC,NEWCOMMSELECT06,NEWCOMMCANDIDATE,CENSUS_BLOCK,CENSUS_BLOCKGROUP,FOCUS_IMPROVEMENT_AREA,SE_ANNO_CAD_DATA,LATITUDE,LONGITUDE,ACTIVE_RES_UNIT_COUNT,RES_TYPE,ACTIVE_RES_OCCUPANCY_COUNT,WARD_2002,WARD_2012,ANC_2002,ANC_2012,SMD_2002,SMD_2012 | |
| -76.94145177369758,38.893898674072375,518857,25303,25303,ACTIVE,5088 0020,ADDRESS,OFFICIAL,4216,,BROOKS,STREET,NE,WASHINGTON,DC,4216 BROOKS STREET NE,5088,,0020,18S UJ 31629 06793,Deanwood,018 A Deanwood,East of the River Collaborative,NA,Cluster 30,Police District - Sixth District,NA,Police Service Area 602,SMD 7D06,007803,Precinct 99,Ward 7,20019,ANC 7D,,,007803 4005,007803 4,NA,,38.89389122,-76.94144951,0,RESIDENTIAL,1,Ward 7,Ward 7,ANC 7D,ANC 7D,SMD 7D06,SMD 7D06 | |
| -76.9417581 |
| /** | |
| * Cedar | |
| * | |
| * Generic charting / visualization library for the ArcGIS Platform | |
| * that leverages vega + d3 internally. | |
| */ | |
| (function(window){ | |
| 'use strict'; |
| OBJECTID *,Shape *,ID,NAME,State,County,FIPS,NumBeneficiaries11,AvAge11,pctWhite11,pctBlack11,pctHispanic11,pctOtherRace11,pctEligible11,avHCC11,pctHeartAttack11,pctAtrialFibrillation11,pctChronicKidneyDisease11,pctCOPD11,pctDepression11,pctDiabetes11,pctHeartFailure11,pctIschemicHeartDisease11,pctBreastCancer11,pctColorectalCancer11,pctLungCancer11,pctProstateCancer11,pctAsthma11,pctHypertension11,pctHighCholesterol11,pctArthritis11,pctOsteoporosis11,pctAlzheimers11,pctStroke11,Standardized_Per_Capita_Costs11,pct_IP_StandCosts11,IP_PerCap_StandCosts11,IP_PerUser_StandCosts11,pctUsingIP11,Hospice_StandCosts11,Hospice_PerCap_StandCosts11,Hospice_PerUser_StandCosts11,pct_Using_Hospice11,pct_OP_StandCosts11,OP_PerCap_StandCosts11,OP_PerUser_StandCosts11,pctUsingOP11,Hospital_Readmission_Rate11,ED_Visit_perK11,Shape_Length,Shape_Area | |
| 1,Polygon,2060,Bristol Bay Borough,AK,BRISTOL BAY BOROUGH,2060,650,69,78.46,2.46,1.69,17.38,15.38,0.76,<Null>,5.38,10,8.31,8.15,20.46,9.38,20.77,2.77,<Null>,<Null>,2,3.08,37.23,28.77 |
| {"item":{"title":"New Map","snippet":"Counties","extent":[[-145.3957182813038,25.9568928156433],[-89.98067921881854,44.5582505937907]]},"itemData":{"operationalLayers":[{"url":"https://services.gis.ca.gov/arcgis/rest/services/Economy/GOBiz_Business_Assistance/MapServer/14","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","minScale":0,"maxScale":0,"layerDefinition":{"drawingInfo":{"renderer":{"visualVariables":[{"type":"colorInfo","field":"AREA_ID","stops":[{"value":21009409,"color":[255,247,251,200],"label":null},{"value":21009551.75,"color":[236,226,240,200],"label":null},{"value":21009694.5,"color":[208,209,230,200],"label":null},{"value":21009837.25,"color":[166,189,219,200],"label":null},{"value":21009980,"color":[103,169,207,200],"label":null},{"value":21010122.75,"color":[54,144,192,200],"label":null},{"value":21010265.5,"color":[2,129,138,200],"label":null},{"value":21010408.25,"color":[1,100,80,200],"label":null}]}],"type":"simple","label":"","description":"","symbol":{"color":[43,140,1 |
| <!DOCTYPE html> <meta charset="utf-8"> <link rel="stylesheet" href="http://js.arcgis.com/3.14/esri/css/esri.css"> <style> #map { height:500px; } </style> <body> <div id="map"></div> <script src="//code.jquery.com/jquery-1.11.3.min.js"></script> <script src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script> <script src="http://js.arcgis.com/3.14/"></script> <script> require(["esri/map","esri/urlUtils","esri/arcgis/utils","esri/layers/FeatureLayer","esri/renderers/SimpleRenderer","esri/renderers/jsonUtils","dojo/domReady!"], function(Map,urlUtils,arcgisUtils,FeatureLayer,SimpleRenderer,jsonUtils) { $.getJSON("https://api.github.com/gists/5b69cc1de0d23b85ce1f", function(data) { var webmap; for (var file in data.files ) { if ( file !== "index.html" ) { webmap = JSON.parse(data.files[file].content); } }; arcgisUtils.createMap(webmap, "map").then(f |