net.wireservice.component.map

wireservice.net

Documentation

Map component. Displays a geographic map centered on a location. Coordinates are in microdegrees (degrees multiplied by 1,000,000) to avoid floating-point values.

main object

Map component. Displays a geographic map centered on a location. Coordinates are in microdegrees (degrees multiplied by 1,000,000) to avoid floating-point values.

Properties

accessibilityCaption string Optional

No description available.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
hidden boolean Optional

No description available.

identifier string Optional

No description available.

maxLength: 256 bytes
items array of ref#mapItem Optional

Map pins or annotations.

latitude integer Required

Center latitude in microdegrees (e.g., 37774900 for 37.7749).

minimum: -90000000maximum: 90000000
layout string Optional

No description available.

maxLength: 256 bytes
longitude integer Required

Center longitude in microdegrees (e.g., -122419400 for -122.4194).

minimum: -180000000maximum: 180000000
mapType string Optional

No description available.

maxLength: 64 bytes
Known values: standard, hybrid, satellite
span ref #mapSpan Optional

Visible region span around the center point.

style string Optional

No description available.

maxLength: 256 bytes
View raw schema
{
  "description": "Map component. Displays a geographic map centered on a location. Coordinates are in microdegrees (degrees multiplied by 1,000,000) to avoid floating-point values.",
  "properties": {
    "accessibilityCaption": {
      "maxGraphemes": 2000,
      "maxLength": 20000,
      "type": "string"
    },
    "caption": {
      "description": "Visible caption as an array of text runs with optional formatting marks.",
      "items": {
        "ref": "net.wireservice.defs#textRun",
        "type": "ref"
      },
      "type": "array"
    },
    "hidden": {
      "type": "boolean"
    },
    "identifier": {
      "maxLength": 256,
      "type": "string"
    },
    "items": {
      "description": "Map pins or annotations.",
      "items": {
        "ref": "#mapItem",
        "type": "ref"
      },
      "type": "array"
    },
    "latitude": {
      "description": "Center latitude in microdegrees (e.g., 37774900 for 37.7749).",
      "maximum": 90000000,
      "minimum": -90000000,
      "type": "integer"
    },
    "layout": {
      "maxLength": 256,
      "type": "string"
    },
    "longitude": {
      "description": "Center longitude in microdegrees (e.g., -122419400 for -122.4194).",
      "maximum": 180000000,
      "minimum": -180000000,
      "type": "integer"
    },
    "mapType": {
      "knownValues": [
        "standard",
        "hybrid",
        "satellite"
      ],
      "maxLength": 64,
      "type": "string"
    },
    "span": {
      "description": "Visible region span around the center point.",
      "ref": "#mapSpan",
      "type": "ref"
    },
    "style": {
      "maxLength": 256,
      "type": "string"
    }
  },
  "required": [
    "latitude",
    "longitude"
  ],
  "type": "object"
}
mapItem object

A pin or annotation on a map.

Properties

caption string Optional

No description available.

maxLength: 5000 bytesmaxGraphemes: 500 graphemes
latitude integer Required

Latitude in microdegrees.

minimum: -90000000maximum: 90000000
longitude integer Required

Longitude in microdegrees.

minimum: -180000000maximum: 180000000
View raw schema
{
  "description": "A pin or annotation on a map.",
  "properties": {
    "caption": {
      "maxGraphemes": 500,
      "maxLength": 5000,
      "type": "string"
    },
    "latitude": {
      "description": "Latitude in microdegrees.",
      "maximum": 90000000,
      "minimum": -90000000,
      "type": "integer"
    },
    "longitude": {
      "description": "Longitude in microdegrees.",
      "maximum": 180000000,
      "minimum": -180000000,
      "type": "integer"
    }
  },
  "required": [
    "latitude",
    "longitude"
  ],
  "type": "object"
}
mapSpan object

The visible region span of a map, in microdegrees.

Properties

latitudeDelta integer Required

No description available.

minimum: 0
longitudeDelta integer Required

No description available.

minimum: 0
View raw schema
{
  "description": "The visible region span of a map, in microdegrees.",
  "properties": {
    "latitudeDelta": {
      "minimum": 0,
      "type": "integer"
    },
    "longitudeDelta": {
      "minimum": 0,
      "type": "integer"
    }
  },
  "required": [
    "latitudeDelta",
    "longitudeDelta"
  ],
  "type": "object"
}

Lexicon Garden

@