the constructor InfoWindow(TextView,LatLng,int,new InfoWindow.OnInfoWindowClickListener(){}) is undefined
跪求the constructor InfoWindow(TextView,LatLng,int,new InfoWindow.OnInfoWindowClickListener(){}) is undefined如何解决,需要改成什么?求指点!
跪求the constructor InfoWindow(TextView,LatLng,int,new InfoWindow.OnInfoWindowClickListener(){}) is undefined如何解决,需要改成什么?求指点!
2015-03-08
百度sdk已经更新了,现在用的是4个参数的,且将text转换下BitmapDescriptor btv = BitmapDescriptorFactory.fromView(tv);
public InfoWindow(BitmapDescriptor bd, LatLng position,
int yOffset, InfoWindow.OnInfoWindowClickListener listener)
参数:
bd - InfoWindow 展示的bitmap
position - InfoWindow 显示的地理位置
yOffset - InfoWindow Y 轴偏移量
listener - InfoWindow 点击监听者
--------------------------------------------------------------------------------------------------
参考:http://wiki.lbsyun.baidu.com/cms/androidsdk/doc/v3_3_0/index.html?com/baidu/mapapi/map/class-use/InfoWindow.OnInfoWindowClickListener.html
举报