Re: [Google Maps API v3] HTTP GET request to Google Maps directions API gives CORS error

2017-09-24 Thread Andrew Leach
On Sun, Sep 24, 2017, at 13:29, Amit Singh wrote: > Through angular js i'm making a $http.get request to the maps > directions api and i'm getting this error >> XMLHttpRequest cannot load >> https://maps.googleapis.com/maps/api/directions/json?origin=12.9330966756336,77.6308643817902&destination=12

[Google Maps API v3] HTTP GET request to Google Maps directions API gives CORS error

2017-09-24 Thread Amit Singh
Through angular js i'm making a $http.get request to the maps directions api and i'm getting this error > > XMLHttpRequest cannot load > https://maps.googleapis.com/maps/api/directions/json?origin=12.9330966756336,77.6308643817902&destination=12.931329492531,77.6295876502991&mode=walking&sensor=