ok very good. 

Still not getting the result I'd expect with this code.
[code]
var linearRing = new OpenLayers.Geometry.LinearRing(points);
         var obj = new OpenLayers.Geometry.Polygon([linearRing]);
     var polygonFeature = new OpenLayers.Feature.Vector( obj );

            shapeLayer.addFeatures(polygonFeature)
                        return polygonFeature;
[/code]
I know the object gets put on the map(shapeLayer), as I can see it but the 
returned value.fid is null? Also according to some of what I read
"MapTools.shapeLayer.addFeatures(polygonFeature)" should return an array of
what was added, but its always undefined.





-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Confused-about-items-on-a-map-tp5297445p5297735.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to