Search in sources :

Example 1 with ImageLayerOptions

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;
}
Also used : ImageLayerOptions(ol.layer.ImageLayerOptions)

Aggregations

ImageLayerOptions (ol.layer.ImageLayerOptions)1