Skip to content

tapioaali/GoogleMapsVaadin7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THIS REPOSITORY HAS MOVED

This project is no longer being maintained here. It has moved to https://github.com/parttio/Google-Maps-for-Vaadin

No updates will be made to this repository. Filed issues will be ignored.

Google Maps Add-on for Vaadin 7

Enables Google Maps in Vaadin 7 projects via JavaScript API 3!

Get it from Vaadin Directory.

Check out the demo @ http://tapio.app.fi/googlemaps/.

Development notice

If you don't use dependency management (i.e. Maven or Ivy) you'll have to manually add GWT-Maps-V3-Api and GWT-AjaxLoader jars to your project. Without them you'll get errors like

[ERROR] Unable to find 'com/google/gwt/maps/Maps.gwt.xml' on your classpath;` 

while trying to compile the widgetset.

Usage notice

In order to use Google Maps API, you'll need to get an API key from Google Developers Console. The key is not normally needed when developing in localhost.

Supported Features

  • Setting center & zoom.
  • Limiting of center, bounding box and zoom.
  • Setting visible map controls.
  • Markers with custom captions and icons, togglable dragging, drop animation and optimized rendering.
  • Info windows with HTML content, marker anchoring and z-index.
  • Polygon and polyline overlays.
  • KML layers from external URLs.
  • Forcing the localization of the map.
  • Toggling dragging of the map with mouse, keyboard shortcuts and scroll wheel zoom.

Supported Events

  • Map move
  • Map click
  • Marker drag
  • Marker click
  • Info window close