package ol.source;

import jsinterop.annotations.JsProperty;
import jsinterop.annotations.JsType;

/**
 * params for MapGuide-requests.
 * @author tlochmann
 */

@JsType(isNative = true)
public interface ImageMapGuideParams {

	/**
     * @param mapDefinition
     * 			MapGuide mapDefinition e.g. "Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition"
     */
    @JsProperty
    void setMapDefinition(String mapDefinition);

    /**
     * @param format
     * 	MapGuide image format
     *
     */
    @JsProperty
    void setFormat(String format);

}

@@ -13,16 +13,56 @@
 ource;%0A%0A
+import jsinterop.annotations.JsPackage;%0A
 import j
@@ -94,16 +94,16 @@
 operty;%0A
-
 import j
@@ -222,26 +222,69 @@
 true
-)%0Apublic interface
+, namespace = JsPackage.GLOBAL, name = %22Object%22)%0Apublic class
  Ima
@@ -453,32 +453,46 @@
 @JsProperty%0A    
+public native 
 void setMapDefin
@@ -611,20 +611,34 @@
 roperty%0A
-
     
+public native 
 void set

Convert ImageMapGuideParams interface to class