GoogleMaps Add-on - Vaadin Add-on Directory
Google Maps add-on for Vaadin 7 and 8, based on JS API v3
Use Google maps in Vaadin apps. For Street View support, check out my [Street View Extension](https://vaadin.com/addon/street-view-extension-for-googlemaps-add-on).
## DEVELOPMENT NOTICE ##
If you *don't use* dependency management (i.e. Maven or Ivy) you'll have to manually add [GWT-Maps-V3-Api](https://github.com/branflake2267/GWT-Maps-V3-Api/wiki/Direct-API-Jar-Downloads) and [GWT-AjaxLoader](https://code.google.com/p/gwt-google-apis/downloads/detail?name=gwt-ajaxloader-1.1.1.zip&can=2&q=) 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](https://console.developers.google.com/). The key *is not* normally needed when developing in localhost.
Altenatively you can use [a client ID from Google Maps API for Work](https://developers.google.com/maps/documentation/business/clientside/auth) is supported.
### 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 Vaadin components, 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.
* Traffic layers.
* Chinese API
### Supported Events ###
* Map move
* Map click
* Marker drag
* Marker click
* Info window close
--
This add-on contains features sponsored by the following companies: Gas Natural Fenosa, SNAP Consulting and Track4C.
Examples of Most Features
Example Eclipse/Ivy Project
Online Demo
Source Code
Discussion Forum
Issue Tracker
GoogleMaps Add-on version 0.6.1
- Fixed setCenter() when old location came from client
- Added ability to disable marker animation
GoogleMaps Add-on version 0.6.2
- Added setting for forcing the language of the maps
- Added setting for enabling the new visual style
- Fixed resizing of the map (for example in SplitPanel)
GoogleMaps Add-on version 0.8.0
- Added support for KML layers
- Added support for map click events
- Refactored project structure
GoogleMaps Add-on version 0.9.0
No new features but bubbling under:
- Moved to Vaadin 7.2.2
- Moved from official gwt-google-apis (updated last time in 2012) to GWT-Maps-V3-Api (continuously updated)
GoogleMaps Add-on version 1.0.2
* Fixed removing of all markers
GoogleMaps Add-on version 1.3.3
Fix missing contents of info windows when using Vaadin components as contents.
GoogleMaps Add-on version 1.3.4
- Use scheduling instead of timer to trigger resize
- Update to Vaadin 7.7.0
GoogleMaps Add-on version 2.0.0
Updated to work with Vaadin 8.0.4.
GoogleMaps Add-on version 2.1.0
- Fixed a RPC bug that prevented some events from firing correctly
- Upgraded to Vaadin 8.1.2