@artstesh/maps 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles/maps-components-src-map.umd.js +70 -25
- package/dist/bundles/maps-components-src-map.umd.js.map +1 -1
- package/dist/bundles/maps-components.umd.js +70 -25
- package/dist/bundles/maps-components.umd.js.map +1 -1
- package/dist/esm2015/map/map-plate/controls/map-control-zoom/map-control-zoom.component.js +3 -3
- package/dist/esm2015/map/map-plate/features/markers/markers.component.js +5 -6
- package/dist/esm2015/map/map-plate/features/polygons/polygons.component.js +4 -4
- package/dist/esm2015/map/map-plate/layers/cluster-layer/cluster-layer.component.js +3 -3
- package/dist/esm2015/map/map-plate/layers/feature-layer/feature-layer.component.js +3 -3
- package/dist/esm2015/map/map-plate/layers/feature-layer/feature-layer.settings.js +44 -1
- package/dist/esm2015/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.js +3 -3
- package/dist/esm2015/map/map-plate/layers/tile-layer/tile-layer.component.js +3 -3
- package/dist/esm2015/map/map-plate/map-plate.component.js +4 -4
- package/dist/esm2015/map/map-plate/tooltips/tooltip/tooltip.component.js +3 -3
- package/dist/esm2015/map/messages/queries/get-features-in-area.query.js +1 -1
- package/dist/esm2015/map/models/drawing-type.enum.js +2 -1
- package/dist/esm2015/map/services/drawing/drawing-generation.service.js +4 -2
- package/dist/esm2015/map/services/feature.service.js +1 -1
- package/dist/esm2015/map/services/map-management.service.js +3 -3
- package/dist/esm2015/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.js +3 -3
- package/dist/esm2015/src/map/map-plate/features/markers/markers.component.js +5 -6
- package/dist/esm2015/src/map/map-plate/features/polygons/polygons.component.js +4 -4
- package/dist/esm2015/src/map/map-plate/layers/cluster-layer/cluster-layer.component.js +3 -3
- package/dist/esm2015/src/map/map-plate/layers/feature-layer/feature-layer.component.js +3 -3
- package/dist/esm2015/src/map/map-plate/layers/feature-layer/feature-layer.settings.js +44 -1
- package/dist/esm2015/src/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.js +3 -3
- package/dist/esm2015/src/map/map-plate/layers/tile-layer/tile-layer.component.js +3 -3
- package/dist/esm2015/src/map/map-plate/map-plate.component.js +4 -4
- package/dist/esm2015/src/map/map-plate/tooltips/tooltip/tooltip.component.js +3 -3
- package/dist/esm2015/src/map/messages/queries/get-features-in-area.query.js +1 -1
- package/dist/esm2015/src/map/models/drawing-type.enum.js +2 -1
- package/dist/esm2015/src/map/services/drawing/drawing-generation.service.js +4 -2
- package/dist/esm2015/src/map/services/feature.service.js +1 -1
- package/dist/esm2015/src/map/services/map-management.service.js +3 -3
- package/dist/fesm2015/maps-components-src-map.js +71 -26
- package/dist/fesm2015/maps-components-src-map.js.map +1 -1
- package/dist/fesm2015/maps-components.js +71 -26
- package/dist/fesm2015/maps-components.js.map +1 -1
- package/dist/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +1 -1
- package/dist/map/map-plate/features/markers/markers.component.d.ts +1 -1
- package/dist/map/map-plate/features/polygons/polygons.component.d.ts +1 -1
- package/dist/map/map-plate/layers/cluster-layer/cluster-layer.component.d.ts +1 -1
- package/dist/map/map-plate/layers/feature-layer/feature-layer.component.d.ts +1 -1
- package/dist/map/map-plate/layers/feature-layer/feature-layer.settings.d.ts +46 -0
- package/dist/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.d.ts +1 -1
- package/dist/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +1 -1
- package/dist/map/map-plate/map-plate.component.d.ts +1 -1
- package/dist/map/map-plate/tooltips/tooltip/tooltip.component.d.ts +1 -1
- package/dist/map/models/drawing-type.enum.d.ts +2 -1
- package/dist/src/map/map-plate/controls/map-control-zoom/map-control-zoom.component.d.ts +1 -1
- package/dist/src/map/map-plate/features/markers/markers.component.d.ts +1 -1
- package/dist/src/map/map-plate/features/polygons/polygons.component.d.ts +1 -1
- package/dist/src/map/map-plate/layers/cluster-layer/cluster-layer.component.d.ts +1 -1
- package/dist/src/map/map-plate/layers/feature-layer/feature-layer.component.d.ts +1 -1
- package/dist/src/map/map-plate/layers/feature-layer/feature-layer.settings.d.ts +46 -0
- package/dist/src/map/map-plate/layers/osm-tile-layer/osm-tile-layer.component.d.ts +1 -1
- package/dist/src/map/map-plate/layers/tile-layer/tile-layer.component.d.ts +1 -1
- package/dist/src/map/map-plate/map-plate.component.d.ts +1 -1
- package/dist/src/map/map-plate/tooltips/tooltip/tooltip.component.d.ts +1 -1
- package/dist/src/map/models/drawing-type.enum.d.ts +2 -1
- package/package.json +1 -1
|
@@ -677,6 +677,7 @@
|
|
|
677
677
|
DrawingType[DrawingType["Polygon"] = 1] = "Polygon";
|
|
678
678
|
DrawingType[DrawingType["Circle"] = 2] = "Circle";
|
|
679
679
|
DrawingType[DrawingType["Square"] = 3] = "Square";
|
|
680
|
+
DrawingType[DrawingType["Box"] = 4] = "Box";
|
|
680
681
|
})(exports.DrawingType || (exports.DrawingType = {}));
|
|
681
682
|
|
|
682
683
|
exports.FeatureOutputFormat = void 0;
|
|
@@ -1081,6 +1082,8 @@
|
|
|
1081
1082
|
switch (type) {
|
|
1082
1083
|
case exports.DrawingType.Circle:
|
|
1083
1084
|
return Draw.createRegularPolygon(32);
|
|
1085
|
+
case exports.DrawingType.Box:
|
|
1086
|
+
return Draw.createBox();
|
|
1084
1087
|
case exports.DrawingType.Square:
|
|
1085
1088
|
return Draw.createRegularPolygon(4);
|
|
1086
1089
|
}
|
|
@@ -1267,14 +1270,14 @@
|
|
|
1267
1270
|
MapManagementService.prototype.observePlaceFeatures = function () {
|
|
1268
1271
|
var _this = this;
|
|
1269
1272
|
this.postboy.subscribe(PlaceLayerFeaturesCommand.ID).subscribe(function (c) {
|
|
1270
|
-
var _a;
|
|
1273
|
+
var _a, _b;
|
|
1271
1274
|
if (!_this.layers.has(c.layer))
|
|
1272
1275
|
return;
|
|
1273
1276
|
var source = _this.layers.take(c.layer).getSource();
|
|
1274
1277
|
if (!!source['getSource'])
|
|
1275
1278
|
source = (_a = source) === null || _a === void 0 ? void 0 : _a.getSource();
|
|
1276
1279
|
source === null || source === void 0 ? void 0 : source.clear();
|
|
1277
|
-
source === null || source === void 0 ? void 0 : source.addFeatures(c.features);
|
|
1280
|
+
!!((_b = c.features) === null || _b === void 0 ? void 0 : _b.length) && (source === null || source === void 0 ? void 0 : source.addFeatures(c.features));
|
|
1278
1281
|
});
|
|
1279
1282
|
};
|
|
1280
1283
|
MapManagementService.prototype.observeRemoveLayer = function () {
|
|
@@ -1788,11 +1791,11 @@
|
|
|
1788
1791
|
return TileLayerComponent;
|
|
1789
1792
|
}(DestructibleComponent));
|
|
1790
1793
|
TileLayerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TileLayerComponent, deps: [{ token: MapPostboyService }, { token: TileLayerFactory }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1791
|
-
TileLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TileLayerComponent, selector: "
|
|
1794
|
+
TileLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TileLayerComponent, selector: "art-tile-layer", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1792
1795
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TileLayerComponent, decorators: [{
|
|
1793
1796
|
type: i0.Component,
|
|
1794
1797
|
args: [{
|
|
1795
|
-
selector: '
|
|
1798
|
+
selector: 'art-tile-layer',
|
|
1796
1799
|
template: '',
|
|
1797
1800
|
styleUrls: [],
|
|
1798
1801
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -1853,11 +1856,11 @@
|
|
|
1853
1856
|
return OsmTileLayerComponent;
|
|
1854
1857
|
}(DestructibleComponent));
|
|
1855
1858
|
OsmTileLayerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OsmTileLayerComponent, deps: [], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1856
|
-
OsmTileLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: OsmTileLayerComponent, selector: "
|
|
1859
|
+
OsmTileLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: OsmTileLayerComponent, selector: "art-osm-tile-layer", inputs: { url: "url", map: "map" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1857
1860
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: OsmTileLayerComponent, decorators: [{
|
|
1858
1861
|
type: i0.Component,
|
|
1859
1862
|
args: [{
|
|
1860
|
-
selector: '
|
|
1863
|
+
selector: 'art-osm-tile-layer',
|
|
1861
1864
|
template: '',
|
|
1862
1865
|
styleUrls: [],
|
|
1863
1866
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -1868,13 +1871,32 @@
|
|
|
1868
1871
|
type: i0.Input
|
|
1869
1872
|
}] } });
|
|
1870
1873
|
|
|
1874
|
+
/**
|
|
1875
|
+
* A layer that is responsible for showing and styling main features on the map, such as markers and polygons
|
|
1876
|
+
*/
|
|
1871
1877
|
var FeatureLayerSettings = /** @class */ (function () {
|
|
1872
1878
|
function FeatureLayerSettings() {
|
|
1879
|
+
/**
|
|
1880
|
+
* The identifier of the field, it is autogenerated by default, but can be set manually
|
|
1881
|
+
*/
|
|
1873
1882
|
this.name = IdGenerator.get();
|
|
1883
|
+
/**
|
|
1884
|
+
* The priority of showing - layers with higher zIndex cover others in case of collisions
|
|
1885
|
+
*/
|
|
1874
1886
|
this.zIndex = 1;
|
|
1887
|
+
/**
|
|
1888
|
+
* The maximum zoom at which the layer is visible. 19 by default
|
|
1889
|
+
*/
|
|
1875
1890
|
this.maxZoom = 19;
|
|
1891
|
+
/**
|
|
1892
|
+
* The minimum zoom at which the layer is visible. 0 by default
|
|
1893
|
+
*/
|
|
1876
1894
|
this.minZoom = 0;
|
|
1877
1895
|
}
|
|
1896
|
+
/**
|
|
1897
|
+
* Creates a clone of the existing settings
|
|
1898
|
+
* @param model
|
|
1899
|
+
*/
|
|
1878
1900
|
FeatureLayerSettings.copy = function (model) {
|
|
1879
1901
|
var result = new FeatureLayerSettings();
|
|
1880
1902
|
result.name = model.name;
|
|
@@ -1884,21 +1906,45 @@
|
|
|
1884
1906
|
result.style = model.style;
|
|
1885
1907
|
return result;
|
|
1886
1908
|
};
|
|
1909
|
+
/**
|
|
1910
|
+
Setter for {@link FeatureLayerSettings.zIndex}
|
|
1911
|
+
* @param zIndex
|
|
1912
|
+
*/
|
|
1887
1913
|
FeatureLayerSettings.prototype.setZIndex = function (zIndex) {
|
|
1888
1914
|
return FeatureLayerSettings.copy(Object.assign(Object.assign({}, this), { zIndex: zIndex }));
|
|
1889
1915
|
};
|
|
1916
|
+
/**
|
|
1917
|
+
* Setter for {@link FeatureLayerSettings.name}
|
|
1918
|
+
* @param name
|
|
1919
|
+
*/
|
|
1890
1920
|
FeatureLayerSettings.prototype.setName = function (name) {
|
|
1891
1921
|
return FeatureLayerSettings.copy(Object.assign(Object.assign({}, this), { name: name }));
|
|
1892
1922
|
};
|
|
1923
|
+
/**
|
|
1924
|
+
* Setter for {@link FeatureLayerSettings.maxZoom}
|
|
1925
|
+
* @param maxZoom
|
|
1926
|
+
*/
|
|
1893
1927
|
FeatureLayerSettings.prototype.setMaxZoom = function (maxZoom) {
|
|
1894
1928
|
return FeatureLayerSettings.copy(Object.assign(Object.assign({}, this), { maxZoom: maxZoom }));
|
|
1895
1929
|
};
|
|
1930
|
+
/**
|
|
1931
|
+
* Setter for {@link FeatureLayerSettings.minZoom}
|
|
1932
|
+
* @param minZoom
|
|
1933
|
+
*/
|
|
1896
1934
|
FeatureLayerSettings.prototype.setMinZoom = function (minZoom) {
|
|
1897
1935
|
return FeatureLayerSettings.copy(Object.assign(Object.assign({}, this), { minZoom: minZoom }));
|
|
1898
1936
|
};
|
|
1937
|
+
/**
|
|
1938
|
+
* Setter for {@link FeatureLayerSettings.style}
|
|
1939
|
+
* @param style
|
|
1940
|
+
*/
|
|
1899
1941
|
FeatureLayerSettings.prototype.setStyle = function (style) {
|
|
1900
1942
|
return FeatureLayerSettings.copy(Object.assign(Object.assign({}, this), { style: style }));
|
|
1901
1943
|
};
|
|
1944
|
+
/**
|
|
1945
|
+
* Checks if the model has the same content
|
|
1946
|
+
* @param model - the object to compare
|
|
1947
|
+
*/
|
|
1902
1948
|
FeatureLayerSettings.prototype.isSame = function (model) {
|
|
1903
1949
|
if (this.maxZoom !== model.maxZoom)
|
|
1904
1950
|
return false;
|
|
@@ -1982,11 +2028,11 @@
|
|
|
1982
2028
|
return FeatureLayerComponent;
|
|
1983
2029
|
}(DestructibleComponent));
|
|
1984
2030
|
FeatureLayerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FeatureLayerComponent, deps: [{ token: MapPostboyService }, { token: FeatureLayerFactory }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
1985
|
-
FeatureLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FeatureLayerComponent, selector: "
|
|
2031
|
+
FeatureLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: FeatureLayerComponent, selector: "art-feature-layer", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
1986
2032
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: FeatureLayerComponent, decorators: [{
|
|
1987
2033
|
type: i0.Component,
|
|
1988
2034
|
args: [{
|
|
1989
|
-
selector: '
|
|
2035
|
+
selector: 'art-feature-layer',
|
|
1990
2036
|
template: '',
|
|
1991
2037
|
styleUrls: [],
|
|
1992
2038
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2194,11 +2240,11 @@
|
|
|
2194
2240
|
return ClusterLayerComponent;
|
|
2195
2241
|
}(DestructibleComponent));
|
|
2196
2242
|
ClusterLayerComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ClusterLayerComponent, deps: [{ token: MapPostboyService }, { token: ClusterLayerFactory }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2197
|
-
ClusterLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ClusterLayerComponent, selector: "
|
|
2243
|
+
ClusterLayerComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: ClusterLayerComponent, selector: "art-cluster-layer", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2198
2244
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ClusterLayerComponent, decorators: [{
|
|
2199
2245
|
type: i0.Component,
|
|
2200
2246
|
args: [{
|
|
2201
|
-
selector: '
|
|
2247
|
+
selector: 'art-cluster-layer',
|
|
2202
2248
|
template: '',
|
|
2203
2249
|
styleUrls: [],
|
|
2204
2250
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2283,7 +2329,7 @@
|
|
|
2283
2329
|
return MapPlateComponent;
|
|
2284
2330
|
}(DestructibleComponent));
|
|
2285
2331
|
MapPlateComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapPlateComponent, deps: [{ token: i0__namespace.ElementRef }, { token: MapPostboyService }, { token: MapPlateFactory }, { token: MessageRegistratorService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2286
|
-
MapPlateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MapPlateComponent, selector: "
|
|
2332
|
+
MapPlateComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MapPlateComponent, selector: "art-map-plate", inputs: { settings: "settings" }, providers: [
|
|
2287
2333
|
MessageRegistratorService,
|
|
2288
2334
|
MapStateService,
|
|
2289
2335
|
MapManagementService,
|
|
@@ -2293,11 +2339,11 @@
|
|
|
2293
2339
|
DrawingGenerationService,
|
|
2294
2340
|
FeatureService,
|
|
2295
2341
|
FeatureModificationService,
|
|
2296
|
-
], usesInheritance: true, ngImport: i0__namespace, template: "<ng-content></ng-content>\r\n<
|
|
2342
|
+
], usesInheritance: true, ngImport: i0__namespace, template: "<ng-content></ng-content>\r\n<art-osm-tile-layer *ngIf=\"osmUrl && map\" [map]=\"map\" [url]=\"osmUrl\"></art-osm-tile-layer>\r\n<art-feature-layer *ngIf=\"map\" [settings]=\"drawingLayerSettings\"></art-feature-layer>\r\n", styles: ["art-map-plate{position:relative;display:flex;flex-direction:column;height:100%}\n"], components: [{ type: OsmTileLayerComponent, selector: "art-osm-tile-layer", inputs: ["url", "map"] }, { type: FeatureLayerComponent, selector: "art-feature-layer", inputs: ["settings"] }], directives: [{ type: i6__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2297
2343
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapPlateComponent, decorators: [{
|
|
2298
2344
|
type: i0.Component,
|
|
2299
2345
|
args: [{
|
|
2300
|
-
selector: '
|
|
2346
|
+
selector: 'art-map-plate',
|
|
2301
2347
|
templateUrl: './map-plate.component.html',
|
|
2302
2348
|
styleUrls: ['./map-plate.component.scss'],
|
|
2303
2349
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2328,7 +2374,7 @@
|
|
|
2328
2374
|
}
|
|
2329
2375
|
Object.defineProperty(MarkersComponent.prototype, "markers", {
|
|
2330
2376
|
set: function (value) {
|
|
2331
|
-
this._markers = value;
|
|
2377
|
+
this._markers = value !== null && value !== void 0 ? value : [];
|
|
2332
2378
|
this.putMarkers();
|
|
2333
2379
|
},
|
|
2334
2380
|
enumerable: false,
|
|
@@ -2342,19 +2388,18 @@
|
|
|
2342
2388
|
.subscribe(function () { return _this.putMarkers(); });
|
|
2343
2389
|
};
|
|
2344
2390
|
MarkersComponent.prototype.putMarkers = function () {
|
|
2345
|
-
|
|
2346
|
-
if (!((_a = this._markers) === null || _a === void 0 ? void 0 : _a.length))
|
|
2391
|
+
if (!this._markers)
|
|
2347
2392
|
return;
|
|
2348
2393
|
this.postboy.fire(new PlaceLayerFeaturesCommand(this.layerName, this._markers.map(function (m) { return m.feature; })));
|
|
2349
2394
|
};
|
|
2350
2395
|
return MarkersComponent;
|
|
2351
2396
|
}(DestructibleComponent));
|
|
2352
2397
|
MarkersComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MarkersComponent, deps: [{ token: MapPostboyService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2353
|
-
MarkersComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MarkersComponent, selector: "
|
|
2398
|
+
MarkersComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MarkersComponent, selector: "art-markers", inputs: { layerName: "layerName", markers: "markers" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2354
2399
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MarkersComponent, decorators: [{
|
|
2355
2400
|
type: i0.Component,
|
|
2356
2401
|
args: [{
|
|
2357
|
-
selector: '
|
|
2402
|
+
selector: 'art-markers',
|
|
2358
2403
|
template: '',
|
|
2359
2404
|
styleUrls: [],
|
|
2360
2405
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2464,11 +2509,11 @@
|
|
|
2464
2509
|
return TooltipComponent;
|
|
2465
2510
|
}(DestructibleComponent));
|
|
2466
2511
|
TooltipComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TooltipComponent, deps: [{ token: MapPostboyService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2467
|
-
TooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TooltipComponent, selector: "
|
|
2512
|
+
TooltipComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TooltipComponent, selector: "art-tooltip", inputs: { settings: "settings" }, viewQueries: [{ propertyName: "container", first: true, predicate: ["tip"], descendants: true }], usesInheritance: true, ngImport: i0__namespace, template: "<div #tip [class]=\"['tooltip-wrapper', _settings.containerClass]\" [hidden]=\"!show\">\r\n <ng-content></ng-content>\r\n</div>\r\n", styles: [".tooltip-wrapper{position:absolute}\n"], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2468
2513
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: TooltipComponent, decorators: [{
|
|
2469
2514
|
type: i0.Component,
|
|
2470
2515
|
args: [{
|
|
2471
|
-
selector: '
|
|
2516
|
+
selector: 'art-tooltip',
|
|
2472
2517
|
templateUrl: './tooltip.component.html',
|
|
2473
2518
|
styleUrls: ['./tooltip.component.scss'],
|
|
2474
2519
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2491,7 +2536,7 @@
|
|
|
2491
2536
|
}
|
|
2492
2537
|
Object.defineProperty(PolygonsComponent.prototype, "polygons", {
|
|
2493
2538
|
set: function (value) {
|
|
2494
|
-
this._polygons = value;
|
|
2539
|
+
this._polygons = value !== null && value !== void 0 ? value : [];
|
|
2495
2540
|
this.putPolygons();
|
|
2496
2541
|
},
|
|
2497
2542
|
enumerable: false,
|
|
@@ -2512,11 +2557,11 @@
|
|
|
2512
2557
|
return PolygonsComponent;
|
|
2513
2558
|
}(DestructibleComponent));
|
|
2514
2559
|
PolygonsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PolygonsComponent, deps: [{ token: MapPostboyService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2515
|
-
PolygonsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PolygonsComponent, selector: "
|
|
2560
|
+
PolygonsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: PolygonsComponent, selector: "art-polygons", inputs: { layerName: "layerName", polygons: "polygons" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2516
2561
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: PolygonsComponent, decorators: [{
|
|
2517
2562
|
type: i0.Component,
|
|
2518
2563
|
args: [{
|
|
2519
|
-
selector: '
|
|
2564
|
+
selector: 'art-polygons',
|
|
2520
2565
|
template: '',
|
|
2521
2566
|
styleUrls: [],
|
|
2522
2567
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
@@ -2616,11 +2661,11 @@
|
|
|
2616
2661
|
return MapControlZoomComponent;
|
|
2617
2662
|
}(DestructibleComponent));
|
|
2618
2663
|
MapControlZoomComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapControlZoomComponent, deps: [{ token: MapPostboyService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
2619
|
-
MapControlZoomComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MapControlZoomComponent, selector: "
|
|
2664
|
+
MapControlZoomComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: MapControlZoomComponent, selector: "art-map-control-zoom", inputs: { settings: "settings" }, usesInheritance: true, ngImport: i0__namespace, template: '', isInline: true, changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
|
|
2620
2665
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapControlZoomComponent, decorators: [{
|
|
2621
2666
|
type: i0.Component,
|
|
2622
2667
|
args: [{
|
|
2623
|
-
selector: '
|
|
2668
|
+
selector: 'art-map-control-zoom',
|
|
2624
2669
|
template: '',
|
|
2625
2670
|
styleUrls: [],
|
|
2626
2671
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|