Reputation: 5622
I am wondering if there is anyway of getting the lat and lang of a place(on Gmaps, Bing, or something else) w/o using javascript since this needs to work through a REST API.
I cannot create a gMaps object (no javscript for the user).
Is there any way of sending an HTTP call to some google/bing api and get the lat and long(or set of possible values) in return?
Upvotes: 0
Views: 365
Reputation: 15639
Sure - you could use the maps api maps.googleapis.com/maps/api/geocode/json
and send requests with curl
Have a look at the Web-Serivce documentation
Upvotes: 2