com.google.gwt.maps.client.maptypes
Class ImageMapType

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.mvc.MVCObject<ImageMapType>
          extended by com.google.gwt.maps.client.maptypes.ImageMapType

public class ImageMapType
extends MVCObject<ImageMapType>

This class implements the MapType interface and is provided for rendering image tiles.

See ImageMapType API Doc


Constructor Summary
protected ImageMapType()
          use newInstance();
 
Method Summary
 HandlerRegistration addClickHandler(TilesLoadedMapHandler handler)
          This event is fired when the visible tiles finish loading.
 double getOpacity()
          Returns the opacity level (0 (transparent) to 1.0) of the ImageMapType tiles.
static ImageMapType newInstance(ImageMapTypeOptions options)
          Constructs an ImageMapType using the provided ImageMapTypeOptions
 void setOpacity(double opacity)
          Sets the opacity level (0 (transparent) to 1.0) of the ImageMapType tiles.
 
Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageMapType

protected ImageMapType()
use newInstance();

Method Detail

newInstance

public static final ImageMapType newInstance(ImageMapTypeOptions options)
Constructs an ImageMapType using the provided ImageMapTypeOptions

Parameters:
options -

getOpacity

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

Returns:
current opacity

setOpacity

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


addClickHandler

public final HandlerRegistration addClickHandler(TilesLoadedMapHandler handler)
This event is fired when the visible tiles finish loading.

Parameters:
handler -


Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.