Building Web Applications > Using DHTML-Based JSF Components to Build Web Applications > The JViews Maps Faces Component Set > The Map View as a Diagrammer View

The map view component is a specialized subclass of the Diagrammer view component. For more information, refer to The JViews Diagrammer Faces Component Set in Building Web Applications for JViews Diagrammer.

Zoom Levels and Dynamic Layers

Fixed zoom levels, which should be used if the view is tiled, must be set so that the client can cache the tiles. This can be achieved in two different ways:

<jvmf:mapView zoomLevels="1.0, 2.0, 5.0, 10.0" [...] />

Dynamic layers can also be specified in the Map Builder by setting the THIN_CLIENT_BACKGROUND property to false. Layers that have their THIN_CLIENT_BACKGROUND property set to true are then taken as static layers.

Note
The JSP tag attribute takes precedence over the scales and layer properties set in the Map Builder. Be careful when setting the zoomLevels property and the staticLayers property, if your map already contains scales and static layers specified in the Map Builder.