我已经创建了可拖拽的图钉注记,它工作得非常好,问题是我不想在单击特定按钮时拖放图钉,甚至不想重新加载地图,因为我在地图上有叠加,我使用了DDAnnotation类来实现可拖拽图钉
DDAnnotation *annotation = [[DDAnnotation alloc] initWithCoordinate:theCoordinate addressDictionary:nil];
annotation.title = @"Testing";
annotation.subtitle = @"Drag and Drop Pin";
[self.detailMapView addAnnotation:annotation];谢谢
任何帮助都将是非常感谢的!
发布于 2014-04-05 20:34:16
请设置注解setDraggable:否;
https://stackoverflow.com/questions/21623893
复制相似问题