All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.gwtopenmaps.openlayers.client.layer.GridLayerOptions Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.gwtopenmaps.openlayers.client.layer;

import org.gwtopenmaps.openlayers.client.Size;

/**
 * 
 * @author Edwin Commandeur - Atlis EJS
 * 
 */
public class GridLayerOptions extends HTTPRequestLayerOptions {

	public final void setTileSize(Size size) {
		getJSObject().setProperty("tileSize", size.getJSObject());
	}

	/**
	 * For tiled layers the buffer size can be set.
	 *
	 * The default buffer is 2.
	 */
	public void setBuffer(int buffer){
		getJSObject().setProperty("buffer", buffer);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy