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

7.8k views Asked by At

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

2

There are 2 answers

1
Jim On BEST ANSWER

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

0
Johnston On

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.