Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Azure Maps] Add the boundingBox type to Search #16930

Merged
merged 2 commits into from
Dec 7, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 36 additions & 3 deletions specification/maps/data-plane/Search/preview/1.0/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -2438,9 +2438,7 @@
"readOnly": true
},
"boundingBox": {
"description": "Bounding box coordinates.",
"type": "object",
"readOnly": true
"$ref": "#/definitions/BoundingBoxCompassNotation"
}
}
},
Expand Down Expand Up @@ -2472,6 +2470,41 @@
}
}
},
"BoundingBoxCompassNotation": {
"description": "The bounding box of the location.",
"type": "object",
"readOnly": true,
"properties": {
"northEast": {
"description": "North-east (top-left) latitude,longitude coordinate of the bounding box as comma-separated floats",
"type": "string",
"readOnly": true
},
"southWest": {
"description": "South-west (bottom-right) latitude,longitude coordinate of the bounding box as comma-separated floats",
"type": "string",
"readOnly": true
},
"entity": {
"description": "Entity type source of the bounding box. For reverse-geocoding this is always equal to position.",
"type": "string",
"readOnly": true,
"enum": [
"position"
],
"x-ms-enum": {
"name": "Entity",
"modelAsString": true,
"values": [
{
"value": "position",
"description": "Position entity"
}
]
}
}
}
},
"EntryPoint": {
"description": "The entry point for the POI being returned.",
"type": "object",
Expand Down