Follow us on GitHub

com.google.gwt.maps.client
Class LoadApi

java.lang.Object
  extended by com.google.gwt.maps.client.LoadApi

public class LoadApi
extends Object

Load Maps javascript v3 api TODO maybe move to the new loading system they have in google apis


Nested Class Summary
static class LoadApi.LoadLibrary
          Libraries not loaded by default

See Libraries API Doc
 
Field Summary
static String API_VERSION
          Note: If you use 3, it will take the newest stable available.
 
Method Summary
static void go(Runnable onLoad, ArrayList<LoadApi.LoadLibrary> loadLibraries, boolean sensor)
          loads maps api
static void go(Runnable onLoad, ArrayList<LoadApi.LoadLibrary> loadLibraries, boolean sensor, String otherParams)
          loads maps api
static void go(Runnable onLoad, boolean sensor)
          Load Maps javascript v3 api with default libraries.
static void go(Runnable onLoad, boolean sensor, String otherParams)
          Load Maps javascript v3 api
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

API_VERSION

public static final String API_VERSION
Note: If you use 3, it will take the newest stable available. Don't want that. We didn't test with that yet!

See Also:
Constant Field Values
Method Detail

go

public static void go(Runnable onLoad,
                      boolean sensor)
Load Maps javascript v3 api with default libraries. these are not loaded LoadApi.LoadLibrary

Parameters:
onLoad - - callback on success
sensor - - derive location [true|false]

go

public static void go(Runnable onLoad,
                      ArrayList<LoadApi.LoadLibrary> loadLibraries,
                      boolean sensor)
loads maps api

Parameters:
onLoad - callback on success
loadLibraries - load additional libraries like geometry
sensor - derive location [true|false]

go

public static void go(Runnable onLoad,
                      boolean sensor,
                      String otherParams)
Load Maps javascript v3 api

Parameters:
onLoad - callback on success
sensor - derive location [true|false]
otherParams - add additional params. like "key=YOUR_API_KEY"

go

public static void go(Runnable onLoad,
                      ArrayList<LoadApi.LoadLibrary> loadLibraries,
                      boolean sensor,
                      String otherParams)
loads maps api

Parameters:
onLoad - callback on success
loadLibraries - load additional libraries like geometry
sensor - sensor derive location [true|false]
otherParams - add additional params. like "key=YOUR_API_KEY"


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.