This project is read-only.

Image Overlay from server side

Aug 6, 2009 at 3:59 PM

Hello:

Can i do something like this from serve side?

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<title>Sin título 1</title>
</head>
<body onload="load()">
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=[MyKey]" type="text/javascript"></script>
<script type="text/javascript">
 function load()
 {
  var pointCenter = new GLatLng(37.929034,15.427551);
  var map = new GMap2(document.getElementById("map"));
  map.setCenter(pointCenter, 7);
  var pointSW = new GLatLng(37.509726,14.117432);
  var pointNE = new GLatLng(38.22092,15.600586);
  var groundOverlay = new GGroundOverlay("http://bbs.keyhole.com/ubb/z0302a1700/etna.jpg", new GLatLngBounds(pointSW, pointNE));
  map.addOverlay(groundOverlay);
 }
</script>
<div id="map" name="map" style="height:600px;width:800px;">
</div>
</body>
</html>

thanks in advance
JME