This is a demo using BDGA data using the following features :
See also :
Using the ModifyFeature control, Save Strategy and WFS-T protocol in OpenLayers and TinyOWS, road features can be added/modified/deleted to a PostGIS database. Modifications are kept.
Click on the "print" button. OpenLayers builds a MapServer mode=map request to merge the current base layer and all visible overlays in one images. The result appears in a new window.
Click on the City shortcut tool. Select a city from the list. The map will move its location. The list is dynamically created by the getCities.php script with mapscript.
At the upper zoom level, there is a vector layer of the Quebec regions. Using the OptionByZoom strategy, each zoom level has its own data source that have been normalized to have lighter geometry to be able to load more quickly.
The HighlightFeature Control is used on the vector road layer. When the mouse become hover a feature, the control change its color without selecting it. At the same time, a popup is of the feature's attributes is displayed.