How to enable CORS for Google Places API -


i have tried possible make app work without need "enable cors extension chrome". followed steps on google's official website talks of authtokens, tried using every different key, nothing works. following error:

xmlhttprequest cannot load https://maps.googleapis.com/maps/api/place/nearbysearch/json?key=mykey&location=33.854546,-84.35870369999999&types=restaurant&rankby=distance. no 'access-control-allow-origin' header present on requested resource. origin http://localhost:8100 therefore not allowed access.

is possible access google places api inside app, without cors extension chrome?

instead of cors, can use jsonp accomplish task.

please read following started: link1, link2


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -