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