com.google.maps.gwt.client
Class ImageMapType

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MVCObject
          extended by com.google.maps.gwt.client.ImageMapType

public class ImageMapType
extends MVCObject

This class implements the MapType interface and is provided for rendering image tiles. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface ImageMapType.TilesLoadedHandler
          This event is fired when the visible tiles have finished loading.
 
Constructor Summary
protected ImageMapType()
          Protected constructor avoids default public constructor.
 
Method Summary
 void addTilesLoadedListener(ImageMapType.TilesLoadedHandler handler)
          Adds the given listener function to the given event name for the given object instance.
 void addTilesLoadedListenerOnce(ImageMapType.TilesLoadedHandler handler)
          Like addListener, but the handler removes itself after handling the first event.
 void clearInstanceListeners()
          Removes all listeners for all events for the given instance.
 void clearTilesLoadedListeners()
          Removes all listeners for the given event for the given instance.
static ImageMapType create(ImageMapTypeOptions opts)
          Constructs an ImageMapType using the provided ImageMapTypeOptions
 double getOpacity()
          Returns the opacity level ( 0 (transparent) to 1.0 ) of the ImageMapType tiles.
 void setOpacity(double opacity)
          Sets the opacity level ( 0 (transparent) to 1.0 ) of the ImageMapType tiles.
 void triggerTilesLoaded(JavaScriptObject... varargs)
          Triggers the given event.
 
Methods inherited from class com.google.maps.gwt.client.MVCObject
bindTo, bindTo, bindTo, bindTo, changed, create, get, notify, set, setValues, setValues, unbind, unbindAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageMapType

protected ImageMapType()
Protected constructor avoids default public constructor.

Method Detail

create

public static ImageMapType create(ImageMapTypeOptions opts)
Constructs an ImageMapType using the provided ImageMapTypeOptions


addTilesLoadedListener

public final void addTilesLoadedListener(ImageMapType.TilesLoadedHandler handler)
Adds the given listener function to the given event name for the given object instance. Returns an identifier for this listener that can be used with removeListener().


addTilesLoadedListenerOnce

public final void addTilesLoadedListenerOnce(ImageMapType.TilesLoadedHandler handler)
Like addListener, but the handler removes itself after handling the first event.


clearInstanceListeners

public final void clearInstanceListeners()
Removes all listeners for all events for the given instance.


clearTilesLoadedListeners

public final void clearTilesLoadedListeners()
Removes all listeners for the given event for the given instance.


getOpacity

public final double getOpacity()
Returns the opacity level ( 0 (transparent) to 1.0 ) of the ImageMapType tiles.


setOpacity

public final void setOpacity(double opacity)
Sets the opacity level ( 0 (transparent) to 1.0 ) of the ImageMapType tiles.


triggerTilesLoaded

public final void triggerTilesLoaded(JavaScriptObject... varargs)
Triggers the given event. All arguments after eventName are passed as arguments to the listeners.