简体   繁体   中英

Can we display KML data on Google maps using Mapkit framework on iOS devices?

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.

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

EDIT: 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??

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

Google web can take a kml URL in place of a street address.Have you considered using webkit to show Google web map?

Note: The kml url can be a CGI query into a database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM