本文整理汇总了Java中org.osmdroid.bonuspack.overlays.InfoWindow类的典型用法代码示例。如果您正苦于以下问题:Java InfoWindow类的具体用法?Java InfoWindow怎么用?Java InfoWindow使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InfoWindow类属于org.osmdroid.bonuspack.overlays包,在下文中一共展示了InfoWindow类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: clearInfoWindow
import org.osmdroid.bonuspack.overlays.InfoWindow; //导入依赖的package包/类
public void clearInfoWindow(){
InfoWindow.closeAllInfoWindowsOn(map);
}
示例2: onOpen
import org.osmdroid.bonuspack.overlays.InfoWindow; //导入依赖的package包/类
@Override public void onOpen(Object item){
super.onOpen(item);
mView.findViewById(R.id.bubble_btn).setVisibility(View.VISIBLE);
InfoWindow.closeAllInfoWindowsOn(map);
}
示例3: setInfoWindow
import org.osmdroid.bonuspack.overlays.InfoWindow; //导入依赖的package包/类
/** Set the InfoWindow to be used.
* Default is a MyLocationNewOverlayInfoWindow, with the layout named "bonuspack_bubble".
* You can use this method either to use your own layout, or to use your own sub-class of InfoWindow.
* Note that this InfoWindow will receive the MyLocationNewOverlay object as an input, so it MUST be able to handle MyLocationNewOverlay attributes.
* If you don't want any InfoWindow to open, you can set it to null. */
public void setInfoWindow(InfoWindow infoWindow){
mInfoWindow = infoWindow;
}