This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]



GoogleMapsPlugin is a plugin for embedding a Google Maps into a JSPWiki page.

Please visit the project page for more detail.


  1. Download and place the GoogleMapsPlugin.jar(info) file in your JSPWiki's WEB-INF/lib directory.
  2. Edit WEB-INF/ file and add com.msb0b.jspwiki.plugin to the property jspwiki.plugin.searchPath.
  3. Obtain an API key from Google Maps. Your Web URL will depend on your configuration. Usually, it should be your jspwiki.baseURL property value.
  4. Edit WEB-INF/ file add the key to the property jspwiki.Google.maps.key.
  5. Edit your template's CSS file and define a map id such as
#map {
    min-width: 400px;
    min-height: 400px;


Place the following line anywhere in a JSPWiki page.

[{GoogleMapsPlugin lat='coordinate latitude' lng='coordinate longitude'}]

Due to the nature of Google Maps, only one map is permitted per page.


Google Maps API key, now deprecated and the value is loaded from properties file
Coordinate Latitude value from -90 to 90, must be enclosed in single quotation marks
Coordinate Longitude value from -180 to 180, must be enclosed in single quotation marks
Zoom value from 0 to 19, where 0 is widest and 19 is closest

To get the coordinate, you can use Google Maps to navigate to the point you want to display, double click it so it is centered, and make note of the ll=xx.xxxx,yy.yyyy value in "Link to this page" link. They are the latitude and longitude values respectively.

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
001.jpg 162.7 kB 1 28-May-2009 17:01
GoogleMaps.png 269.0 kB 3 15-Jun-2006 10:25 Christoph Sauer
GoogleMapsPlugin.jar 2.3 kB 1 12-Jun-2006 13:45 msb0b
java 5.0 kB 1 12-Jun-2006 13:45 msb0b
zip 59.2 kB 1 03-Oct-2006 12:10
java1.4_patch_for_googlemaps-p... 2.9 kB 1 03-Dec-2006 01:24 patch against to support java1.4
« This particular version was published on 12-Jun-2006 13:45 by msb0b.