# operation: map.export-web-map-or-scene
Description: Exports the current configuration of the selected map component as a web map or scene. Web only.

Inputs: `HasMaps`

HasMaps properties:
```json
{
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

Outputs: `PortalItemData`

---
# operation: map.get-extent
Description: Returns the extent from the specified map. Web only.

Inputs: `GetExtentArgs`

GetExtentArgs properties:
```json
{
  "maps": {
    "description": "The map from which to retrieve the extent."
  }
}
```

Outputs: `GetExtentResult`

---
# operation: map.get-initial-viewpoint
Description: Returns the initial viewpoint for the active map or scene of the specified map. If no map extension is specified, returns the initial viewpoint for the first available map. Also returns the map(s) used for the operation. Web only.

Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`

HasMaps properties:
```json
{
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

Outputs: `GetViewpointResult`

---
# operation: map.get-markup
Description: Returns markup from the specified map that are intersected by the supplied geometry. Web only.

Inputs: `GetMarkupArgs`

GetMarkupArgs properties:
```json
{
  "collection": {
    "description": "The named collection of markup to operate on. If not specified, the default markup collection will be used.\n\nNote that collections with names prefixed by \"vgs\" are reserved for internal system use and should not be referenced directly.\n\nWeb only.",
    "type": "string"
  },
  "geometry": {
    "description": "The geometry used to bound the retrieved markup. If not specified all markup in the selected collection will be returned."
  },
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

Outputs: `GetMarkupResult`

---
# operation: map.get-spatial-reference
Description: If a map extension ID is specified, returns the spatial reference for that map. If no map extension ID is specified, returns the spatial reference of the first available map.

Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`

HasMaps properties:
```json
{
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

Outputs: `@arcgis.core.geometry.SpatialReference.SpatialReference`

---
# operation: map.get-user-coordinates-input
Description: Prompts the user to enter and return a coordinate. Web only.

Inputs: `GetCoordinateArgs`

GetCoordinateArgs properties:
```json
{
  "allowSelectFromMap": {
    "description": "Indicates if the user should be given the option to select a point from the map.",
    "type": "boolean"
  },
  "attributes": {
    "description": "Optional layout XML attributes to be used for the transient UI container."
  },
  "completeLabel": {
    "description": "Optionally override the display text on the complete button. Defaults to 'OK'.",
    "type": "string"
  },
  "geometry": {
    "description": "An optional starting coordinate."
  },
  "icon": {
    "description": "Optional icon that may be used by the transient UI container.",
    "type": "string"
  },
  "maps": {
    "description": "The map on which to select the result."
  },
  "parent": {
    "description": "The layout ID or ItemRef to target for the command/operation. This component will be the parent of the temporary UI that will be removed after the command/operation completes."
  }
}
```

Outputs: `GetCoordinateResult`

---
# operation: map.get-viewpoint
Description: Returns the current viewpoint for the active map or scene of the specified map. If no map extension is specified, returns the viewpoint for the first available map. Also returns the map(s) used for the operation. Web only.

Inputs: `( @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension | @vertigis.arcgis-extensions.mapping.MapExtension.MapExtension[] | HasMaps )`

HasMaps properties:
```json
{
  "maps": {
    "description": "Map(s) to use for the command/operation."
  }
}
```

Outputs: `GetViewpointResult`

---
