com.google.gwt.maps.client.maptypes
Class MapTypeRegistry
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.mvc.MVCObject<MapTypeRegistry>
com.google.gwt.maps.client.maptypes.MapTypeRegistry
public class MapTypeRegistry
- extends MVCObject<MapTypeRegistry>
See ImageMapType API
Doc
|
Constructor Summary |
protected |
MapTypeRegistry()
The MapTypeRegistry holds the collection of custom map types available to the map for its use. |
|
Method Summary |
static MapTypeRegistry |
newInstance()
The MapTypeRegistry holds the collection of custom map types available to the map for its use. |
void |
set(String id,
Object mapType)
Sets the registry to associate the passed string identifier with the passed MapType. |
| Methods inherited from class com.google.gwt.maps.client.mvc.MVCObject |
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll |
MapTypeRegistry
protected MapTypeRegistry()
- The MapTypeRegistry holds the collection of custom map types available to the map for its use. The API consults
this registry when providing the list of available map types within controls, for example.
newInstance
public static final MapTypeRegistry newInstance()
- The MapTypeRegistry holds the collection of custom map types available to the map for its use. The API consults
this registry when providing the list of available map types within controls, for example.
set
public final void set(String id,
Object mapType)
- Sets the registry to associate the passed string identifier with the passed MapType.
- Parameters:
id - mapType - is Object because of limitations of JSO's and interfaces in GWT
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.