[OpenLayers-Dev] Trigger save event

2009-07-22 Thread jessisena
Hi, I'm using the ticket #1902 : http://trac.openlayers.org/ticket/1902 http://trac.openlayers.org/ticket/1902 in order to use the new save events on my client. The problem is that only adding that code in Save.js, it seems that my client doesn't receive any of the triggered events (success or

[OpenLayers-Dev] To what extent does openlayers provide functionality?

2009-07-22 Thread jowharshamshiri
Hello guys, We are implementing a GIS system. It is in the primary phase right now so we're actually deciding on what software to use. One requirement that the project has is that users should be able to generate new map layers based on statistical data provided to them. Take this simple case for

Re: [OpenLayers-Dev] Trigger save event

2009-07-22 Thread jessisena
Finally I 've solved the problem triggering an event (from save.js) of the layer which was the listener... Anyway, exists some way to do what I was asking for? Which is the way to receive in a specific layer the success or fail event declared in Save.js ? -- View this message in context:

Re: [OpenLayers-Dev] DeleteFeature control

2009-07-22 Thread Alexandre Dube
Hi, I'm going to work on my example today. See below. Eric Lemoine wrote: why not using the regular var i, len, control; for(i = 0, len = controls.length; i len; i++) { control = controls[i]; } ? Right. I just wondered if it could have been possible to have a {} instead of

Re: [OpenLayers-Dev] Trigger save event

2009-07-22 Thread Alexandre Dube
Hi, jessisena wrote: Finally I 've solved the problem triggering an event (from save.js) of the layer which was the listener... Anyway, exists some way to do what I was asking for? Which is the way to receive in a specific layer the success or fail event declared in Save.js ? I'd like

Re: [OpenLayers-Dev] DeleteFeature control

2009-07-22 Thread Alexandre Dube
Eric Lemoine wrote: Alexandre I now understand one of your problems, you need to give the handler a reference to the control, but the control does not exist yet since you're actually creating it. Giving the handler a fake control, of the form {map: map} (where map is the map instance) should do