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

org.osmdroid.events.MapAdapter Maven / Gradle / Ivy

There is a newer version: 6.1.20
Show newest version
package org.osmdroid.events;

/*
 * An abstract adapter class for receiving map events. The methods in this class are empty.
 * This class exists as convenience for creating listener objects.
 *
 * @author Theodore Hong
 */
public abstract class MapAdapter implements MapListener {
	@Override
	public boolean onScroll(final ScrollEvent event) {
		// do nothing
		return false;
	}

	@Override
	public boolean onZoom(final ZoomEvent event) {
		// do nothing
		return false;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy