What I'm doing and what I've tried
I'm using Google Geo coding web service to get the latitude and longitude of an address I pass, like this:
$.getJSON("http://maps.googleapis.com/maps/api/geocode/json?address=Boston&sensors=true",function(data){
//Do my programming here
});
It was, for some reason working perfectly, initially, but then it stopped working and and I discovered this was the issue, that is using Google client side API.
I also read the answer on that SO question, which says the <script>
tags help get over the cross site scripting issue.
My problem :
I'm using RequireJs, so I include the files like this :
var Google = require("http://maps.google.com/maps/api/js?sensor=false");
So, how do I get my Google API working again and how do I do that with requireJS