0

I'm trying to add overlay view in MKMapView using KML file, for that i downloaded a sample code from apple site its working fine in given KML file But its not working other KML files which is i downloaded from internet here is that KML file. I test this KML in display-kml.appspot.com its showing the right overly but in iOS Example project is not showing

I hope some one can help from here.

Thank you..

Gurumoorthy Arumugam
  • 2,129
  • 1
  • 25
  • 40
  • The KML file you link to doesn't contain the actual data. It contains a link to a KMZ file which is a compressed KML file (basically a zip). The KMLViewer sample app doesn't automatically handle loading KMZ files. Download the KMZ, uncompress it, and use the KML file inside it with the KMLViewer. –  Aug 06 '14 at 11:40
  • Note the KMLViewer is just a _sample_ app -- it isn't perfect (eg. see http://stackoverflow.com/questions/6586579/kmlviewer-apples-example-not-working) and it's not "full-featured". You'll need to fix and enhance as needed yourself or find another ready-made KML parser. –  Aug 06 '14 at 11:40

0 Answers0