In the tutorial I can add the KML service from a external file KML specifying the URL. Is there a way to read a local file kml offline?
Thanks!
Matteo
It does not work. I've a file called "ProvaKMLNut.kml" in the res directory and I use
KmlUrlReader myKmlUrlReader = new KmlUrlReader("/ProvaKMLNut.kml?", false);
mapItem.addKmlService(myKmlUrlReader);
What is wrong?
What do you see in application log? Maybe there is something with the specific KML file?
I see no errors...
Can you give the KML file for review; send it to support@nutiteq.com
Any news?
I solve the problem by upgrade the library version from 0.10 to the newest 1.0.0.
Thanks for all!
Yes, you can. Copy the file to "res" of your application and use:
mapComponent.addKmlService(new KmlUrlReader("/File.kml?",false));
/JaakL