Ensure that GeoRSS format does not fail when reprojection null geometries.
patch=Edgemaster, ar=me (Closes #1258) git-svn-id: http://svn.openlayers.org/trunk/openlayers@5837 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -155,7 +155,7 @@ OpenLayers.Format.GeoRSS = OpenLayers.Class(OpenLayers.Format.XML, {
|
||||
geometry = feature.geometry;
|
||||
}
|
||||
|
||||
if (this.internalProjection && this.externalProjection) {
|
||||
if (geometry && this.internalProjection && this.externalProjection) {
|
||||
geometry.transform(this.externalProjection,
|
||||
this.internalProjection);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user