var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
import { property } from 'lit-element';
/**
 * Base mixin for swisstopo elements
 *
 * See [SwisstopoElement class](#/classes/SwisstopoElement)
 *
 * @polymer
 * @mixinFunction
 */
const SwisstopoElementMixin = function (Base) {
    /**
     * Base class for swisstopo elements
     *
     * @mixinClass
     */
    class SwisstopoElement extends Base {
        constructor() {
            super(...arguments);
            /**
             * One of the official layer names provided by geo.admin.ch.
             *
             * Complete list of layers is available
             * [here](http://api3.geo.admin.ch/api/faq/index.html#which-layers-are-available)
             *
             * @type {string}
             */
            this.layerName = undefined;
        }
    }
    __decorate([
        property({ type: String, attribute: 'layer-name' })
    ], SwisstopoElement.prototype, "layerName", void 0);
    return SwisstopoElement;
};
export default SwisstopoElementMixin;
//# sourceMappingURL=swisstopo-element.js.map