Google Maps

Description

Google Maps is one of the applications integrated in Jasig Widget Portlet. It is a web mapping service displaying street locations from across the world offering a pannable and searchable maps in multiple views:

  • Map: default view with the appearance of a basic map
  • Satellite: high-resolution aerial images
  • Terrain: displays basic topographic features

Adopters may also be interested in the Jasig Map Portlet

Features

  1. Admin users can set value for map's starting point within the Portlet Manager.
  2. Admin users can set value for map's zoom level.
  3. Users can change their map's view.
  4. Users can edit their map's location point.
  5. Users can edit their map's zoom level. Zoom in and out on a location.

Adding Portlet

Build

Building the portlet requires Maven 2.x and uses the following command:

$ mvn clean install

Deploy

Please visit the Jasig Widget Portlets Configuration and Installation link to find instruction on how to configure and install the portlet.

Publish

Once the Jasig Widget Portlet has been build and deployed, the portlet can be published.

  1. Login as an administrator and go to the Portlet Manager.
  2. Click on the 'Register New Portlet' button.
  3. Click the Portlet radio button for the Type category and click the Next button.
  4. Click on the first dropdown menu and select Jasig Utility Portlets.
    Click on the second dropdown menu select Google Maps.
    Click on the Next button.
  5. Populate the text fields with appropriate information to describe the channel and click on the Next button.
    Please note: I suggest updating the Channel Timeout field to 60000 or higher to avoid issues with your users.
  6. Within the Portlet Preference section is where the Map Starting Point and Zoom parameters can be set.
    To set the Starting Point and Zoom variables follow the steps below:
    1. Click on the Add Parameter link.
    2. Enter startingLocation in the Parameter name field and click the Add button.
    3. Populate the Value field with the street address of your starting point.
    4. Click on the Add Parameter link.
    5. Enter startingZoom in the Parameter name field and click the Add button.
    6. Populate the Value field with the level of zoom you prefer.
    7. Click on the Next button.
  7. On the Select Categories screen, click on Information category and then click on the Select button.
    After the Category has been selected, click the Next button.
  8. On the Groups screen, click on the Select button for the Everyone group.
    After the Group has been selected, click on the Next button.
  9. Click the Published radio button for Lifecycle Management State and click on the Next button.
  10. On the review screen, click on the Save button and the portlet will be published.
    Once the Jasig Widget Portlet has been published, users may subscribe to it.