I'm using the script below to read a KML file. The closing </description>
marks in the file have a page break before them. This results in the
descriptions not being read by the script below. This problem does not
occur when reading the file with Google Earth. Is this a problem with
Openlayers, or is Openlayers following stricter XML syntax requirements?
var real = new OpenLayers.Layer.Vector("Neuse", {
projection: map.displayProjection,
strategies: [new OpenLayers.Strategy.Fixed()],
protocol: new OpenLayers.Protocol.HTTP({
url: "real.kml",
format: new OpenLayers.Format.KML({
extractStyles: true,
extractAttributes: true
})
})
});
Thanks
Jim
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users