com.mapitz.gwt.googleMaps.client
Class GCopyright

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.mapitz.gwt.googleMaps.client.GCopyright

public class GCopyright
extends com.google.gwt.core.client.JavaScriptObject

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

Author:
aglaforge

Method Summary
static GCopyright create(int id, GLatLngBounds bounds, int minZoom, java.lang.String text)
          Creates a copyright information object with the given properties.
 GLatLngBounds getBounds()
          bounds GLatLngBounds The region to which this information applies.
 int getId()
          id Number A unique identifier for this copyright information.
 int getMinZooom()
          minZoom Number The lowest zoom level at which this information applies.
 java.lang.String getText()
          text String The text of the copyright message.
 void setBounds(GLatLngBounds bounds)
          bounds GLatLngBounds The region to which this information applies.
 void setId(int id)
          id Number A unique identifier for this copyright information.
 void setMinZooom(int id)
          minZoom Number The lowest zoom level at which this information applies.
 void setText(java.lang.String text)
          text String The text of the copyright message.
 
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

create

public static GCopyright create(int id,
                                GLatLngBounds bounds,
                                int minZoom,
                                java.lang.String text)
Creates a copyright information object with the given properties.

Parameters:
id -
bounds -
minZoom -
text -
Returns:

getId

public int getId()
id Number A unique identifier for this copyright information.

Returns:

setId

public void setId(int id)
id Number A unique identifier for this copyright information.

Parameters:
id -

getMinZooom

public int getMinZooom()
minZoom Number The lowest zoom level at which this information applies.

Returns:

setMinZooom

public void setMinZooom(int id)
minZoom Number The lowest zoom level at which this information applies.

Parameters:
id -

getBounds

public GLatLngBounds getBounds()
bounds GLatLngBounds The region to which this information applies.

Returns:

setBounds

public void setBounds(GLatLngBounds bounds)
bounds GLatLngBounds The region to which this information applies.

Parameters:
bounds -

getText

public java.lang.String getText()
text String The text of the copyright message.

Returns:

setText

public void setText(java.lang.String text)
text String The text of the copyright message.

Parameters:
text -