Skip to content

Instantly share code, notes, and snippets.

@benheb
Created July 31, 2015 14:47
Show Gist options
  • Select an option

  • Save benheb/1e11abef4421022c9c87 to your computer and use it in GitHub Desktop.

Select an option

Save benheb/1e11abef4421022c9c87 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":[[-120.2629135272165,33.78893929661116],[-90.88547212097433,43.90638117013668]]},"itemData":{"operationalLayers":[{"url":"https://services3.arcgis.com/66aUo8zsujfVXRIT/arcgis/rest/services/colorado_drug_takeback_locations.gdb/FeatureServer/0","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"visualVariables":[{"type":"colorInfo","field":"AREA","stops":[{"value":33.3183239407,"color":[255,247,251,200],"label":null},{"value":625.8122922581125,"color":[236,226,240,200],"label":null},{"value":1218.306260575525,"color":[208,209,230,200],"label":null},{"value":1810.8002288929374,"color":[166,189,219,200],"label":null},{"value":2403.29419721035,"color":[103,169,207,200],"label":null},{"value":2995.7881655277624,"color":[54,144,192,200],"label":null},{"value":3588.282133845175,"color":[2,129,138,200],"label":null},{"value":4180.776102162587,"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