Changeset 5815
- Timestamp:
- 01/20/08 09:22:30 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
sandbox/crschmidt/osm/lib/OpenLayers/Format/OSM.js
r5814 r5815 111 111 112 112 // Since OSM is topological, we stash the node ID internally. 113 point.osm_id = ways[i].nodes[j];113 point.osm_id = parseInt(ways[i].nodes[j]); 114 114 point_list[j] = point; 115 115 … … 131 131 var feat = new OpenLayers.Feature.Vector(geometry, 132 132 ways[i].tags); 133 feat.osm_id = ways[i].id;133 feat.osm_id = parseInt(ways[i].id); 134 134 feat_list[i] = feat; 135 135 } … … 156 156 this.internalProjection); 157 157 } 158 feat.osm_id = node_id;158 feat.osm_id = parseInt(node_id); 159 159 feat_list.push(feat); 160 160 }
