Coder Social home page Coder Social logo

mapportlet's Introduction

Map Portlet

Maven Central Linux Build Status Windows Build status

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

Testing!!

Features

  • Stefanos is making changes
  • 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 https://github.com/Jasig/MapPortlet
  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

mapportlet's People

Contributors

bourey avatar christianmurphy avatar landisaurus avatar joshbrudnak avatar drewwills avatar markamace1 avatar asgrant avatar bjagg avatar stefanos1316 avatar acolebourne avatar edalquist avatar gmlewis avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.