wfs
WFS layer with timeline
A map can be integrated with the simile timeline control since version 6.x-1.5 of the mapping kit. The date fields of a WFS layer can be displayed as events on the timeline. The bands of the timeline are configurable.
But a good example dataset is still missing ...
[map baselayers="osm" controls="timeline" timeline="height=150,bands={day:50,week:30,year:20},firstband={numUnits:7}" /]
For the bands, you can choose interval units like: "MILLISECOND", "SECOND", "MINUTE", "HOUR", "DAY", "WEEK", "MONTH", "YEAR", "DECADE", "CENTURY", "MILLENNIUM", "EPOCH", and "ERA". The number following the interval unit represents the percentage of the total height.
WFS layer with unique values renderer
The following map shows a WFS layer as in the example at http://openlayers.org/dev/examples/wfs-reprojection.html. When you want to define a unique values renderer for a WFS layer, you need to define 3 extra parameters: styleMap, uniqueValueProperty, and uniqueValueFillColor. This renderer is available in the mapping kit since version 6.x-1.5.
[map zoom="4" controls="default,statusbar,layerswitcher" baselayers="osm" layers="1" 1="wfs|http://sigma.openplans.org/geoserver/ows|States|topp:states|extract=true,styleMap={strokeColor:black,strokeWidth:2,strokeOpacity:0.5,fillOpacity:0.5},uniqueValueProperty=STATE_FIPS,uniqueValueFillColor={01:red,02:green,03:blue,04:brown,05:grey,06:yellow,07:magenta}" center="-103,41" /]
Note that only a few (Southern) states are rendered with this limited definition.
WFS overlay with popups
An example of a WFS overlay, using the same WFS data as http://openlayers.org/dev/examples/wfs.html,
can be specified as [map context="node/24/context" center="-88,49" zoom="4" layers="1" 1="wfs|http://www.bsc-eoc.org/cgi-bin/bsc_ows.asp?|Owl Survey|OWLS|maxfeatures=50,extract=true,style={strokeColor:black,fillColor:green,fillOpacity:0.5}" width="600" height="300" /].
