新目标c。我试图使用我在“路径”下面的坐标并在地图上绘制它。我该怎么办它似乎无法搞清楚?并且地图在AGSMapView上。这是我如何获得“路径”的代码
NSString *paths = [geometry objectForKey:@"paths"];
NSLog(@"paths:%@",paths);
这是我得到的坐标的一部分
paths:(
(
(
"18301.4400192143",
"36146.920029251"
),
(
"18885.8300193054",
"35820.7600307186"
),
(
"19550.6400166137",
"35448.3800265175"
),
(
"19679.1600169367",
"35397.5700324551"
),
(
"19731.7000154429",
"35383.8700317275"
),
(
"19799.2400170102",
"35381.1700292081"
),
(
"19812.3800146386",
"35385.4900271837"
),
(
"19828.5700186147",
"35394.3100268357"
),
(
"19856.8600198637",
"35412.300029967"
),
(
"19875.230014829",
"35468.1300296654"
),
(
"19885.4200190927",
"35519.1300309952"
),
(
"19887.8400200627",
"35531.2600314078"
),
(
"19924.030018031",
"35530.2000314836"
),
(
"20053.9000158305",
"35572.8800299838"
),
(
"20071.600021412",
"35586.4600257241"
),
(
"20078.7800184669",
"35595.3100285139"
)
MapKit仅适用于谷歌地图吗?
- *编辑 - 我认为应该如何将带坐标的地图绘制到地图的图层中。
请帮忙!感谢
答案 0 :(得分:0)
用户提到了AGSMapView,表明他使用的是ArcGis Runtime,而不是MapKit。 解决方案是构建AGSMutablePolygon然后将其添加到AGSGraphicsLayer。