#GWT-Maps-V3-Api
This library provides Java language bindings for the Google maps Javascript api.
##Demo ###Live Showcase
##Community ###GWT Maps V3 API G+ Community
##Implementers
- Live Showcase
- Cycling the Alps
- Open City Agora example: San Francisco Open City Agora
- Wikiroutes Public Transportation example: [From A to B] (http://wikiroutes.info/en/msk?ab=55.819030133331495-37.483978271484375-55.67603572236136-37.640533447265625)
##Maven Versions Available
- See what is available on Maven Central
- gwt-maps-api-3.9.0-alpha-15
- gwt-maps-api-3.9.0-build-17
- Or download directly
##Current Maven Release
-
Add Maven dependencies
<!-- GWT Maps API V3 --> <dependency> <groupId>com.github.branflake2267</groupId> <artifactId>gwt-maps-api</artifactId> <version>3.10.0-alpha-7</version> </dependency>
-
Add the inherits statement to your module.gwt.xml.
<inherits name='com.google.gwt.maps.Maps' />
-
Load and use the API.
- Example of loading the api. Find the showcase example here.
private void loadMapApi() { boolean sensor = true; // load all the libs for use in the maps ArrayList<LoadLibrary> loadLibraries = new ArrayList<LoadApi.LoadLibrary>(); loadLibraries.add(LoadLibrary.ADSENSE); loadLibraries.add(LoadLibrary.DRAWING); loadLibraries.add(LoadLibrary.GEOMETRY); loadLibraries.add(LoadLibrary.PANORAMIO); loadLibraries.add(LoadLibrary.PLACES); loadLibraries.add(LoadLibrary.WEATHER); loadLibraries.add(LoadLibrary.VISUALIZATION); Runnable onLoad = new Runnable() { @Override public void run() { draw(); } }; LoadApi.go(onLoad, loadLibraries, sensor); }
##Current Maven Snapshots
-
Add Maven dependencies
<repositories> <repository> <id>sonatype.snapshots</id> <name>Sonatype snapshot repository</name> <url>https://oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <!-- GWT Maps API V3 --> <dependency> <groupId>com.github.branflake2267</groupId> <artifactId>gwt-maps-api</artifactId> <version>3.10.0-alpha-101-SNAPSHOT</version> </dependency>
-
Add the inherits statement to your module.gwt.xml.
<inherits name='com.google.gwt.maps.Maps' />
##Utility Library
-
Marker Cluster Plus
<dependency> <groupId>com.github.branflake2267</groupId> <artifactId>gwt-maps-utility-markerclustererplus</artifactId> <version>2.0.9-build-1</version> </dependency>
##Previous Versions See the downloads page ##Maven-Free Jar Use
- Download the jar
- Add jar to your /WEB-INF/lib
- Right click on the jar and goto Build path > add to build path
##Eclipse Setup Using Source
-
Clone the source with EGit
-
Add the project to your build path
-
Link the maps source "src" folder as src_maps in your build path
-
Inherit the module
<inherits name='com.google.gwt.maps.Maps'/>
##Documentation
- GWT-Maps-V3-API JavaDoc's (3.9.0)
- Complete list on Wiki page
##Contribute
- Learn about contributing under Eclipse Contributor Setup
- Build Server
##New Features
- Released
3.10.0-alpha-3
3/18/2013. Added utility lib and more 3.10 features. - Released
3.10.0-alpha-2
2/10/2013, includes transit api and overlay fix. - Released to sonatype
3.9.0-build-17-SNAPSHOT
1/19/2013 - Fixed some bugs, added triggerResize to mapWidget. Started G+ Community. 1/18/2013
- v16 released to sonatype
3.9.0-build-16
1/13/2013 - v16 Switching from alpha to build b/c it is stable 1/13/2013 (3.9.0-build-16-SNAPSHOT)
- v16 Fixed Marker Animation and added marker animation controls to examples 1/13/2013
- v15 Fixed Custom overlay setMap 1/13/2013
- Custom overlay view added 12/20/2012
- Added waypoint to directions example
- InfoWindow supports GWT widgets with events
- Added PlaceSearchRequest map example
- 3.9.0 code now in master has the place result with pagination search