Cell and WLAN Positioning
User Story
The user wants to determine the WGS-84 compliant coordinates defined by the LTE and WLAN information in the POST body.
Request
The code block below demonstrates a POST request to define the geocoordinates as specified by the Cell and WLAN information in the POST body. You need to set the following HTTP Header:
Content-Type: application/json
. https://pos.api.here.com/positioning/v1/locate?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE}
This POST request requires the following POST body. {
"lte": [{
"mcc": 262,
"mnc": 2,
"cid": 2898945
}],
"wlan": [
{"mac": "F4-55-95-11-2C-C1"}
]
}
Response
The response to the request contains:
lat
: WGS-84 compliant latitude coordinatelong
: WGS-84 compliant longitude coordinateaccuracy
: Radius of the uncertainty circle around the position in meters
{
"location": {
"lat": 52.5185859,
"lng": 13.37626219,
"accuracy": 217
}
}