initialState

Defines the initial state for web map.

Referenced by: Web Link Chart, Webmap

Properties

Property Details
timeExtent Represents the time extent for the data displayed on the map.
viewpoint Represents the location displayed on the map.

Example

Show Central Park in Manhattan at Town scale and rotated 45 degrees

{
  "viewpoint": {
    "rotation": 45,
    "scale": 36111,
    "targetGeometry": {
      "spatialReference": {
        "latestWkid": 3857,
        "wkid": 102100
      },
      "xmin": -8237304.65218491,
      "ymin": 4977090.890664136,
      "xmax": -8230616.412209966,
      "ymax": 4983588.038068367
    }
  }
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close