0

在谷歌地图中,​​我想一次绘制 100 个或更多引脚,现在我正在使用 for 循环手动绘制所有引脚,这需要更多时间。是否可以一次绘制所有引脚

  for (KZObject *flt in arrayList){
 GMSMarker *marker = [[GMSMarker alloc] init];
        marker.position = r1;
        marker.title = [NSString stringWithFormat:@"%@",flt.cvId];
        marker.appearAnimation = YES;
                marker.icon = [UIImage imageNamed:@"annotationIcon_p"];
 marker.map = self.mapview;
}
4

1 回答 1

0
{"zoom":17,"tilt":0,"mapTypeId":"roadmap","center":{"lat":51.48258734258928000,"lng":-3.15550769507571800},"overlays":
[
{"type":"marker","title":"","content":"","position":{"lat":51.48258734258928000,"lng":-3.15550769507571800}},
{"type":"marker","title":"","content":"","position":{"lat":51.48341717170673000,"lng":-3.15433334291887800}},
{"type":"marker","title":"","content":"","position":{"lat":51.48240026213740000,"lng":-3.15533015030956900}},
{"type":"marker","title":"","content":"","position":{"lat":51.48316744527602000,"lng":-3.15412541474515500}},
{"type":"marker","title":"","content":"","position":{"lat":51.48265396827342000,"lng":-3.15147700313981100}},
{"type":"marker","title":"","content":"","position":{"lat":51.48182419769601000,"lng":-3.14990078269657700}},
{"type":"marker","title":"","content":"","position":{"lat":51.49180210780110000,"lng":-3.17291056975810400}}
]}  

尝试这个

Blits Gmap 编辑器

于 2014-07-16T09:36:11.263 回答