Ju wrote: > Hi everyone. > > I'm working on the code from the example at > http://openlayers.org/dev/examples/sundials-spherical-mercator.html > > I'd really like the OpenLayers.Layer.Vector to read the KML file directly > from the disk, not via HTTP, because both the file and the page reside on my > own PC. > > Anyone could please tell me if there's a simple way to follow ? > > I'm really not into JS :) > > Thanks in advance to the users and the developers for this great project ! > > Ju
Have you tried setting the url to file:///path/to/file.kml I haven't tried this myself but I'd give it a try. -Steve _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users