com.google.gwt.maps.client
Class Maps

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

public class Maps
extends java.lang.Object

A collection of static methods and API wide constants.


Method Summary
static void assertLoaded()
          Check for the availability of the maps API.
static boolean isBrowserCompatible()
          Returns true if the current browser supports the maps API library.
static boolean isLoaded()
          Check for the availability of the Maps API.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertLoaded

public static void assertLoaded()
Check for the availability of the maps API. If it is not loaded, throws a RuntimeException.


isBrowserCompatible

public static boolean isBrowserCompatible()
Returns true if the current browser supports the maps API library.

Returns:
true if the current browser supports the maps API library.

isLoaded

public static boolean isLoaded()
Check for the availability of the Maps API. This means that the Maps API script is loaded and has successfully initialized.

Returns:
true if the Maps API is loaded.