Compare commits

...

3 Commits

Author SHA1 Message Date
crschmidt
7922c48608 Tag OpenLayers 2.5 Final Release.
git-svn-id: http://svn.openlayers.org/tags/openlayers/release-2.5@4899 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-09 17:45:37 +00:00
crschmidt
e65caac909 Pullup r4819 from trunk: fixing GeoJSON serializer breakage caused by draft4
update. (Closes #1062)


git-svn-id: http://svn.openlayers.org/branches/openlayers/2.5@4830 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-04 22:51:23 +00:00
crschmidt
4f62fdcfc8 Pullup for KML needs to automatically determine the namespace of the document
it is handling. (Closes #1044)


git-svn-id: http://svn.openlayers.org/branches/openlayers/2.5@4798 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-10-03 21:18:39 +00:00
113 changed files with 277 additions and 232 deletions

View File

@@ -2,8 +2,8 @@
OpenLayers.js -- OpenLayers Map Viewer Library OpenLayers.js -- OpenLayers Map Viewer Library
Copyright 2005-2007 MetaCarta, Inc., released under a modified BSD license. Copyright 2005-2007 MetaCarta, Inc., released under the BSD license.
Please see http://svn.openlayers.org/trunk/openlayers/repository-license.txt Please see http://svn.openlayers.org/trunk/openlayers/release-license.txt
for the full text of the license. for the full text of the license.
Includes compressed code under the following licenses: Includes compressed code under the following licenses:

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/* /*

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Cpyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Cpyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
// TRASH THIS // TRASH THIS

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**
@@ -447,7 +447,7 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, {
if(geojson.type == null) { if(geojson.type == null) {
geojson.type = "FeatureCollection"; geojson.type = "FeatureCollection";
if(element.layer && element.layer.projection) { if(element.layer && element.layer.projection) {
this.createCRSObject(element); geojson.crs = this.createCRSObject(element);
} }
} else if(geojson.type != "FeatureCollection") { } else if(geojson.type != "FeatureCollection") {
OpenLayers.Console.error("FeatureCollection only supports collections of features: " + element); OpenLayers.Console.error("FeatureCollection only supports collections of features: " + element);
@@ -469,7 +469,7 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, {
} else if (obj instanceof OpenLayers.Feature.Vector) { } else if (obj instanceof OpenLayers.Feature.Vector) {
geojson = this.extract.feature.apply(this, [obj]); geojson = this.extract.feature.apply(this, [obj]);
if(obj.layer && obj.layer.projection) { if(obj.layer && obj.layer.projection) {
this.createCRSObject(obj); geojson.crs = this.createCRSObject(obj);
} }
} }
return OpenLayers.Format.JSON.prototype.write.apply(this, return OpenLayers.Format.JSON.prototype.write.apply(this,
@@ -479,20 +479,28 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, {
/** /**
* Method: createCRSObject * Method: createCRSObject
* Create the CRS object for an object. * Create the CRS object for an object.
*
* Parameters:
* object - {<OpenLayers.Feature.Vector>}
*
* Returns:
* {Object} An object which can be assigned to the crs property
* of a GeoJSON object.
*/ */
createCRSObject: function(object) { createCRSObject: function(object) {
var proj = object.layer.projection; var proj = object.layer.projection;
var crs = {}
if (proj.match(/epsg:/i)) { if (proj.match(/epsg:/i)) {
var code = parseInt(proj.substring(proj.indexOf(":") + 1)); var code = parseInt(proj.substring(proj.indexOf(":") + 1));
if (code == 4326) { if (code == 4326) {
geojson.crs = { crs = {
"type": "OGC", "type": "OGC",
"properties": { "properties": {
"urn": "urn:ogc:def:crs:OGC:1.3:CRS84" "urn": "urn:ogc:def:crs:OGC:1.3:CRS84"
} }
}; };
} else { } else {
geojson.crs = { crs = {
"type": "EPSG", "type": "EPSG",
"properties": { "properties": {
"code": code "code": code
@@ -500,6 +508,7 @@ OpenLayers.Format.GeoJSON = OpenLayers.Class(OpenLayers.Format.JSON, {
}; };
} }
} }
return crs;
}, },
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**
@@ -48,6 +48,13 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* {Boolean} Extract attributes from KML. Default is true. * {Boolean} Extract attributes from KML. Default is true.
*/ */
extractAttributes: true, extractAttributes: true,
/**
* Property: internalns
* {String} KML Namespace to use -- defaults to the namespace of the
* Placemark node being parsed, but falls back to kmlns.
*/
internalns: null,
/** /**
* Constructor: OpenLayers.Format.KML * Constructor: OpenLayers.Format.KML
@@ -83,7 +90,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
data = OpenLayers.Format.XML.prototype.read.apply(this, [data]); data = OpenLayers.Format.XML.prototype.read.apply(this, [data]);
} }
var featureNodes = this.getElementsByTagNameNS(data, var featureNodes = this.getElementsByTagNameNS(data,
this.kmlns, '*',
"Placemark"); "Placemark");
var numFeatures = featureNodes.length; var numFeatures = featureNodes.length;
var features = new Array(numFeatures); var features = new Array(numFeatures);
@@ -116,7 +123,10 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
var type, nodeList, geometry, parser; var type, nodeList, geometry, parser;
for(var i=0; i<order.length; ++i) { for(var i=0; i<order.length; ++i) {
type = order[i]; type = order[i];
nodeList = this.getElementsByTagNameNS(node, this.kmlns, type); this.internalns = node.namespaceURI ?
node.namespaceURI : this.kmlns;
nodeList = this.getElementsByTagNameNS(node,
this.internalns, type);
if(nodeList.length > 0) { if(nodeList.length > 0) {
// only deal with first geometry of this type // only deal with first geometry of this type
var parser = this.parseGeometry[type.toLowerCase()]; var parser = this.parseGeometry[type.toLowerCase()];
@@ -165,7 +175,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* {<OpenLayers.Geometry.Point>} A point geometry. * {<OpenLayers.Geometry.Point>} A point geometry.
*/ */
point: function(node) { point: function(node) {
var nodeList = this.getElementsByTagNameNS(node, this.kmlns, var nodeList = this.getElementsByTagNameNS(node, this.internalns,
"coordinates"); "coordinates");
var coords = []; var coords = [];
if(nodeList.length > 0) { if(nodeList.length > 0) {
@@ -200,7 +210,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* {<OpenLayers.Geometry.LineString>} A linestring geometry. * {<OpenLayers.Geometry.LineString>} A linestring geometry.
*/ */
linestring: function(node, ring) { linestring: function(node, ring) {
var nodeList = this.getElementsByTagNameNS(node, this.kmlns, var nodeList = this.getElementsByTagNameNS(node, this.internalns,
"coordinates"); "coordinates");
var line = null; var line = null;
if(nodeList.length > 0) { if(nodeList.length > 0) {
@@ -254,7 +264,7 @@ OpenLayers.Format.KML = OpenLayers.Class(OpenLayers.Format.XML, {
* {<OpenLayers.Geometry.Polygon>} A polygon geometry. * {<OpenLayers.Geometry.Polygon>} A polygon geometry.
*/ */
polygon: function(node) { polygon: function(node) {
var nodeList = this.getElementsByTagNameNS(node, this.kmlns, var nodeList = this.getElementsByTagNameNS(node, this.internalns,
"LinearRing"); "LinearRing");
var numRings = nodeList.length; var numRings = nodeList.length;
var components = new Array(numRings); var components = new Array(numRings);

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD licence. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD licence.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD licence. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD licence.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */
/** /**

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

View File

@@ -1,5 +1,5 @@
/* Copyright (c) 2006-2007 MetaCarta, Inc., published under a modified BSD license. /* Copyright (c) 2006-2007 MetaCarta, Inc., published under the BSD license.
* See http://svn.openlayers.org/trunk/openlayers/repository-license.txt * See http://svn.openlayers.org/trunk/openlayers/release-license.txt
* for the full text of the license. */ * for the full text of the license. */

Some files were not shown because too many files have changed in this diff Show More