Skip to content

Instantly share code, notes, and snippets.

@benheb
Last active August 29, 2015 14:26
Show Gist options
  • Select an option

  • Save benheb/8d7a9b1b145620b6d956 to your computer and use it in GitHub Desktop.

Select an option

Save benheb/8d7a9b1b145620b6d956 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":[[-136.98552458724598,12.835954892041187],[-19.475758962277197,54.38218735139184]]},"itemData":{"operationalLayers":[{"url":"https://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer5","layerDefinition":{"drawingInfo":{"renderer":{"visualVariables":[{"type":"colorInfo","field":"pop2000","stops":[{"value":493782,"color":[255,255,217,200],"label":null},{"value":4666015.25,"color":[237,248,177,200],"label":null},{"value":8838248.5,"color":[199,233,180,200],"label":null},{"value":13010481.75,"color":[127,205,187,200],"label":null},{"value":17182715,"color":[65,182,196,200],"label":null},{"value":21354948.25,"color":[29,145,192,200],"label":null},{"value":25527181.5,"color":[34,94,168,200],"label":null},{"value":29699414.75,"color":[12,44,132,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"}}
{"item":{"title":"New Map","snippet":"This is a new map","extent":[[-115.85,-38.82],[119.25,52.58]]},"itemData":{"operationalLayers":[],"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"}}
{"item":{"title":"New Map","snippet":"This is a new map","extent":[[-115.85,-38.82],[119.25,52.58]]},"itemData":{"operationalLayers":[],"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"}}
{"item":{"title":"New Map","snippet":"This is a new map","extent":[[-124.03654278689083,46.51379167896755],[-120.36436261111136,47.62309707780198]]},"itemData":{"operationalLayers":[{"url":"https://services2.arcgis.com/1UvBaQ5y1ubjUPmd/arcgis/rest/services/Weather_Stations/FeatureServer/0","visibility":true,"opacity":0.78,"mode":1,"id":"graphicsLayer0","layerDefinition":{"drawingInfo":{"renderer":{"type":"simple","label":"","description":"","symbol":{"color":[253,141,60,200],"size":6,"angle":0,"xoffset":0,"yoffset":0,"type":"esriSMS","style":"esriSMSCircle","outline":{"color":[255,255,255,255],"width":1.3,"type":"esriSLS","style":"esriSLSSolid"}}}}}}],"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