For what its worth here is the function that loads my markers in the
simplest form with one marker:

      function loadWeatherMarkers() {
        var $src = 'http://maps.google.com/mapfiles/shadow50.png';
        var imageShw = new g.MarkerImage($src,
          new g.Size(37, 34),
          new g.Point(0,0),
          new g.Point(12, 34));

          if (incident_id != 0) { //add the incident if appropriate
            i = markers.length;
            var $src = 'http://maps.google.com/mapfiles/marker.png';
            var image = new g.MarkerImage($src,
              new g.Size(24, 34),
              new g.Point(0,0),
              new g.Point(12, 34));
            var myLatlng = new g.LatLng(incident_lat, incident_lng);
            markers[i] = new g.Marker({
              position: myLatlng,
              icon: image,
              shadow:imageShw,
              map: map_w,
              draggable: false,
              title: incident_name,
              id: incident_id,
              loc: incident_address,
              type:incident_cad_code,
              facility: 0,
              sar:0,
              wet: 0,
              cad: incident_status
            });
            markers[i].event = g.event.addListener(markers[i],
'click',
              function() {
                markerClick(this);
            });
          } //(incident_id != 0)
          wet_bounds.extend(markers[i].position);
          map_w.setCenter(wet_bounds.getCenter());
          map_w.fitBounds(wet_bounds);
      }

The marker appears but does not respond to click events.  Same is true
in Safari on Windows.

-- 
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