Changeset 5437
- Timestamp:
- 12/15/07 22:09:08 (1 year ago)
- Files:
-
- trunk/openlayers/tests/Format/test_GeoJSON.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/Format/test_GeoJSON.html
r5435 r5437 142 142 // This test is from the geom_collection example on geojson spec. 143 143 function test_Format_GeoJSON_collection(t) { 144 t.plan(1 0);144 t.plan(12); 145 145 146 146 var geomcol = { … … 205 205 } 206 206 }; 207 data = parser.read(feature );207 data = parser.read(feature, "Feature"); 208 208 t.eq(data.geometry.CLASS_NAME, "OpenLayers.Geometry.Collection", "Geometry of feature is a collection"); 209 209 var l = new OpenLayers.Layer.Vector();
