Hi All,

Alright so I could probably write a novel about the background of the
info/feedback I am actually looking for but I think the easiest thing
to do is just put some basic info out there and respond to questions
that people have.

I'm working on a prototype map (http://dev.wt360.com/Maps/Interactive)
that will:

-allow users to overlay one variable at a time
-have an arbitrary # of time periods that can be looped via controls
on the page
-allow a user to dynamically adjust the opacity of the overlays
-only display tiles for 4 zoom levels

The sandbox version I linked to above is REALLY rough, so don't judge
me; not all variables work ATM :)  Also, pretty much all the google
maps related JS is in http://dev.wt360.com/js/maps-interactive-v3.js.

The way my process works is that - when a user requests a variable -
it creates a new overlay, or overwrites if one already exists at a
given index file, for each time period that variable contains.  Since
there can be as many as 15-16 periods for a given variable, the result
is lots and lots of tiles.  Once all tiles are loaded things are
surprisingly smooth as far as the animation but it can get ugly if a
user requests a new variable and tries to start the loop right away.

So there are 2 questions that I have:

1) Is there a better (performing) way to accomplish this?
2) Is there a way to somehow force the tiles needed for the existing
viewport to load for all overlays/periods before starting to pull
"nearby" tiles for overlays/periods whose viewport tiles have already
loaded.  Ok that made no sense.  Let's say I have 3 time periods.  The
flow I am looking for is:

-load viewport tiles for period 1
-load viewport tiles for period 2
-load viewport tiles for period 3
-load nearby tiles for period 1
-load nearby tiles for period 2
-load nearby tiles for period 3

I'm assuming that the API already does this but my implementation is
just garbage.  It could also just be that my end goal for all of this
is overly ambitious and attempting to load 256x256 tiles for 15-16
periods w/any sort of reasonable performance is simply the very
definition of insanity.

Thanks in advance for your help.

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to