Nearby Bus Stops on Google Maps on Android -


is there anyway query google maps list of bus stops (bus stop id, bus stop name) nearby based user's current location?

i able esri shape file http://www.mytransport.sg/. however, have no idea how use integrate these files android. read can integrate data esri shape file google maps using fusiontable. i've done have no idea how integrate fusiontable android application. not sure how these bus stops based on user's current location in fusiontable maps.

am going on right track? there other options me these bus stops information?

try this:

use below google api find out near bus stop locations

here have send current latitude , longitude values able near bus stop location details.

https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=13.0611704,80.28284059999999&radius=3&types=bus_station&sensor=true&key=aizasydvem91dvzcxp3wwylczn-vwlsgjvmmm8g 

and return this

{ "html_attributions" : [], "results" : [   {      "geometry" : {         "location" : {            "lat" : 13.06117,            "lng" : 80.282841         }      },      "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/generic_business-71.png",      "id" : "22b35bb733cc9e31e47f6e17aa57024be399b037",      "name" : "marina beach bus stop",      "place_id" : "chijx31rgkjoujor2_i4-omdm14",      "reference" : "cnroaaaakny_7uv5-1qhazsaakvbjgldquerco9enninjjnzmx4ghup2q6bl-glbwfxhvesdynodsiq2yt8e7g2sxzme6k7nb-kmsf73kwdcqtqooe-gblgp1u-85jhz4wyazl3dfcfwrecaqkoh5zr178fg4xiqofkovity6nfomhqkdsjiarourhbkhkxg2yjyepuvoqu5yr946xm",      "scope" : "google",      "types" : [ "bus_station", "transit_station", "establishment" ],      "vicinity" : "kamarajar promenade, marina beach, triplicane, chennai"   } ], "status" : "ok"  } 

Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -

javascript - Bootstrap Popover: iOS Safari strange behaviour -