noledgy/GWT-Maps-V3-Api


GWT Maps V3 Javascript Bindings

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    
	dependencies {
		implementation 'com.github.noledgy:GWT-Maps-V3-Api:v3.8.1'
	}
	dependencies {
		implementation("com.github.noledgy:GWT-Maps-V3-Api:v3.8.1")
	}
	<dependency>
	    <groupId>com.github.noledgy</groupId>
	    <artifactId>GWT-Maps-V3-Api</artifactId>
	    <version>v3.8.1</version>
	</dependency>

                            
    libraryDependencies += "com.github.noledgy" % "GWT-Maps-V3-Api" % "v3.8.1"
        
        

                            
    :dependencies [[com.github.noledgy/GWT-Maps-V3-Api "v3.8.1"]]
        
        

Readme


#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

##Maven Versions Available

##Current Maven Release 1. Add Maven dependencies

```xml
<!-- GWT Maps API V3 -->
<dependency>
	<groupId>com.github.branflake2267</groupId>
	<artifactId>gwt-maps-api</artifactId>
	<version>3.10.0-alpha-7</version>
</dependency>
  1. Add the inherits statement to your module.gwt.xml.

    	<inherits name='com.google.gwt.maps.Maps' />
    
  2. Load and use the API.

  3. 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 1. Add Maven dependencies ```xml <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-8-SNAPSHOT</version>
</dependency>
```
  1. 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 1. Download the jar 2. Add jar to your /WEB-INF/lib 3. Right click on the jar and goto Build path > add to build path

##Eclipse Setup Using Source 1. Clone the source with EGit 2. Add the project to your build path 3. Link the maps source "src" folder as src_maps in your build path 4. Inherit the module

```xml
<inherits name='com.google.gwt.maps.Maps'/>
```

##Documentation

##Contribute

##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

##Thanks to Arcbees.com