https://github.com/uPortal-Attic/MapPortlet
https://github.com/uPortal-Attic/MapPortlet
campus-locations map-portlet portal portlet uportal
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/uPortal-Attic/MapPortlet
- Owner: uPortal-Attic
- License: apache-2.0
- Archived: true
- Created: 2012-03-14T21:03:18.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2022-11-24T15:02:08.000Z (over 2 years ago)
- Last Synced: 2024-10-24T02:35:05.687Z (7 months ago)
- Topics: campus-locations, map-portlet, portal, portlet, uportal
- Language: Java
- Homepage:
- Size: 29.1 MB
- Stars: 5
- Watchers: 19
- Forks: 11
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Map Portlet
[](https://maven-badges.herokuapp.com/maven-central/org.jasig.portlet.map/MapPortlet)
[](https://github.com/uPortal-Project/MapPortlet/actions)The Map Portlet is a JSR-286 portlet includes an API for representing campus locations, including geo coordinates, addresses, categories, etc. Users can search/browse to find particular locations
## Features
* Display Map with markers
* API for representing campus locations
* Search or Browse locations## Configuration Information
The portlet has one property file: *configuration.properties* and one map file: *map.json*
1. Check out project from
2. Configure *src/main/resources/configuration.properties*
3. Run `mvn install`
4. Deploy the war### Map Properties
| Field | Description |
| ------------ | ---------------------------------------------------------------------- |
| latitude | latitude of location |
| longitude | longitude of location |
| name | Name of location. Displayed to user and available in searches |
| abbreviation | Abbreviation of location. Displayed to user and available in searches |
| address | Postal address of location |
| description | Description to display to users when location is selected |
| img | URL of image to display to user |
| searchText | Do not specify. Field is constructed from name and abbreviation |
| searchKeys | List of additional strings included in user searches |
| categories | List of categories for 'Browse by category' function. |
| campuses | |### Portlet Preferences
| Preference Name | Default | Description |
| --------------- | ---------- | ----------------------------------------- |
| apiKey | | API key to use for Google Maps |
| latitude | 41.300937 | Latitude to display for initial map view |
| longitude | -72.932103 | Longitude to display for initial map view |
| zoom | 17 | |
| mapTypeControl | true | |
| panControl | false | |
| zoomControl | true | |
| streetView | true | |
| scaleControl | true | |
| rotateControl | false | |
| overviewControl | false | |### Sample Data
The portlet has sample data in the webapp/demo directory