提交 cb3db21e 编写于 作者: Y yixiangboy

Merge branch 'master' into optimization-3.0

......@@ -67,7 +67,7 @@
if (_operateView.switchView.on) {
CLLocationCoordinate2D coordinate = [[DoraemonCacheManager sharedInstance] mockCoordinate];
if (coordinate.longitude>0&&coordinate.latitude>0) {
if (coordinate.longitude != 0 && coordinate.latitude != 0) {
[_mapCenterView hiddenGPSInfo:NO];
[_mapCenterView renderUIWithGPS:[NSString stringWithFormat:@"%f , %f",coordinate.longitude,coordinate.latitude]];
[self.mapView setCenterCoordinate:coordinate animated:NO];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册