Hello,

I load a map with about 3000 markers.

I use the MarkerClusterer.

Some times the map is loading and some times I get this king of error:
 "Fatal error: Allowed memory size of 100663296 bytes exhausted (tried
to allocate 262282 bytes) in /home/".

Is 3000 marker a too big number of marker?

For each marker I write these 3 lines:

        var marker=new google.maps.Marker({position:new
google.maps.LatLng(51.049929,-114.0764486),map:gf_map,
title:'James'});
        google.maps.event.addListener(marker,'click',
(function(markerArg,content){return function()
{infoWindow.setContent(content); infoWindow.open(gf_map,
markerArg);axGetBubble(infoWindow,1728, 1,'MS_CB');};})(marker,
content));
        markers.push(marker);


3 lines * 3000 markers this give 9000 line in the source of the page.
What can I do to make this working 100% ?


Thanks in advance, pec76

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