我们可以在iOS设备上使用Mapkit框架在Google地图上显示KML数据吗? [英] Can we display KML data on Google maps using Mapkit framework on iOS devices?

查看:125
本文介绍了我们可以在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.

这篇关于我们可以在iOS设备上使用Mapkit框架在Google地图上显示KML数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆