A heads up for anyone who saw my earlier post. I don't know what the problem is, but it's not MultiPolygons. I changed my server to return GML containing multiple features, each of which was a single polygon, and ModifyFeature still doesn't work.
From: [email protected] [mailto:[email protected]] On Behalf Of Jeff Dege Sent: Thursday, April 08, 2010 5:54 PM To: [email protected] Subject: [OpenLayers-Users] Does Control.ModifyFeature not work with Geometry.MultiPolygon? I've been putting together a site around a Layer.Vector, and in the early versions Control.ModifyFeature worked just fine. But in those versions, I was working with polygons I created with Control.DrawFeature. In my latest versions, I'm rendering GML into the layer with Format.GML, and now ModifyFeature is no longer working. The feature selects just fine, but the drag points, both real and virtual, do not appear. I've been trying to figure out what might be different, and so far all I've been able to discern is that the GML I'm sending wraps its polygons in a <gml:MultiPolygon>. That is, rather than sending a number of polygons, I'm sending a single MultiPolygon. Which Format.GML renders, of course, as an OpenLayers.Geometry.MultiPolygon. Could this be why ModifyFeature is not working? That it doesn't properly handle MultiPolygons? I can't think of any other difference between the older working versions and the new non-working versions that would be relevant. Does anyone have any other ideas as to why ModifyFeature would successfully select a feature, but fail to draw its drag points?
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
