Hi,

When I creaet some markers on my api v3 map they appear fine but can
dissapear when I zoom in using IE 6...any ideas why this may be
happening.

I am calling the initialize method from  a
jQuery(document).ready(function() {

Thanks,
Jerry



  <script type="text/javascript">
    var map;
  function initialize() {
    var myLatlng = new google.maps.LatLng(23.4148525,-56.29938);
    var myOptions = {
      zoom: 8,
      center: myLatlng,
      mapTypeId: google.maps.MapTypeId.ROADMAP
    }
     map = new google.maps.Map(document.getElementById("map_canvas"),
myOptions);

    for (var i = 0; i < locationList.length; i++) {
        var args = locationList[i].split(",");
        var location = new google.maps.LatLng(args[0], args[1])
        var marker = new google.maps.Marker({
            position: location,
            map: map
        });
        var j = i + 1;
        marker.setTitle(message[i].replace(/(<([^>]+)>)/ig,""));
        attachMessageWin(marker, i);
    }
    }


    function attachMessageWin(marker, number) {
        var infowindow = new google.maps.InfoWindow(
            { content: message[number],
            size: new google.maps.Size(50, 50)
        });
        google.maps.event.addListener(marker, 'click', function() {
        infowindow.open(map, marker);
    });
    }

    </script>

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