On Sep 28, 7:41 am, jimmyt1988 <
jamestrus...@hotmail.co.uk> 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:
>
> On Sep 28, 2:06 pm, jimmyt1988 <
jamestrus...@hotmail.co.uk> 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);
>