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

org.gwtopenmaps.openlayers.client.popup.AnchoredImpl Maven / Gradle / Ivy

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

import org.gwtopenmaps.openlayers.client.util.JSObject;
import org.gwtopenmaps.openlayers.client.popup.Popup.CloseListener;

/**
 * 
 * @author Erdem Gunay
 * @author Marten Karlberg, Digpro AB
 *
 */
class AnchoredImpl {
	
    public static native JSObject create(String id, JSObject lonlat, JSObject size, String html, 
                                         JSObject anchor, boolean closeBox, CloseListener closeBoxCallback) /*-{
	function callback(evt) {
	    closeBoxCallback.@org.gwtopenmaps.openlayers.client.popup.Popup.CloseListener::onPopupClose(Lorg/gwtopenmaps/openlayers/client/util/JSObject;)(evt);
	}
	return new $wnd.OpenLayers.Popup.Anchored(id, lonlat, size, html, anchor, closeBox, callback);
    }-*/;
    
    public static native JSObject create(String id, JSObject lonlat, JSObject size, String html, JSObject anchor, boolean closeBox) /*-{
	return new $wnd.OpenLayers.Popup.Anchored(id, lonlat, size, html, anchor, closeBox);
    }-*/;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy