Skip to content

Map Manager

mstn edited this page Jul 16, 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:

  • Name: name assigned by the user to the resource
  • Owner: owner of 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.

  • Search-Tool widgets: 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

  • New Map widgets:

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 viewing, editing, and deleting resources. You can also edit the metadata associated to the map (in accordance with the user's permissions).

Application

  • Expande All - Collapse All widget:

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

Application

  • 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

  • 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

  • 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

  • Edit Metadata widget:

This widget allow you to edit the metadata associated to the map

Application

If you press the button opens a form for editing Metadata

Application

  • Clone Map widget:

This widget allows users to make a copy of a map. The copy is a new map whose owner is the current user. Only authenticated users can clone maps.

Clone Map button

  • User Manager widget:

This button opens the User Manager Window, where admins can manage users (i.e. create a new user, search a user, delete an existing user). For readability we describe the User Manager in a different [page](User Manager).

User Manager Button

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)
  10. [MSMUserManager](MSMUserManager class)
  11. [Google.Shortener](Google.Shortener class)
  12. [GeoStore.ContentProvider](GeoStore.ContentProvider class)
  13. [GeoStore.Maps](GeoStore.Maps class)
  14. [GeoStore.Users](GeoStore.Users class)
  15. [Uri](Uri class)
Clone this wiki locally