语言

Menu
Sites
Language
How to get the inverse GPS location?

Hi All,

I can get the latitude & longitude via the location manager api location_manager_get_location.

I want to use this latitude and longitude value the get the detail address info(such as: street, city, country), I just guess maybe there is a web api to afford such services(like the google map), but I don't know is there a way to implement such case on Tizen Native application.

Did any one have done such case? Many thanks for your sharing or suggestion. :)

响应

4 回复
daniel kim

Hi,

As Nokia annouced Herer Maps for Tizen based device,  I think that Geocoder API can offer an address by coordinate.

  https://developer.here.com/rest-apis/documentation/geocoder/topics/overview.html

I wish this will help you.

Alex Dem

Hi,
fyi: I did not face such native api (only location manager api).
Alexey.

colin Rao

Hi,

I've checked the Nokia here reverse geocode api, seems it's base on a http service, and return a xml format file as a result.

So, for Tizen Naitve app, it's need a http request and xml parser lib/api set to support it. Any more suggestion, many thanks!

Alex Dem

Hi, just fyi:
1) Maybe in this case for http request  you could try to use curl:
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__OPENSRC__CURL__FRAMEWORK.html
and one more topic regarding curl: https://developer.tizen.org/forums/native-application-development/code-http-request-native-2.3

2) For xml parse you could try to use Simple_XML :
https://developer.tizen.org/dev-guide/2.3.0/org.tizen.mobile.native.apireference/group__Eina__Simple__XML__Group.html
Alexey.