GCopyrightCollection [class]-GoogleMaps/API/doc/ClassReference/30-GCopyrightCollection-N☆E 学習帳

[ リロード ]   [ ソース ]  [ トップ | 一覧 | 単語検索 | 最新 | バックアップ | ヘルプ ]

Counter: 2952, today: 1, yesterday: 2

GCopyrightCollection [class]

http://www.google.com/apis/maps/docu­mentation/

Version 2 (2006.4) 新規

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.

Constructor

Constructor Description
GCopyrightCollection(prefix?) Copyright messages produced from this copyright collection will have the common prefix given as the argument.

 

Methods

Methods Return Value Description
() none
addCopyright(copyright) none Adds a copyright information object to the collection.
getCopyrights(bounds, zoom) Array of String Returns all copyright strings that are pertinent for the given map region at the given zoom level.
getCopyrightNotice(bounds, zoom) String Returns the copyright notice that contains copright messages from all copyright information objects that are pertinent for the given map region at the given zoom level.

 

Events

Events Arguments Description
newcopyright copyright This event is fired when a new copyright was added to this copyright collection.