/* 
 * Copyright 2016 iserge.
 *
 * 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 org.ol3cesium.client.olx.layer;

/**
 *
 * @author Serge Silaev aka iSergio <s.serge.b@gmail.com>
 */
public class VectorTileLayerOptions extends VectorLayerOptions {
    protected VectorTileLayerOptions() {
        //
    }
    
    public static final native VectorTileLayerOptions create() /*-{
        return {};
    }-*/;
}

@@ -627,16 +627,137 @@
 layer;%0A%0A
+import org.ol3cesium.client.ol.layer.VectorTileLayerRenderType;%0Aimport org.ol3cesium.client.ol.source.VectorTileSource;%0A%0A
 /**%0A *%0A 
@@ -1041,11 +1041,2080 @@
    %7D-*/;
+%0A%0A    /**%0A     * Render mode for vector tiles:%0A     * 'image': Vector tiles are rendered as images. Great performance, but point %0A     * symbols and texts are always rotated with the view and pixels are scaled %0A     * during zoom animations.%0A     * 'hybrid': Polygon and line elements are rendered as images, so pixels are %0A     * scaled during zoom animations. Point symbols and texts are accurately %0A     * rendered as vectors and can stay upright on rotated views.%0A     * 'vector': Vector tiles are rendered as vectors. Most accurate rendering %0A     * even during animations, but slower performance than the other options. %0A     * The default is 'hybrid'.%0A     * @param renderMode Render mode%0A     */%0A    public final native void setRenderMode(VectorTileLayerRenderType renderMode) /*-%7B%0A        this.renderMode = renderMode.toString();%0A    %7D-*/;%0A    %0A    /**%0A     * Render mode for vector tiles:%0A     * 'image': Vector tiles are rendered as images. Great performance, but point %0A     * symbols and texts are always rotated with the view and pixels are scaled %0A     * during zoom animations.%0A     * 'hybrid': Polygon and line elements are rendered as images, so pixels are %0A     * scaled during zoom animations. Point symbols and texts are accurately %0A     * rendered as vectors and can stay upright on rotated views.%0A     * 'vector': Vector tiles are rendered as vectors. Most accurate rendering %0A     * even during animations, but slower performance than the other options. %0A     * The default is 'hybrid'.%0A     * @param renderMode Render mode%0A     */%0A    public final native void setRenderMode(String renderMode) /*-%7B%0A        this.renderMode = renderMode;%0A    %7D-*/;%0A    %0A//    public final native void setRenderOrder%09function%09experimental%0A//    Render order. Function to be used when sorting features before rendering. By default features are drawn in the order that they are created. Required.%0A%0A    /**%0A     * Source.%0A     * @param source Source.%0A     */%0A    public final native void setSource(VectorTileSource source) /*-%7B%0A        this.source = source;%0A    %7D-*/;
 %0A%7D%0A

Add set render vector mode with OpenLayers 3.16.0