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

org.gwtopenmaps.openlayers.client.control.NavigationOptions Maven / Gradle / Ivy

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


/**
 * @author Edwin Commandeur - Atlis EJS
 *
 */
public class NavigationOptions extends ControlOptions {

	public void setZoomWheelEnabled(boolean zoomWheelEnabled){
		getJSObject().setProperty("zoomWheelEnabled", zoomWheelEnabled);
	}

	public void setHandleRightClicks(boolean handleRightClicks){
		getJSObject().setProperty("handleRightClicks", handleRightClicks);
	}

	/**
	 *
	 * @param zoomBoxKeyMask - by default ... (shift)
	 */
	public void setZoomBoxKeyMask(int zoomBoxKeyMask){
		getJSObject().setProperty("zoomBoxKeyMask", zoomBoxKeyMask);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy