package ol.source;

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

/**
 * XYZ options.
 *
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true)
public interface XyzOptions extends TileImageOptions {

    /**
     * Set the optional max zoom level. Default is 18.
     *
     * @param maxZoom max zoom
     */
    @JsProperty
    void setMaxZoom(int maxZoom);

}

@@ -13,16 +13,69 @@
 ource;%0A%0A
+import com.google.gwt.core.client.JavaScriptObject;%0A%0A
 import j
@@ -443,10 +443,240 @@
 Zoom);%0A%0A
+    /**%0A     * Optional function to get tile URL given a tile coordinate and the%0A     * projection. Required if url or urls are not provided.%0A     */%0A    @JsProperty%0A    void setTileUrlFunction(JavaScriptObject tileUrlFunction);%0A%0A
 %7D%0A

Add tileUrlFunction to XyzOptions