/*******************************************************************************
 * Copyright 2014, 2017 gwt-ol3
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *******************************************************************************/
package ol.layer;

import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsProperty;

import jsinterop.annotations.JsType;
import ol.Extent;
import ol.Options;
import ol.source.Source;

/**
 * Layer options
 * 
 * @author Tino Desjardins
 *
 */
@JsType(isNative = true, namespace = JsPackage.GLOBAL, name = "Object")
public class LayerOptions implements Options {

    /**
     * The bounding extent for layer rendering. The layer will not be rendered
     * outside of this extent.
     * 
     * @param extent extent
     */
    @JsProperty
    public native void setExtent(Extent extent);

    /**
     * The maximum resolution (exclusive) below which this layer will be
     * visible.
     * 
     * @param maxResolution maximum resolution
     */
    @JsProperty
    public native void setMaxResolution(double maxResolution);

    /**
     * The minimum resolution (inclusive) at which this layer will be visible.
     * 
     * @param minResolution minimum resolution
     */
    @JsProperty
    public native void setMinResolution(double minResolution);

    /**
     * Opacity (0, 1). Default is 1.
     * 
     * @param opacity opacity
     */
    @JsProperty
    public native void setOpacity(double opacity);

    /**
     * Source for this layer. Required.
     * 
     * @param source {@link Source}
     */
    @JsProperty
    public native void setSource(Source source);

    /**
     * Visibility. Default is true (visible).
     * 
     * @param visible visible?
     */
    @JsProperty
    public native void setVisible(boolean visible);

    /**
     * The z-index for layer rendering. At rendering time, the layers will be
     * ordered, first by Z-index and then by position. The default Z-index is 0.
     * 
     * @param zIndex z-index
     */
    @JsProperty
    public native void setZIndex(int zIndex);
    
}

@@ -100,9 +100,9 @@
  201
-7
+8
  gwt
@@ -969,17 +969,16 @@
 tions%0A *
- 
 %0A * @aut
@@ -1240,33 +1240,32 @@
 s extent.%0A     *
- 
 %0A     * @param e
@@ -1446,33 +1446,32 @@
  visible.%0A     *
- 
 %0A     * @param m
@@ -1675,33 +1675,32 @@
  visible.%0A     *
- 
 %0A     * @param m
@@ -1862,33 +1862,32 @@
 ult is 1.%0A     *
- 
 %0A     * @param o
@@ -2023,33 +2023,32 @@
 Required.%0A     *
- 
 %0A     * @param s
@@ -2194,33 +2194,32 @@
 visible).%0A     *
- 
 %0A     * @param v
@@ -2484,17 +2484,16 @@
 .%0A     *
- 
 %0A     * 
@@ -2584,15 +2584,11 @@
 Index);%0A
-    
 %0A%7D%0A

Remove whitespaces