Skip to content

Map Manager

giovo87 edited this page Jun 25, 2012 · 41 revisions

MapManager, using a single interface, allow the user to create, delete and search maps, generate an embed link to put a map in a web site, share your own maps with other users. This is performed interacting with GeoStore. MapManager supports both authentication and definition of access policies to protect maps managed by GeoStore.

Resources (maps created by users) are displayed in a grid that describes content by using the following attributes:

  • Resource Id: unique identifier of the resource
  • Name: name assigned by the user to the resource
  • Description: description assigned by the user to the resource
  • Date Creation: creation date of the resource
  • Last Update: last update of the resource

Application

The application contains several types of widgets.

  1. Search-Tool widgets (Figure 2): The widget allow you to filter the resources contained in GeoStore and displayed in the grid via a text search. With the Reset button displays all resources.

Application

  1. New Map widgets (Figure 3):

Application

This widget allows the user to open an iframe containing MapComposer application. The user interacts with it by adding new layers and save the map with a title and description. This action puts the resource in GeoStore.

Application

The resource can be found for display, for edit and for delete (in agreement with the user's permissions).

Application

  1. Expande All - Collapse All widget:

This widget allow you to expand and collapse all the resources of the grid

Application

  1. View Map widget:

This widget allow you to view the associated resource (MapComposer iFrame).

Application

You do not have the ability to introduce changes to the map.

Application

  1. Edit Map widget:

This widget allow you to edit the associated resource (MapComposer iFrame).

Application

You have the ability to introduce changes to the map.

Application

If the map is changed and the user closes the resource without saving it an alert appears

Application

6.Delete Map widget:

This widget allow you to delete the associated resource (MapComposer iFrame).

Application

Alert appears to confirm the deletion of the resource

Application

A message confirming the cancellation showing the id of the resource

Application

UML Class Diagram

This section describes the Javascript classes that implement the Map Store Manager application.

This is the complete UML Diagram:

[UmlMapStoreManager](Uml Map Store Manager)

This is the list of core classes:

  1. [MSMPanel](MSMPanel class)
  2. [MSMGridPanel](MSMGridPanel class)
  3. MSMIframe
  4. MSMPagingToolbar
  5. EXT.form.TextField
  6. Ext.ux.grid.RowExpander
  7. Ext.XTemplate
  8. Ext.data.JsonStore
  9. [MSMLogin](MSMLogin class)