[OpenLayers-Dev] Split Polygon

2010-01-18 Thread Gianni Barrotta
Hi, we've done a Control object that implements a client-side polygon split. You can see a preview here: http://coreweb1.coremed.it/mapwork-api/examples/splitPolygon.html Just draw a polygon with the second button on the toolbar, then split with the fourth. It's almost completed, we need just to

Re: [OpenLayers-Dev] Feature.style doesn't support contexts

2010-01-18 Thread Andreas Hocevar
Hi, Alexandre Dube wrote: I want to be able to save a OpenLayers.Style object or hash to a vector feature. Currently, in code, feature.style exists but you must define a hash or else it doesn't work. That's correct and expected. Let's call your hash symbolizer. My problem is that

Re: [OpenLayers-Dev] Feature.style doesn't support contexts

2010-01-18 Thread Alexandre Dube
Andreas, Eric, Cédric, Thanks to all of you for your support. Your answers are very clear and well detailed. I'll make the changes according to what you proposed and come back if I have any more questions. Thanks again, Alexandre Andreas Hocevar wrote: Hi, Alexandre Dube wrote: