santosfm
Joined: 16/07/2021 19:48:43
Messages: 1
Offline
|
Hi everyone,
I'm new to geonames. At the moment I'm trying to get points of interest given a certain latitude and longitude on a map. The app I'm working on allows the user to choose a country and it plots places of interest on the map
The following returns points of interest:
http://api.geonames.org/findNearbyPOIsOSMJSON?formatted=true&lat=37.451&lng=-122.18&username=demo
This doesn't return anything
http://api.geonames.org/findNearbyPOIsOSMJSON?formatted=true&lat=71.840945&lng=-42.752775&username=demo
I have tried many lat and lng and I'm not getting any results.
Do lat and lng have to be a certain format?
Many thanks in advance with any help anyone can give,
Filipe
|