{
  "title": "map",
  "type": "object",
  "properties": {
    "longitude": {
      "type": "number",
      "description": "gcj02 坐标系中心经度"

    },
    "latitude": {
      "type": "number",
      "description": "gcj02 坐标系中心纬度"
    },
    "scale": {
      "type": "number",
      "description": "缩放级别，取值范围为 4-21 。动态设置 scale 值用法：scale=\"{= scale =}\"",
      "defaultValue": 16
    },
    "markers": {
      "type": "array.<marker>",
      "description": "标记点。详情请参考 marker"
    },
    "polyline": {
      "type": "array.<polyline>",
      "description": "路线。详情请参考 polyline"
    },
    "polygons": {
      "type": "array.<polygon>",
      "description": "多边形。详情请参考 polygon"
    },
    "circles": {
      "type": "array.<circle>",
      "description": "圆。详情请参考 circle"
    },
    "controls": {
      "type": "array.<control>",
      "description": "控件。详情请参考 control"
    },
    "include-points": {
      "type": "array.<point>",
      "description": "缩放视野以包含所有给定的坐标点"
    },
    "show-location": {
      "type": "boolean",
      "description": "显示带有方向的当前定位点",
      "defaultValue": false
    },
    "enable-3D": {
      "type": "boolean",
      "description": "显示 3D 楼块（工具暂不支持）",
      "defaultValue": false
    },
    "show-compass": {
      "type": "boolean",
      "description": "显示指南针（工具暂不支持）",
      "defaultValue": false
    },
    "enable-overlooking": {
      "type": "boolean",
      "description": "开启俯视（工具暂不支持）",
      "defaultValue": false
    },
    "enable-zoom": {
      "type": "boolean",
      "description": "是否支持缩放（工具暂不支持）",
      "defaultValue": true
    },
    "enable-scroll": {
      "type": "boolean",
      "description": "是否支持拖动（工具暂不支持）",
      "defaultValue": true
    },
    "enable-rotate": {
      "type": "boolean",
      "description": "是否支持旋转（工具暂不支持）",
      "defaultValue": false
    },
    "bindMarkerTap": {
      "tsType": "() => void",
      "description": "点击标记点时触发"
    },
    "bindCallOutTap": {
      "tsType": "() => void",
      "description": "点击标记点对应的气泡时触发"
    },
    "bindControlTap": {
      "tsType": "() => void",
      "description": "点击控件时触发"
    },
    "bindRegionChange": {
      "tsType": "() => void",
      "description": "视野发生变化时触发"
    },
    "bindTap": {
      "tsType": "() => void",
      "description": "点击地图时触发"
    },
    "bindUpdated": {
      "tsType": "() => void",
      "description": "在地图渲染更新完成时触发"
    },
    "bindPoiTap": {
      "tsType": "() => void",
      "description": "点击地图 poi 点时触发"
    }
  },
  "additionalProperties": false,
  "required": [
    "longitude",
    "latitude"
  ]
}