Base properties for web maps and web scenes.

interface WebMapJsonBase {
    applicationProperties?: ApplicationPropertiesJson;
    authoringApp?: string;
    authoringAppVersion?: string;
    baseMap: BasemapJson;
    initialState?: InitialStateJson;
    mapFloorInfo?: MapFloorInfoJson;
    mapRangeInfo?: MapRangeInfoJson;
    operationalLayers?: OperationalLayerJson[];
    presentation?: PresentationJson;
    spatialReference: SpatialReferenceJson;
    tables?: TableJson[];
    timeZone?: string;
    version: string;
    widgets?: WidgetsJson;
}

Hierarchy (view full)

Properties

applicationProperties?: ApplicationPropertiesJson

The applicationProperties object is one of the objects at the top level of the JSON web map JSON schema. This is responsible for containing the viewing and editing properties of the web map. There are specific objects within this object that are applicable only to Collector and are explained within the property descriptions.

authoringApp?: string

String value indicating the application which authored the webmap.

authoringAppVersion?: string

String value indicating the authoring App's version number.

baseMap: BasemapJson

The map's basemap layer(s). Layers are drawn based on the index position in the array; The first layer in the array is the first layer drawn, the next layer in the array is drawn on top of it, and so on.

initialState?: InitialStateJson

The initial state at which to open the map.

mapFloorInfo?: MapFloorInfoJson

Contains floor-awareness information for the map.

mapRangeInfo?: MapRangeInfoJson

Map range information.

operationalLayers?: OperationalLayerJson[]

Operational layers contain your business data. They are used to make thematic maps. Usually, a basemap sits beneath your operational layers to give them geographic context. See https://developers.arcgis.com/web-map-specification/objects/operationalLayers/.

presentation?: PresentationJson

A presentation consists of multiple slides. Each slide has a different title, extent, basemap, layers etc.

spatialReference: SpatialReferenceJson

An object used to specify the spatial reference of the given geometry.

tables?: TableJson[]

Specify an array of table objects.

timeZone?: string

TODO: Not yet documented in web map spec, but present in 2.29 web maps generated by Maps SDK 4.28.

version: string

Root element in the web map specifying a string value indicating the web map version. See https://developers.arcgis.com/web-map-specification/objects/version/.

widgets?: WidgetsJson

The widgets object contains widgets that should be exposed to the user.