I am having a problem displaying a radisu around a marker in maps
the code i use is below

---------
  window.onload = function()
{
    initialize(); initShowHideDivs()
}

  var map = null;
  var geocoder = null;


  function initialize() {
  if (GBrowserIsCompatible()) {
  map = new GMap2(document.getElementById("map_canvas"));
  map.setCenter(new GLatLng(0, 0), 12);
  map.addControl (new GSmallMapControl ());
  geocoder = new GClientGeocoder();
  var address=' [postcode.drains], UK';

  if (geocoder) {
  geocoder.getLatLng(
  address,
  function(point) {
  if (!point) {
  alert(address + " not found");
  } else {
  map.setCenter(point, 12);
  var marker = new GMarker(point);
  map.addOverlay(marker);

  var circle = new google.maps.Circle({    radius: 1000,
strokeColor: "#FF0000",      strokeOpacity: 0.8,      strokeWeight:
2,      fillColor: "#FF0000",      fillOpacity: 0.35,      map:
map   });
  circle.bindTo('center', marker, 'position');
map.addOverlay(circle);
  }
  }
  )
  }
  }
  }

--------------

the site i am testing on is oxford.able-drainage.co.uk

can anyone see where i am going wrong
thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to