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;
}
Aggregations