#GWT-Maps-V3-Api
This library provides Java language bindings for the Google maps Javascript api.
##Demo
##Community
##Implementers
##Maven Versions Available
- See what is available on Maven Central
- 3.10.0-alpha-6
- 3.10.0-alpha-7-SNAPSHOT
##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-6</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-7-SNAPSHOT</version> </dependency>
-
Add the inherits statement to your module.gwt.xml.
<inherits name='com.google.gwt.maps.Maps' />
##Utility Library
```xml
<dependency>
<groupId>com.github.branflake2267</groupId>
<artifactId>gwt-maps-utility-markerclustererplus</artifactId>
<version>2.0.9-build-1</version>
</dependency>
```
##Previous Versions Here is the most recent build of the GWT-Maps-V3-Api. We've already Mavenized this project, but are currently having it added to the Central Repo. Until then, here are the current jars.
- Downloads Built Nov, 7th 2012
- gwt-maps-api-v3-3.8.1-javadoc.jar
- gwt-maps-api-v3-3.8.1-sources.jar
- gwt-maps-api-v3-3.8.1.jar
##Jar Use
- Download 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