バウンディング ボックスで検索します

メモ

API のエンドポイントは https://xyz.api.here.com/hubです。

バウンディング ボックスで検索しているときに、地図の四角形の領域でフィーチャが検索されています。

リクエスト

Swagger で試してください

GET /spaces/{spaceId}/bbox?west=-110&north=53&east=-130&south=50&tags=

応答

{
  "type": "FeatureCollection",
  "features": [
    {
      "id": "{featureId}",
      "bbox": [
        -116.055555555,
        51.170833333,
        -116.055555555,
        51.170833333
      ],
      "type": "Feature",
      "properties": {
        "name": "Stanley Peak",
        "@ns:com:here:xyz": {
          "tags": [
            "canada",
            "mountain"
          ],
          "space": "{spaceId}",
          "createdAt": 1529855977981,
          "updatedAt": 1529855977981
        }
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -116.055555555,
          51.170833333
        ]
      }
    },
    {
      "id": "{featureId}",
      "bbox": [
        -123.291,
        50.1203,
        -123.291,
        50.1203
      ],
      "type": "Feature",
      "properties": {
        "name": "Mount Cayley",
        "@ns:com:here:xyz": {
          "tags": [
            "canada",
            "mountain"
          ],
          "space": "{spaceId}",
          "createdAt": 1529855978027,
          "updatedAt": 1529855978027
        }
      },
      "geometry": {
        "type": "Point",
        "coordinates": [
          -123.291,
          50.1203
        ]
      }
    }
  ]
 }

」に一致する結果は 件です

    」に一致する結果はありません