Changeset 5751
- Timestamp:
- 01/15/08 12:14:18 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/crschmidt/osm/lib/OpenLayers/Format/OSM.js
r5750 r5751 124 124 } else { 125 125 geometry = new OpenLayers.Geometry.LineString(point_list); 126 } 126 } 127 if (this.internalProjection && this.externalProjection) { 128 geometry.transform(this.externalProjection, 129 this.internalProjection); 130 } 127 131 var feat = new OpenLayers.Feature.Vector(geometry, 128 132 ways[i].tags); … … 148 152 new OpenLayers.Geometry.Point(node['lon'], node['lat']), 149 153 tags); 154 if (this.internalProjection && this.externalProjection) { 155 feat.geometry.transform(this.externalProjection, 156 this.internalProjection); 157 } 150 158 feat.fid = node_id; 151 159 feat_list.push(feat);
