I have started experimenting with the Google Gears Geolocation API and
was successfully able to format a couple of JSON messages to the
server. I then start to pick a cell-id arbitrary. I was testing the
effect of the 'radio_type' parameter for GSM/WCDMA, these turns up
with the same location. I thought this was a bit strange because I
didn't expect the cell towers for different technologies to be
installed at the same location.
I also tried an invalid value for the 'radio_type', but it still came
back with the same result. Is there any way to tell if the API is
working correctly (ie. returning the correct expected location)?
Thanks,
Charles
--------------------
Request1:
{
"cell_towers": [{
"age": 0,
"cell_id": 22051,
"location_area_code": 300,
"mobile_country_code": 310,
"mobile_network_code": 890
}],
"host": "maps.google.com",
"radio_type": "wcdma",
"version": "1.1.0"
}
{
"access_token": "2:ZyxW7qLe9eSYAW4A:xCe1TZ9FoCZQpYLv",
"location": {
"accuracy": 5000,
"latitude": 44.777132,
"longitude": -117.803229
}
}
Request2:
{
"cell_towers": [{
"age": 0,
"cell_id": 22051,
"location_area_code": 300,
"mobile_country_code": 310,
"mobile_network_code": 890
}],
"host": "maps.google.com",
"radio_type": "gsm",
"version": "1.1.0"
}
{
"access_token": "2:hkrg60XjFBCsxtgj:xFdjIY-cFQsAyTXm",
"location": {
"accuracy": 5000,
"latitude": 44.777132,
"longitude": -117.803229
}
}
Request3:
{
"cell_towers": [{
"age": 0,
"cell_id": 22051,
"location_area_code": 300,
"mobile_country_code": 310,
"mobile_network_code": 890
}],
"host": "maps.google.com",
"radio_type": "x",
"version": "1.1.0"
}
{
"access_token": "2:07JW_fx2KZxSbUx5:Ya115zHD6R-e9ssB",
"location": {
"accuracy": 5000,
"latitude": 44.777132,
"longitude": -117.803229
}
}