Packagecom.google.maps.interfaces
Interfacepublic interface ICopyrightCollection extends IWrappableEventDispatcher, flash.events.IEventDispatcher, IWrappable
ImplementorsCopyrightCollection

ICopyrightCollection is the interface implemented by CopyrightCollection and equivalent classes. CopyrightCollection manages copyright messages displayed on maps of custom map type. 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.



Public Properties
 PropertyDefined by
 InheritedinterfaceChain : Array
List of interfaces for wrapping this object.
IWrappable
 Inheritedwrapper : Object
Instance of the cross-domain wrapper for this object.
IWrappable
Public Methods
 MethodDefined by
  
addCopyright(copyright:Copyright):Boolean
Adds the given copyright to the collection, returning true if the copyright was new and was added or false if the copyright was a duplicate and ignored.
ICopyrightCollection
 Inherited
Retrieves the base event dispatcher object that allows access to event dispatching capability for cross-domain objects.
IWrappableEventDispatcher
  
Returns a CopyrightNotice instance for the given viewport.
ICopyrightCollection
  
getCopyrights(bounds:LatLngBounds, zoom:Number):Array
Retrieves an array of elements of type String, which comprises the copyright text that we should display for the given viewport.
ICopyrightCollection
  
Returns an array of elements of type Copyright, which are the copyrights pertaining to the specified location.
ICopyrightCollection
Method detail
addCopyright()method
public function addCopyright(copyright:Copyright):Boolean

Adds the given copyright to the collection, returning true if the copyright was new and was added or false if the copyright was a duplicate and ignored.

Parameters
copyright:Copyright — New copyright to add.

Returns
Boolean — Whether a new copyright was added.
getCopyrightNotice()method 
public function getCopyrightNotice(bounds:LatLngBounds, zoom:Number):CopyrightNotice

Returns a CopyrightNotice instance for the given viewport.

Parameters
bounds:LatLngBounds — Query bounds.
 
zoom:Number — Zoom level.

Returns
CopyrightNotice — Resulting copyright notice.
getCopyrights()method 
public function getCopyrights(bounds:LatLngBounds, zoom:Number):Array

Retrieves an array of elements of type String, which comprises the copyright text that we should display for the given viewport.

Parameters
bounds:LatLngBounds — Query bounds.
 
zoom:Number — Zoom level.

Returns
Array — Resulting array of copyright strings.
getCopyrightsAtLatLng()method 
public function getCopyrightsAtLatLng(latLng:LatLng):Array

Returns an array of elements of type Copyright, which are the copyrights pertaining to the specified location.

Parameters
latLng:LatLng — The point for which we want to get copyrights for.

Returns
Array — Resulting array of copyrights.