Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 508 Bytes

File metadata and controls

24 lines (16 loc) · 508 Bytes

MAP_LOADED event

This event is fired after all tiles required to render the map have been fetched, and all labeling is complete.

Note that this event is fired only at once.

<div id="map_canvas"></div>
var div = document.getElementById("map_canvas");
var map = plugin.google.maps.Map.getMap(div);

map.one(plugin.google.maps.event.MAP_READY, function() {

  map.on(plugin.google.maps.event.MAP_LOADED, function() {
    alert("Map tiles are loaded");
  });

});