1 | "use strict";
|
---|
2 | var __extends = (this && this.__extends) || (function () {
|
---|
3 | var extendStatics = function (d, b) {
|
---|
4 | extendStatics = Object.setPrototypeOf ||
|
---|
5 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
---|
6 | function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
---|
7 | return extendStatics(d, b);
|
---|
8 | };
|
---|
9 | return function (d, b) {
|
---|
10 | if (typeof b !== "function" && b !== null)
|
---|
11 | throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
---|
12 | extendStatics(d, b);
|
---|
13 | function __() { this.constructor = d; }
|
---|
14 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
---|
15 | };
|
---|
16 | })();
|
---|
17 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
18 | exports.OLElementContainer = void 0;
|
---|
19 | var element_container_1 = require("../element-container");
|
---|
20 | var OLElementContainer = /** @class */ (function (_super) {
|
---|
21 | __extends(OLElementContainer, _super);
|
---|
22 | function OLElementContainer(context, element) {
|
---|
23 | var _this = _super.call(this, context, element) || this;
|
---|
24 | _this.start = element.start;
|
---|
25 | _this.reversed = typeof element.reversed === 'boolean' && element.reversed === true;
|
---|
26 | return _this;
|
---|
27 | }
|
---|
28 | return OLElementContainer;
|
---|
29 | }(element_container_1.ElementContainer));
|
---|
30 | exports.OLElementContainer = OLElementContainer;
|
---|
31 | //# sourceMappingURL=ol-element-container.js.map |
---|