Thanks much!

I finally got it working with the following:
   tileLayer.getTileUrl = function(point, zoomLevel) {
      var projection = new GMercatorProjection(20);
      var nwLatLng = projection.fromPixelToLatLng(new GPoint(point.x *
256, point.y * 256), zoomLevel);
      var seLatLng = projection.fromPixelToLatLng(new GPoint((point.x
+ 1) * 256, (point.y + 1) * 256), zoomLevel);
      var n = nwLatLng.lat();
      var s = seLatLng.lat();
      var w = nwLatLng.lng();
      var e = seLatLng.lng();
      return "http://localhost/gettile?nLat="; + n + "&sLat=" + s +
"&eLon=" + e + "&wLon=" + w;
   };

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to