我们可以在iOS设备上使用Mapkit框架在Google地图上显示KML数据吗?

问题描述:

我有一个要求,我必须显示一些地图和一些与该地图相对应的数据。问题是后端服务器使用MapXtreme生成GIS数据,而iOS设备没有MapX客户端。服务器人告诉我他们可以发送KML文件来生成地图。

I have a requirement wherein I have to show some maps and some data corresponding to that maps. The problem is that the backend server uses MapXtreme to generate GIS data, and there is no MapX client for iOS devices. The server people tell me that they can send me KML files for generating the maps.

有没有办法使用KML文件在Google地图上使用Mapkit框架显示地理信息?

Is there any way to use KML files to display geographic information on Google maps using Mapkit framework?

编辑:
我在这个链接。在其中一个答案中,vy32共享了Google地球教程网站的链接,以创建一个KML文件。他还辩称,它可以在Mapkit中使用。问题仍然存在......我们该怎么办?

I have gone through a similar question in this link. In one of the answer vy32 shared a link of Google earth's tutorial site to create a KML file. He also argues that it can be used in Mapkit. The question remains ...how de we do it??

这里没有内置功能。 Apple提供示例代码,用于解析KML的一个子集你可以使用。

There's no built-in functionality for this. Apple provide sample code that parses a subset of KML that you can use.