php - google maps api suddenly stopped working -
there wierd situation ... working , googlemaps api stopped working
$('input#find_location_button').on('click', function () { .... script value of input field , store in data_to_send.... data_to_send['sensor'] = 'false'; // alert(json.stringify(data_to_send)); alert shows fine $.ajax({ url: 'http://maps.googleapis.com/maps/api/geocode/json', datatype: 'json', data: data_to_send, type: 'get', success: function (data) { alert(data); // nil ... .... proper closing tags ...
i have no thought why ajax request stopped working ... in firbug console shows nil ... no request posted ... ideas?
perhaps issue missing cors http header explains why stopped working.
google geocoding web service not including access-control-allow-origin:* in http header responses, service cannot cross-domain accesed javascript. until lastly week friday, header included.
start issue if problem.
php google-maps
No comments:
Post a Comment