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

I have a requirement in which I have to show some cards and some data corresponding to these cards. The problem is that the backend server uses MapXtreme to generate GIS data, and there is no MapX client for iOS devices. Server users tell me that they can send me KML files to create maps.

Can I use KML files to display geographic information on Google maps using the Mapkit framework?

EDIT: I covered a similar question in this link. In one answer, vy32 shared a Google earth tutorial link to create a KML file. He also claims that it can be used in Mapkit. The question remains ... how do we do this?

+4
source share
2 answers

There are no built-in functions for this. Apple provides sample code that parses a subset of KML that you can use.

+7
source

The Google website may accept the kml URL instead of the street address. Do you think you are using webkit to display a Google web map?

Note. . kml url can be a CGI request in a database.

0
source

Source: https://habr.com/ru/post/1337427/


All Articles