L
L
Leonid2016-09-20 12:36:20
Geolocation
Leonid, 2016-09-20 12:36:20

Geolocation in Phonegap/Cordova app - how to get location name?

There is a PhoneGap application created on the basis of the Framework7 interface.
In the application, it is necessary to allow the user to indicate his location in the form of the name of the settlement (without street and other things).
How to do it? The Cordova help: https://cordova.apache.org/docs/ru/3.1.0/cordova/g... only says about determining the coordinates - but how to determine the name of the settlement by coordinates?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
hoarywolf, 2016-09-20
@easycode

Ask google?

https://maps.googleapis.com/maps/api/geocode/json?latlng=37.3229978,-122.0321823&language=en

A
Anton Ulanov, 2016-09-20
@antonsr98

You need to use a third-party server for converting coordinates into names (geocoding), only nominatim comes to mind in haste. Read koo.fi/blog/2015/03/19/openstreetmap-nominatim-ser... there is a lot of useful map server device in terms of device, what software for what and how.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question