摘要:
给Layer添加触摸事件可以在init方法中添加以下代码: auto touchlistener = EventListenerTouchOneByOne::create(); touchlistener->setSwallowTouches(true);//设置是否想下传递触摸 ... 阅读全文
posted @ 2016-01-08 20:54
沙影无痕
阅读(1195)
评论(0)
推荐(0)
摘要:
在 百度MapKit SDK 中的线路中有一个方法://根据polyline设置地图范围- (void)mapViewFitPolyLine:(BMKPolyline *) polyLine { CGFloat ltX, ltY, rbX, rbY; if (polyLine.point... 阅读全文
posted @ 2016-01-08 09:54
沙影无痕
阅读(306)
评论(0)
推荐(0)

浙公网安备 33010602011771号