final KMLLayer kmlLayer = new KMLLayer("C:\\KML_Samples.kml", map.getSpatialReference()); layers.add(kmlLayer);
Was searching the forums and this thread was relevant to me. (I'm using the ArcGIS API for JavaScript 3.38, BTW.) I'm having the problem that I am indeed "serving" up KML via a local web server but am getting "File not found. Wrong url or out of memory" errors. I think my issue is that my local web server is not "publicly accessible" but is on a closed network. We do have our own ArcGIS Portal installed on our "closed" network, etc. Just wanted to know if this was my issue.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.