为了在放大前后执行一些操作,你需要添加MapEventsListener 的实例到MapWidget,使用MapWidget.removeMapEventsListener移除该监听器。

mapWidget.addMapEventsListener(new MapEventsListener() {
           
   public void onPreZoomOut() {
       // You can hide your map object's pop-up here
   }
           
   public void onPreZoomIn() {
       // You can hide your map object's pop-up here
   }
           
   public void onPostZoomOut() {
   }
           
   public void onPostZoomIn() {
   }
});

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-10
  • 2022-02-02
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-19
  • 2021-09-15
  • 2022-01-03
  • 2022-01-12
  • 2021-06-29
  • 2022-02-24
  • 2021-09-24
相关资源
相似解决方案