use of ol.layer.ImageLayerOptions in project gwt-ol3 by TDesjardins.
the class OLFactory method createLayerOptionsWithSource.
/**
* Creates {@link ImageLayerOptions} using the given {@link Image}.
*
* @param source
* {@link Image}
* @return {@link ImageLayerOptions}
*/
public static ImageLayerOptions createLayerOptionsWithSource(ol.source.Image source) {
ImageLayerOptions options = createOptions();
options.setSource(source);
return options;
}
Aggregations