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

org.gwtopenmaps.openlayers.client.event.VectorFeatureEvent Maven / Gradle / Ivy

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

import org.gwtopenmaps.openlayers.client.feature.VectorFeature;
import org.gwtopenmaps.openlayers.client.util.JSObject;

/**
 * @author Edwin Commandeur - Atlis EJS
 *
 */
class VectorFeatureEvent extends VectorEvent {

	protected VectorFeatureEvent(JSObject eventObject) {
		super(eventObject);
	}

	public VectorFeature getVectorFeature(){
		JSObject object = getJSObject().getProperty("feature");
		return (object!=null)?VectorFeature.narrowToVectorFeature(object):null;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy