It's for a real estate web site.
Once the map is loaded ("load" - yet not visible), I immediately
obtain the map bounds (viewable area). I then send those bounds to my
database to query which homes are located within the viewable area of
the map and then display the homes are markers on the map.
If I wait until the map is fully visibility loaded (tilesloaded),
there is a noticeable perceived slowness in rendering because it's not
until the map has fully loaded visually that I can query for the
homes.
The "load" Event from API v2 let's me cheat in a sense and get a head
start on when I can query my homes database.
I did once look into using the static maps HTTP api to obtain the map
bounds but that API doesn't have a callback functionality, so it's
unusable for AJAX applications.
What I ultimately want to do is be able to query my homes database
with the map bounds as soon as possible because right now - my web
application has to wait until the Google Maps fully loads until it can
do anything. (If I can serialize this process - that's ideal)
Make sense?
On Jun 17, 12:01 am, "pamela (Google Employee)" <
pamela...@gmail.com>
wrote: