0

I have a need where I am loading a kml file using geoXml3 parser.Initially I was using this synatx given below beacause my file was taken feom localhost and worked all fine.

geoXml1 = new geoXML3.parser({map: map,infoWindow: infowindow,singleInfoWindow: true,zoom: myGeoXml3Zoom, markerOptions: {optimized: false},createMarker: createMarker});
geoXml1.parse('central1.kml'); 

But now I have a need where the user uploads a KML file and it gets stored at a particular location for eg.D:/kmlUpload/stations.kml

Now I need to parse the file from this location.How should I do.I am new to this method.Please guide.

Neeti
  • 33
  • 1
  • 6
  • Loading files using XmlHttpRequest is browser specific, it will work in some browsers, not in others. You may be able to configure the browser to allow it (again depending on the browser. – geocodezip Jan 10 '14 at 12:56
  • http://stackoverflow.com/questions/6060786/file-url-cross-domain-issue-in-chrome-unexpected – geocodezip Jan 11 '14 at 10:02

0 Answers0