CGPoint point = [mapView.projection pointForCoordinate:marker.position];
点错值
打印点描述:(CGPoint) point = (x=3111.020020, y=-1354.228271)
请帮帮我
答案 0 :(得分:2)
首先将GMSMarker
设置为所有标记集,以便在1或2之后的延迟中调用方法
[NSTimer scheduledTimerWithTimeInterval:1.0f
target:self
selector:@selector(Setviewmarker:)
userInfo:nil
repeats:NO];
CGPoint point = [mapView.projection pointForCoordinate:marker.position];
point.x
和point.y
是位置写入.......