Hi Alexandre,
good idea. I´m now assigning an attribute to the feature I´ve added via the
function that is triggered when a feature has been added. It contains a
hexadecimal-color (depending on the colorvalue that is chosen in
dropdown-menu). In the styleMap I define the fillColor as "${fillColor
Hi Max,
I'm not sure about what could be the best approach. My guess would be
to define a stylemap with your default 'default' and 'select' styles for
newly added features, then when your user choose a color for the
feature, add a rule based on the feature id.
Have you checked : http://tr
Hi Alexandre,
I got it working now. The Problem was that in the function that was
triggered by the featureadded-event I tried something like feature.id and
not evt.feature.id.
I registered the event via
"drawFeatureControlName.events.register("featureadded", ' ' , function)".
But, as always, one
Hi Max,
Here's an old demo that could help you for some of your needs :
http://dev4.mapgears.com/bdga/bdgaWFS-T.html
Simply click on a feature. This demonstrate a way to edit feature's
attributes in a form. If your data is stored in a DB, you don't need to
take care of the id manually.
Hi list,
I´m actually implementing a drawfeature-control for my web-GIS. Everything´s
working fine so far but now I want to add a little more functionality:
- the user should be able to specify the appearance of the features he´s
adding. This shall only have an effect on the features he´s adding