com.google.gwt.maps.client
Class Copyright

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

public final class Copyright
extends java.lang.Object

Contains information about which copyright message applies to a region of the map given by a rectangle and a zoom level. You need this object only if you implement custom map types or tile layers.


Constructor Summary
Copyright(int id, LatLngBounds bounds, int minZoomLevel, java.lang.String text)
          Creates a new copyright object with the given attributes.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 LatLngBounds getBounds()
          Returns the bounds to which this copyright applies.
 int getId()
          Returns the unique id of this copyright.
 int getMinZoomLevel()
          Returns the minimum zoom level at which this copyright displays.
 java.lang.String getText()
          Returns the text of this copyright.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Copyright

public Copyright(int id,
                 LatLngBounds bounds,
                 int minZoomLevel,
                 java.lang.String text)
Creates a new copyright object with the given attributes.

Parameters:
id - a unique id
bounds - bounds to which this copyright applies
minZoomLevel - minimum zoom at which to display
text - copyright text
Method Detail

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getBounds

public LatLngBounds getBounds()
Returns the bounds to which this copyright applies.

Returns:
the bounds to which this copyright applies.

getId

public int getId()
Returns the unique id of this copyright.

Returns:
the unique id of this copyright.

getMinZoomLevel

public int getMinZoomLevel()
Returns the minimum zoom level at which this copyright displays.

Returns:
the minimum zoom level at which this copyright displays.

getText

public java.lang.String getText()
Returns the text of this copyright.

Returns:
the text of the copyright

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object