|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.mapitz.gwt.googleMaps.client.GCopyrightCollection
public class GCopyrightCollection
You use this class to manage copyright messages displayed on maps of custom map type. If you don't implement custom map types, then you don't need to use this class. A copyright collection contains information about which copyright to display for which region on the map at which zoom level. This is very important for map types that display heterogenous data such as the satellite map type.
| Method Summary | |
|---|---|
void |
addCopyright(GCopyright copyright)
addCopyright(copyright) none Adds a copyright information object to the collection. |
static GCopyrightCollection |
create()
GCopyrightCollection() Copyright messages produced from this copyright collection will have the common prefix given as the argument. |
static GCopyrightCollection |
create(java.lang.String prefix)
GCopyrightCollection(prefix) Copyright messages produced from this copyright collection will have the common prefix given as the argument. |
java.lang.String |
getCopyrightNotice(GLatLngBounds bounds,
int zoom)
getCopyrightNotice(bounds, zoom) String Returns the prefix and all relevant copyright strings that are pertinent for the given map region at the given zoom level. |
java.lang.String[] |
getCopyrights(GLatLngBounds bounds,
int zoom)
getCopyrights(bounds, zoom) Array of String Returns all copyright strings that are pertinent for the given map region at the given zoom level. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static GCopyrightCollection create(java.lang.String prefix)
public static GCopyrightCollection create()
public void addCopyright(GCopyright copyright)
public java.lang.String[] getCopyrights(GLatLngBounds bounds,
int zoom)
public java.lang.String getCopyrightNotice(GLatLngBounds bounds,
int zoom)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||