lele24

cross-domain KML Problem

Discussion created by lele24 on Jan 4, 2012
Latest reply on Jan 8, 2012 by stefani88
Hi,

I have a problem to use kml file in my webpage. it shows the alert "Sorry.No feature found in KML file.". But when I try to create simple webpage.aspx and run, it is working. Please advise me what is missing. Thanks

function Overlay() {

            var kmlPath = "kml/Testing.kml";
//            alert(kmlPath);
            OneMap.overlayKML(kmlPath);
        }

Outcomes