Example usage for com.google.gwt.maps.client CopyrightCollection CopyrightCollection

List of usage examples for com.google.gwt.maps.client CopyrightCollection CopyrightCollection

Introduction

In this page you can find the example usage for com.google.gwt.maps.client CopyrightCollection CopyrightCollection.

Prototype

public CopyrightCollection() 

Source Link

Document

Creates an empty copyright collection.

Usage

From source file:org.sigmah.client.map.BaseMapLayer.java

License:Open Source License

public static CopyrightCollection createCopyRights(BaseMap baseMap) {
    Copyright copyright = new Copyright(1,
            LatLngBounds.newInstance(LatLng.newInstance(-90, -180), LatLng.newInstance(90, 180)), 0,
            baseMap.getCopyright());/*w  w  w. jav a  2 s  .  c  o m*/

    CopyrightCollection copyrights = new CopyrightCollection();
    copyrights.addCopyright(copyright);

    return copyrights;
}

From source file:org.sigmah.client.map.RgcTileLayer.java

License:Open Source License

public static CopyrightCollection createCopyRights() {
    CopyrightCollection copyrights = new CopyrightCollection();
    copyrights.addCopyright(createRgcCopyright());

    return copyrights;
}