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
- Admin users can set value for map's starting point within the Portlet Manager.
Starting Point Parameter
- Admin users can set value for map's zoom level.
Zoom Parameter
- Users can change their map's view.
Views
- Users can edit their map's location point.
Location Point
- Users can edit their map's zoom level. Zoom in and out on a location.
Zoom
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.
- Login as an administrator and go to the Portlet Manager.
- Click on the 'Register New Portlet' button.
- Click the Portlet radio button for the Type category and click the Next button.
- 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. - 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. - 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:- Click on the Add Parameter link.
- Enter startingLocation in the Parameter name field and click the Add button.
- Populate the Value field with the street address of your starting point.
- Click on the Add Parameter link.
- Enter startingZoom in the Parameter name field and click the Add button.
- Populate the Value field with the level of zoom you prefer.
- Click on the Next button.
- 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. - On the Groups screen, click on the Select button for the Everyone group.
After the Group has been selected, click on the Next button. - Click the Published radio button for Lifecycle Management State and click on the Next button.
- 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.