On Sep 28, 7:41 am, jimmyt1988 <[email protected]> wrote:
> Ok a better question may have been: Is there a callback after the map
> has completely loaded. For example I might want to say "google maps
> has completely loaded".

No (at least not now).  This thread has a discussion of that:
http://groups.google.com/group/google-maps-js-api-v3/browse_frm/thread/a6fe7d22d50de69f/64f822e9e83bc38f?lnk=gst&q=geodesic#64f822e9e83bc38f
see Ben Appleton's comments starting around post #12.

  -- Larry

>
> On Sep 28, 2:06 pm, jimmyt1988 <[email protected]> wrote:
>
>
>
> > Hi all,
>
> > I need to do a function after the google maps controls have loaded...
> > I found tilesloaded but am unsure of how to implement it. Basically
> > looking for a callback of when google maps scripts have finished doing
> > their jazz.
>
> > var latlng = new google.maps.LatLng(32.505338, -98.349152);
> >     var myOptions = {
> >         zoom: 4,
> >         center: latlng,
> >         mapTypeId: google.maps.MapTypeId.SATELLITE,
> >         navigationControl: true,
> >         scrollwheel: false,
> >         navigationControlOptions: {
> >             style: google.maps.NavigationControlStyle.DEFAULT,
> >             position: google.maps.ControlPosition.RIGHT
> >         },
> >         tilesloaded : function(){
> >             alert("hi");
> >             customiseLargeMapControl();
> >         }
> >     };
> >     var map = new
> > google.maps.Map(document.getElementById("map_canvas"),
> >         myOptions);
>
> > Any tips?- Hide quoted text -
>
> - Show quoted text -

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