Hi,

Each  multipolygon feature geometry
<http://dev.openlayers.org/releases/OpenLayers-2.12/doc/apidocs/files/OpenLayers/Geometry/MultiPolygon-js.html>
  
is an array of polygon geometry.

So try stuff like this:

for(var i in features){
   for(var j in features[i].components) {
      //do what you need with features[i].components[j] - polygon geometry
   }
}




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Multipolygon-to-Polygons-tp5003436p5003448.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to