Try to
1. reduce

<markers><marker id="1" lat="56.2494" lng="-4.78255" html="&lt;div 
class=&quot;clearfix&quot;&gt;&lt

;div class=&quot;clearfix&quot;&gt;     &lt;div 
class=&quot;float-left&quot;&gt;Posted by Mike&lt;/div&gt;

                                                &lt;div 
class=&quot;float-right&quot; 

                                                        
style=&quot;background-color: &quot;green;&quot;&gt;

                                                        Admin

                                                &lt;/div&gt;

                                        &lt;/div&gt;&lt;/div&gt;" title="Ben 
Vane" markertype="5" markercolor="1"></marker>
.................

return only id, lat, lng, markertype with no css style  

2. get part markers using for or while loop... about 20 markers in one loop, 
show on map, get next loop...


I have no good idea for that problem. You may try other ways.

But now my browser is not respodning when markers loads and PNG loads about 22 
seconds (sic!).

Best regards, pbaker


> Cheers for the replies guys.
>  
> Yes, if you look at my code, I AJAX'd it up a bit, but its still 
> slow.  I've even tried using static PNG files but all this still seems 
> to slow.
> I think its the many-markers thats the slow down, but I can't figure 
> out where.  I've even tried preloading the static image in the HTML 
> page, and delaying the JS to initialise the map, in an attempt to 
> cache the marker image.  But still no joy.
>  
> As you can see the zoom is over Scotland, and there are a few markers 
> all cluttered together, perhaps I should look into clustering?  Is 
> this 'easy' enough??
>  
> Cheers again for the help guys,
> Will
>
>     ----- Original Message -----
>     *From:* Piotr Piekarz <mailto:[EMAIL PROTECTED]>
>     *To:* [email protected]
>     <mailto:[email protected]>
>     *Sent:* Tuesday, September 30, 2008 8:28 AM
>     *Subject:* Re: Many Markers - optimisation tips
>
>     Hi, http://tgo.waracle.net/mountains/ajax/getdata.php?all why html
>     (get with firebug console)? Try xml or json (table) and get only
>     coords, point type (for icon), then if user put mouse over the
>     icon (why generated with php? use static image png) then get data
>     for that point using ajax.
>
>     sorry, my english is not good ;)
>     best regards, pbaker
>
>>     Hey guys,
>>
>>     I'm kind of new to this group, and I don't know if this is the best 
>> place to 
>>     ask so I'll just come out and ask.  I am integrating googleMaps into a 
>>     clients website that is to plot markers for every mountain in UK.  
>> However 
>>     it is running REALLY slow when I load them.
>>
>>     It sometimes loads in around 300 markers, takes about 5-10 seconds, and 
>>     locks up the browser too.
>>
>>     The url is here:  http://tgo.waracle.net/mountains/?all
>>
>>     Does anyone have any ideas on how to load them quicker? or any other 
>>     optimisation tips.
>>
>>     Thanks in advance,
>>     William from Dundee
>>
>>     ----- Original Message ----- 
>>     From: <[EMAIL PROTECTED]>
>>     To: "Google Maps API" <[email protected]>
>>     Sent: Tuesday, September 30, 2008 6:48 AM
>>     Subject: Re: GBrowserIsCompatible
>>
>>
>>
>>     On Sep 29, 10:27 pm, baskar <[EMAIL PROTECTED]> wrote:
>>       
>>>     hi,
>>>
>>>     GBrowserIsCompatible return false in all browser ....
>>>     how to correct this?...
>>>         
>>
>>     What browsers are "all browser" (it doesn't return false in any of the
>>     ones installed on my computer)?
>>
>>     Perhaps you could enlighten us as to how you are using it.  If you
>>     read the posting guidelines, they suggest posting a link to a map that
>>     exhibits the issue.
>>
>>       -- Larry
>>
>>
>>
>>
>>
>>       
>
>
>     >

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

Reply via email to