textdriven wrote:
> Hi,
>
> I have a map with about 816 markers. It takes a while to load.
>
> http://map.kadampa.org/maps/
>
> Is there anyway to optimize this?
>
> Also the map doesn't zoom out to display the whole map. It's zoomed on
> another part and missing Europe.
>
> Thanks
In general not showing too much at once is very much a guessing game and 
Randy is right (
conventional wisdom puts the number of markers reasonable as far fewer.. 
than 800.)
you dont see much map either with 800 32x32 blots on it.

How slow is slow is highly dependent on your machine and even browser 
choice...For me in Firefox
the page loads quite reasonably... where as with Internet explorer it 
hits the script timeout
mechanism internet explorer is far slower than everyone else hands down
 (it looks like while trying to run the clustering code),  The 
clustering code is a
bit old in GeoXml, I rather want to update it with a different method I 
think I have seen
it cause problems on occasion instead of help you might try setting the 
defaultMaxVisibleMarkers
higher so that it doesnt try actually clustering.

before running parse() 
Clusterer.defaultMaxVisibleMarkers =  1000;
//this would stop the clustering from activating to test the theory above

To get control of the initial map position I recommend setting it a 
global view and passing
nozoom:true

You could use markermanager in combination with  geoxml, by passing a 
function  via addmarker option
to GeoXml.

I am considering supporting MarkerLight markers directly


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

No virus found in this outgoing message.
Checked by AVG - www.avg.com
Version: 8.5.392 / Virus Database: 270.13.25/2256 - Release Date: 07/23/09 
06:02:00

Reply via email to