[Mapbender-users] Digitizer
Patrick Meis
Meis at stadt-muenster.de
Thu Nov 24 01:07:31 PST 2016
Hello Charlotte,
thanks for your input.
But I need to give the polygons 3 different colors, differentiated by attribute.
But you say “while the digitizer is active”.
How can I deactivate the digitizer? Then I could work with the WMS.
Patrick
Von: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] Im Auftrag von Charlotte Toma
Gesendet: Donnerstag, 24. November 2016 09:32
An: Mapbender User List
Betreff: Re: [Mapbender-users] Digitizer
Hello,
you can style the apperance of your digitizer features. Here are two examples for points and polygons:
[...]
displayPermanent: false
styles:
default: # style without the selection of a geometry
strokeWidth: 2
strokeColor: '#0e6a9e'
fillColor: '#1289CD'
fillOpacity: 1
fillWidth: 2
pointRadius: 10
select: # style when a geometry is selected
strokeWidth: 3
strokeColor: '#0e6a9e'
fillOpacity: 0.7
pointRadius: 10
or for polygons:
[...]
styles:
default:
strokeWidth: 2
strokeColor: '#0e6a9e'
fillColor: '#1289CD'
fillOpacity: 1
fillWidth: 2
pointRadius: 0.1
select:
strokeWidth: 3
strokeColor: '#0e6a9e'
fillOpacity: 0.7
pointRadius: 10
with this parameter you can put a color to the polygons in the map while the digitizer is active. I would also make the wms with diffrent colors (via classes) of an attribute in the digitizer-form.
--
Mit freundlichen Grüßen
Charlotte Toma
GIS-Consultant
********************************************
Where2B Konferenz 2016
15. Dezember 2016 in Bonn
www.where2b-conference.com<http://www.where2b-conference.com>
********************************************
Charlotte Toma
WhereGroup GmbH & Co.KG
Eifelstraße 7
53119 Bonn
Germany
Fon: +49(0)228 90 90 38 - 24
Fax: +49(0)228 90 90 38 - 11
charlotte.toma at wheregroup.com<mailto:charlotte.toma at wheregroup.com>
www.wheregroup.com<http://www.wheregroup.com>
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplementärin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Am 24.11.2016 um 09:13 schrieb Patrick Meis:
Hello fellow users,
I am currently experimenting with the digitizer module, wanting to provide our firefighters with
a means to create polygons (with two attached attributes).
Is it possible to directly put a color to the polygons (defined by one of the attributes)?
Or, if not, to toggle the whole toolset “digitizer” and the display of the polygons off?
I would then make a WMS out of the layer and style that accordingly.
But with the digitizer constantly in “on-mode”, the polygons would overlap.
Connecting the digitizer to a “Button”-feature doesn’t seem to work too.
Am I missing something obvious?
Greets and thanks for advice
Patrick
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org<mailto:Mapbender_users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/mapbender_users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20161124/07e34997/attachment-0001.html>
More information about the Mapbender_users
mailing list