Skip to content

Instantly share code, notes, and snippets.

@caseycesari
Created September 18, 2019 12:57
Show Gist options
  • Save caseycesari/761df018a401d2026802e7ccd1986e7f to your computer and use it in GitHub Desktop.
Save caseycesari/761df018a401d2026802e7ccd1986e7f to your computer and use it in GitHub Desktop.
Sample "Web Map As JSON"
{"mapOptions":{"extent":{"xmin":2722939.17518007,"ymin":294359.45275287,"xmax":2723337.1027269,"ymax":294781.177369428,"spatialReference":{"wkid":2272}}},"operationalLayers":[],"baseMap":{"title":"Ortho Layer","baseMapLayers":[{"urlTemplate":"https://tiles.arcgis.com/tiles/fLeGjb7u4uXqeF9q/arcgis/rest/services/CityImagery_2019_3in/MapServer/tile/{level}/{row}/{col}","type":"WebTiledLayer","tileInfo":{"rows":256,"cols":256,"dpi":96,"format":"JPEG","compressionQuality":75,"storageFormat":"esriMapCacheStorageModeCompact","origin":{"x":-20037508.342787,"y":20037508.342787},"spatialReference":{"wkid":102100,"latestWkid":3857,"wkt":"PROJCS['WGS_1984_Web_Mercator_Auxiliary_Sphere',GEOGCS['GCS_WGS_1984',DATUM['D_WGS_1984',SPHEROID['WGS_1984',6378137.0,298.257223563]],PRIMEM['Greenwich',0.0],UNIT['Degree',0.0174532925199433]],PROJECTION['Mercator_Auxiliary_Sphere'],PARAMETER['False_Easting',0.0],PARAMETER['False_Northing',0.0],PARAMETER['Central_Meridian',0.0],PARAMETER['Standard_Parallel_1',0.0],PARAMETER['Auxiliary_Sphere_Type',0.0],UNIT['Meter',1.0],AUTHORITY['EPSG',3857]]"},"lods":[{"level":0,"resolution":156543.03392800014,"scale":591657527.591555},{"level":1,"resolution":78271.516963999937,"scale":295828763.795777},{"level":2,"resolution":39135.758482000092,"scale":147914381.897889},{"level":3,"resolution":19567.879240999919,"scale":73957190.948944},{"level":4,"resolution":9783.93962049996,"scale":36978595.474472},{"level":5,"resolution":4891.96981024998,"scale":18489297.737236},{"level":6,"resolution":2445.98490512499,"scale":9244648.868618},{"level":7,"resolution":1222.9924525624949,"scale":4622324.434309},{"level":8,"resolution":611.49622628137968,"scale":2311162.217155},{"level":9,"resolution":305.74811314055756,"scale":1155581.108577},{"level":10,"resolution":152.87405657041106,"scale":577790.554289},{"level":11,"resolution":76.437028285073239,"scale":288895.277144},{"level":12,"resolution":38.21851414253662,"scale":144447.638572},{"level":13,"resolution":19.10925707126831,"scale":72223.819286},{"level":14,"resolution":9.5546285356341549,"scale":36111.909643},{"level":15,"resolution":4.77731426794937,"scale":18055.954822},{"level":16,"resolution":2.3886571339746849,"scale":9027.977411},{"level":17,"resolution":1.1943285668550503,"scale":4513.988705},{"level":18,"resolution":0.59716428355981721,"scale":2256.994353},{"level":19,"resolution":0.29858214164761665,"scale":1128.497176},{"level":20,"resolution":0.14929107082380833,"scale":564.248588},{"level":21,"resolution":0.074645535411904163,"scale":282.124294},{"level":22,"resolution":0.037322767705952081,"scale":141.062147}]}}]},"exportOptions":{"outputSize":[800,800]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment