[Mapbender-users] Mapbender 2.7.4: Customizing the display of WFS layers

Jäger, Frank (KRZ) F.Jaeger at KRZ.DE
Tue Feb 9 01:50:34 PST 2016

Hi Lukas,
when you use a WFS for searching in mapbender:

You first get a result-list for all Objects, that match your search-items.
This pops-up as a frame.
Every object is a line in a table. You can show 1 to ~ 5 columns of data for each object.

A klick on *ONE* of this objects
  1.  opens a new pop-up-frame with details (more columns)
  2.  moves the mapframe to the bounding-box of the objects geometry

"Style" and "ResultStyle" are html-/css-Styles for the pop-up-frames, not SLD.

Buffer is around the objects bounding-Box to fit the object into the mapframe.
If the geometry of the object is "point" (size 0) you must have a buffer > 0.



body {font-family:Verdana,Arial,sans-serif; font-size:11px; line-height:2;} 
.a {font-weight: bold;} 
.b {font-size:12px; width:80px;} 
.d {font-size:12px; color:#909090; width:100px; margin-right:4px;} 
.e {width:200px; position:absolute; left:100px;}
.f {width:120px; position:absolute; left:100px;}
.g {width:40px; position:absolute; left:100px;}

Use "a" in "Label_id".
Use "b" in "Button_id".
Use "d" in "label-id" of the features.
Use "e", "f" and "g" in "style_id" of the features.


.even{ color:navy; font-family:Verdana,Arial,sans-serif; font-size: 11px;} 
.uneven{ color:teal; font-family:Verdana,Arial,sans-serif; font-size: 11px;}

Look at the build-in example WFS-Conf for "Mapbender User" to understand this.


> -----Urspr√ľngliche Nachricht-----
> Von: Mapbender_users [mailto:mapbender_users-bounces at lists.osgeo.org] Im
> Auftrag von lukas.bollack
> Gesendet: Dienstag, 9. Februar 2016 10:12
> An: Mapbender_users at lists.osgeo.org
> Betreff: Re: [Mapbender-users] Mapbender 2.7.4: Customizing the display of
> WFS layers
> What I still don't understand: What's the function of the fields "Style"
> "Buffer" and "Result Style" in the wfs-configuration window?
> Best Regards
> Lukas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4264 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapbender_users/attachments/20160209/458120bd/attachment.bin>

More information about the Mapbender_users mailing list