Explanation
This is an enhanced mapviewer that combines stock mapbuilder widgets with customised ones. The map viewer has some extra functions when compared with the basic map viewer.It adds an extent history, so you can go back to previous viewed extents.
A get feature info widget, with that you can get more information of an area on the map. Note that the result is shown outside the visible area, scroll down to see it. This is also a customised version.
A graticule widget which toggles a grid on top of the map.
A legend widget which shows the map layers it displays the legend graphic on the other side of the map in the legendGraphic container. This is a modification on the stock legend widget.
A locator map which shows the current extent on a world map.
A scalebar which style is defined by the scalebar stylesheet loaded with the page.
An abstract this is only a XSL document which filters the abstract out of a WMC.
A maptitle which is also only a XSL document.
The customisation of the legend is done by using a different XSL document and point the widget to that
XSL in de config file (using the <stylesheet>< parameter).
The customisation of the getFeatureInfo widget is done by using a different javascript file as
configured in the config file (using the <scriptfile> parameter).
Have a look at this guide if you want to modify this example.
|