Gar*_*ung 2 google-maps-markers google-maps-mobile google-maps-sdk-ios
我想更改谷歌地图iOS SDK的InfoWindow的宽度.反正有吗?
我想这样做的原因是在InfoWindow中显示完整的地址.有没有其他方法可以这样做而不是自定义InfoWindow?
另外,我可以在InfoWindow中更改文本大小吗?
至少,我希望达到这样的效果:http: //www.google.com/about/company/facts/locations/ ,也可以应用超链接.
将地图delegate设置为视图控制器,然后实现谷歌地图委托方法
-(UIView *)mapView:(GMSMapView *) aMapView markerInfoWindow:(GMSMarker*) marker
{
UIView *view = [[UIView alloc]init];
//customize the UIView, for example, in your case, add a UILabel as the subview of the view
return view;
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3574 次 |
| 最近记录: |