Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jquery ui 如何为google maps v3使用TileLoaded事件_Jquery Ui_Events_Google Maps Api 3_Jquery Events - Fatal编程技术网

Jquery ui 如何为google maps v3使用TileLoaded事件

Jquery ui 如何为google maps v3使用TileLoaded事件,jquery-ui,events,google-maps-api-3,jquery-events,Jquery Ui,Events,Google Maps Api 3,Jquery Events,这里我有一个代码: <script> $(function() { $( "#photo" ).resizable(); $( "#photo" ).draggable({revert: 'invalid'}); $( "#left" ).droppable({ accept: '#photo', drop: function( event, ui ) { $( this ) .find( "p" )

这里我有一个代码:

<script>

$(function() {
    $( "#photo" ).resizable();
  $( "#photo" ).draggable({revert: 'invalid'});
    $( "#left" ).droppable({
      accept: '#photo',
      drop: function( event, ui ) {
        $( this )
          .find( "p" )
            .html( "Dropped!" );
      }
    });
  });    
    </script>

$(函数(){
$(“#照片”).resizeable();
$(“#photo”).draggable({revert:'invalid'});
$(“#左”)。可拖放({
接受:“#照片”,
drop:函数(事件、用户界面){
$(本)
.查找(“p”)
.html(“已删除!”);
}
});
});    
这段代码我必须在完全加载GoogleMaps之后运行,所以我需要为这段代码“连接”tilesloaded事件

但是如何做到这一点呢?

下面是代码

google.maps.event.addListener(map, 'tilesloaded', function() {
  doWhatYouWant();
});