The Map Views is a MapStore tool useful to set up multiple map views differently configured and switch between them. A navigation functionality is also provided to automatically activate each view one after the other in temporal sequence.
The Map Views plugin works both in 2D and 3D modes, but the 3D mode has advanced options including the Mask, the Globe Translucency and the Clipping (see next paragraph).
Add new view
Once the user opens a map, the Map Views tools can be opened through the button available in the Side Toolbar.
To create a new simple view the user can simply move the map to the interested area, enable the desired layers in TOC to be displayed in the map and finally click on the button. The view will be created and visible in the Views list by clicking the button.
MapStore allows to customize and edit the new view by opening the Edit panel through the button. Here the user is allowed to:
- Add a text, images, videos or hyperlinks through the Description section. The description is visible during the Views Navigation. Take a look at the following example.
- Capture the view positions through the button or change the longitude, latitude and height of the Camera Position and Center Position (only available for the 3D mode) by using the Position section.
- Modify the duration of the animation and enable/disable the transition effect during the Views Navigation by using the Animation section.
- When in 3D mode, use the Mask section to select a WFS or Vector layer available in TOC to create a mask on all the 3D tiles visible in map. The mask layer need to be added to the map before using this functionality so that it is possible to use the layer features as masking areas: if multiple WFS or Vector layers (with polygonal features) are present in the map, these are used all merged together to represent the final masking areas.
If the user enables the Inverse option, simply the inverse mask is applied using the same layer so that each feature is used to produce an hole on all visible 3D Tiles.
- Enable the translucency of the globe through Globe Translucency section so that it is possible to see layers under the globe's surface.
- Choose which layer should be visible when the view is active through the Layer Options section. In 2D mode the user can simply enable or disable all the layers present on TOC and change the opacity.
In 2D mode, the 3D Tiles and the Terrain layers are not displayed in the Layer Options.
In 3D mode, using the same logic described above for the Masking option, it is also possible to Clip (not Mask) each 3D Tiles or Terrain layers using a WFS or a vector layer as a clipping source. Furthermore, in this case the user can also choose which layer feature can be used as Clipping feature.
The clipping layer must have polygon convex features. Concave polygons are not supported by this type of clipping.
Unlike the Mask option, described above, the Clip function is a more narrowly focused tool because:
The clipping are is visible only on the selected 3D Tiles layer and not on the whole view
It is possible to select the feature of the WFS or Vector layer that you want to use for the clipping
3D Views navigations
Once multiple views are added to the Map Views tool it allows to visualize them in sequence by clicking on the button. Doing that the presentation mode starts and each view is displayed in the Map Viewer, together with its descriptive panel (if configured) on the left side of the screen, for a time depended on the duration previously configured.
The user can also choose to navigate each view manually using the navigation toolbar provided by the tool.