Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save benheb/6f9e62bc969038c9bd1e to your computer and use it in GitHub Desktop.

Select an option

Save benheb/6f9e62bc969038c9bd1e to your computer and use it in GitHub Desktop.
This is a new map
{"item":{"title":"New Map","snippet":"This is a new map","extent":[[-119.89530639645167,33.29885151724222],[-116.2231262206722,34.64947508525686]]},"itemData":{"operationalLayers":[{"url":"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Urban_Areas/FeatureServer/1","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"visualVariables":[{"type":"colorInfo","field":"POPULATION","stops":[{"value":100606,"color":[255,247,251,200],"label":null},{"value":1674815.25,"color":[236,226,240,200],"label":null},{"value":3249024.5,"color":[208,209,230,200],"label":null},{"value":4823233.75,"color":[166,189,219,200],"label":null},{"value":6397443,"color":[103,169,207,200],"label":null},{"value":7971652.25,"color":[54,144,192,200],"label":null},{"value":9545861.5,"color":[2,129,138,200],"label":null},{"value":11120070.75,"color":[1,100,80,200],"label":null}]}],"type":"simple","label":"","description":"","symbol":{"color":[43,140,190,200],"outline":{"color":[255,255,255,255],"width":0.5,"type":"esriSLS","style":"esriSLSSolid"},"type":"esriSFS","style":"esriSFSSolid"}}}}}],"baseMap":{"baseMapLayers":[{"opacity":1,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Canvas/World_Light_Gray_Base/MapServer"},{"opacity":0.3,"visibility":true,"url":"http://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer"}],"title":"basemap"},"version":"1.0"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment