"use strict";
/**
 * defs.ts
 *
 * Redux action definitions
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isGenericSubjectMapLayer = exports.GenericSubjectLayerType = void 0;
/**
 * Valid generic subject layer types
 *
 * @export
 * @enum {string}
 * @since 0.14
 */
var GenericSubjectLayerType;
(function (GenericSubjectLayerType) {
    /**
     * A tiled WMS layer
     */
    GenericSubjectLayerType["TileWMS"] = "TileWMS";
    /**
     * A vector layer based on an external CSV file
     */
    GenericSubjectLayerType["CSV"] = "CSV";
    /**
     * A vector layer based on an external KML file
     */
    GenericSubjectLayerType["KML"] = "KML";
    /**
     * A vector layer based on an external GeoJSON file
     */
    GenericSubjectLayerType["GeoJSON"] = "GeoJSON";
    /**
     * A vector layer based on an inline GeoJSON fragment
     */
    GenericSubjectLayerType["GeoJSON_Inline"] = "GeoJSON_Inline";
    /**
     * A vector layer based on a custom-defined format whose driver was registered with {@link ExternalLayerFactoryRegistry.registerExternalVectorLayerCreator}
     */
    GenericSubjectLayerType["CustomVector"] = "CustomVector";
    /**
     * A vector layer based on a Mapbox Vector Tile set
     */
    GenericSubjectLayerType["MVT"] = "MVT";
    /**
     * A XYZ tileset
     * @since 0.14.3
     * @remarks A XYZ subject layer will not be added as a base layer. It will be considered as an "overlay" with respect to any existing base layers present
     */
    GenericSubjectLayerType["XYZ"] = "XYZ";
    /**
     * A static image layer
     * @since 0.14.3
     */
    GenericSubjectLayerType["StaticImage"] = "StaticImage";
    /**
     * A WFS layer
     * @since 0.14.4
     */
    GenericSubjectLayerType["WFS"] = "WFS";
})(GenericSubjectLayerType = exports.GenericSubjectLayerType || (exports.GenericSubjectLayerType = {}));
function isGenericSubjectMapLayer(map) {
    return typeof (map === null || map === void 0 ? void 0 : map.type) == 'string';
}
exports.isGenericSubjectMapLayer = isGenericSubjectMapLayer;
//# sourceMappingURL=defs.js.map