[OpenLayers-Users] Find out about the geometrytype of a layer

Barbara Fiederer barbara.fiederer at web.de
Thu Apr 15 02:20:39 EDT 2010


Hi Alexandre,

the error is here: line 513 of vector.js:
 !(feature.geometry instanceof this.geometryType)) {  .....
"feature.geometry" is undefined, "this.geometryType" is
OpenLayers.Geometry.MultiLineString

When I check in line 488 of vector.js "addFeatures: function(features,
options) { ..." there is one object in the array with correct geometryType.

Anything else for me to check?

Thanks, Barbara
-- 
View this message in context: http://n2.nabble.com/Find-out-about-the-geometrytype-of-a-layer-tp4896190p4905831.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list