"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createMapGuideSource = exports.isMapGuideImageSource = void 0;
var tslib_1 = require("tslib");
//import { MapGuideImageSource } from "./ol-mapguide-source";
var ImageMapGuide_1 = tslib_1.__importDefault(require("ol/source/ImageMapGuide"));
/**
 * @hidden
 */
function isMapGuideImageSource(arg) {
    return typeof (arg.updateParams) != 'undefined';
}
exports.isMapGuideImageSource = isMapGuideImageSource;
/**
 * @hidden
 */
function createMapGuideSource(options) {
    //const ctor: any = MapGuideImageSource;
    //const source = new ctor(options);
    var source = new ImageMapGuide_1.default(options);
    return source;
}
exports.createMapGuideSource = createMapGuideSource;
//# sourceMappingURL=ol-mapguide-source-factory.js.map