Hello everybody,
basic 'Hello world!' example of Google Maps just needs this
HTML Code:
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAqR1nX_NlwheZVMQZ2f4kbBTd24XU3_wryrcVRJBZ1ribQ3xgWxSc12QTZxxOi6eX8OHF5FFLNH6YXg" type="text/javascript"></script>
<script type="text/javascript">
  //<![CDATA[

  function load() {
    if (GBrowserIsCompatible()) {
      var map = new GMap2(document.getElementById("map"));
      map.setCenter(new GLatLng(41.8595, 12.481), 17);
    }
  }

  //]]>
</script>
They don't force me to use any proxy scripting on my server.
It's clear that they turn the static <script> src attribute into a dynamic call to a server side script. Fine.
So we get a dynamic content to be rendered on our page. Fine.
Images are all retrieved by eternal Google server, since we can get <img> with external src attributes. Fine.
But:
how is it possible then to interact with the remote script? How can a javascript that runs on my browser pointing to my own domain make a call to a remote script residing on an external domain? This should be forbidden by Firefox and IE, but it isn't, as every Google Maps API user like can see.
Any idea about the workaround used here?