Search in sources :

Example 1 with TileLayerOptions

use of ol.layer.TileLayerOptions in project gwt-ol3 by TDesjardins.

the class OLFactory method createLayerOptionsWithSource.

/**
 * Creates {@link TileLayerOptions} using the given {@link Tile}.
 *
 * @param source
 *            {@link Tile}
 * @return {@link TileLayerOptions}
 */
public static TileLayerOptions createLayerOptionsWithSource(ol.source.Tile source) {
    TileLayerOptions options = createOptions();
    options.setSource(source);
    return options;
}
Also used : TileLayerOptions(ol.layer.TileLayerOptions)

Aggregations

TileLayerOptions (ol.layer.TileLayerOptions)1