Hi Chris,

I really appreciate your reply and will definitely look into the
performance improvements you suggest!

Our map had been running well for the past few months up until
recently, so wasn't sure if it was an API update that could have
caused it. But that said I will definitely give your advice a try.

Thank you again!

Regards,

Lawrence.



On Oct 19, 5:41 pm, Chris Broadfoot <[email protected]> wrote:
> Hi Lawrence
>
> First of all - great use of the Maps API. However, it appears there are a
> few performance problems with your implementation.
>
> From looking at the resource tracking graphs (using "Net" window in Firebug
> or "Resources" in WebKit) it appears that files are being served very very
> slowly from rootwireless.cnet.com. For example, jQuery seems to be taking 20
> seconds to load.
>
> A few suggestions:
> - load jquery and jquery-ui from Google AJAX APIs (1) - this will be much
> faster.
> - concatenate and compress your javascript (map_tiles.js, map.js,
> map_controls.js, map_data.js, map_overlays.js) so that they are loaded in
> one request. Compressing with the Closure compiler (2) would yield great
> results too.
>
> Sometimes, I see "Transferring data from rootwireless.cnet.com" in the
> status bar and this seems to be blocking domready (hence, the call to
> mapInits).
>
> One other suggestion - I think the large "Loading data" is unnecessary and
> detracts from the user experience. If you must have a loading indicator,
> make it less obtrusive (maybe a spinner in the corner of the map or
> something)
>
> Cheers
> Chris
>
> (1)http://code.google.com/apis/ajax/
> (2)http://code.google.com/closure/compiler/
>
> On Wed, Oct 20, 2010 at 10:15 AM, Lawrence <[email protected]> wrote:
> > Here is a publicly accessible version of the map in question. I've
> > noticed sporadic lock ups of the initial Google base map, which pauses
> > or aborts the loading of our subsequent overlay ImageMapType tiles and
> > even some of our javascript UI components.
>
> > This "lock up" is not something I've seen in the past. It was
> > something that I've noticed recently, possibly since the latest API
> > release on Oct 11, but I didn't see anything in particular in the API
> > changelog that could cause this issue.
>
> > If anyone has any ideas or areas we can further investigate, I would
> > greatly appreciate it!
>
> >http://rootwireless.cnet.com/cnet/
>
> > Thanks,
>
> > Lawrence.
>
> > On Oct 19, 5:26 am, Chad Killingsworth
> > <[email protected]> wrote:
> > > Nope. Need a link to your map to see what's going on.
>
> > > Chad Killingsworth
>
> > > On Oct 18, 11:56 pm, Lawrence <[email protected]> wrote:
>
> > > > Recently I have noticed an issue where some of the base map tiles do
> > > > not load or custom overlay map tiles do not load. This seems to cause
> > > > some of my ImageMapType tiles to not get downloaded or some of my
> > > > CustomMapType tiles to not get loaded. I assume my overlay map tiles
> > > > require the base map tiles to load first in order to coord parameters.
>
> > > > Has anybody else noticed any recent strange behavior with map tiles
> > > > not loading or causing your own javascript functions to abort?
>
> > > > Thanks!
>
> > --
> > 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]<google-maps-js-api-v3%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.

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