@artstesh/maps 1.1.2 → 1.1.4

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.
Files changed (49) hide show
  1. package/dist/bundles/maps-components-src-map.umd.js +156 -12
  2. package/dist/bundles/maps-components-src-map.umd.js.map +1 -1
  3. package/dist/bundles/maps-components.umd.js +156 -12
  4. package/dist/bundles/maps-components.umd.js.map +1 -1
  5. package/dist/esm2015/map/map-plate/map-plate.component.js +4 -1
  6. package/dist/esm2015/map/messages/commands/add-control.command.js +12 -0
  7. package/dist/esm2015/map/messages/commands/remove-control.command.js +12 -0
  8. package/dist/esm2015/map/messages/commands/set-map-center.command.js +23 -0
  9. package/dist/esm2015/map/messages/index.js +4 -1
  10. package/dist/esm2015/map/models/index.js +2 -1
  11. package/dist/esm2015/map/models/map-control.js +15 -0
  12. package/dist/esm2015/map/models/polygon.model.js +6 -3
  13. package/dist/esm2015/map/services/controls/controls.service.js +37 -0
  14. package/dist/esm2015/map/services/map-state.service.js +20 -4
  15. package/dist/esm2015/map/services/message-registrator.service.js +12 -5
  16. package/dist/esm2015/src/map/map-plate/map-plate.component.js +4 -1
  17. package/dist/esm2015/src/map/messages/commands/add-control.command.js +12 -0
  18. package/dist/esm2015/src/map/messages/commands/remove-control.command.js +12 -0
  19. package/dist/esm2015/src/map/messages/commands/set-map-center.command.js +23 -0
  20. package/dist/esm2015/src/map/messages/index.js +4 -1
  21. package/dist/esm2015/src/map/models/index.js +2 -1
  22. package/dist/esm2015/src/map/models/map-control.js +15 -0
  23. package/dist/esm2015/src/map/models/polygon.model.js +6 -3
  24. package/dist/esm2015/src/map/services/controls/controls.service.js +37 -0
  25. package/dist/esm2015/src/map/services/map-state.service.js +20 -4
  26. package/dist/esm2015/src/map/services/message-registrator.service.js +12 -5
  27. package/dist/fesm2015/maps-components-src-map.js +121 -9
  28. package/dist/fesm2015/maps-components-src-map.js.map +1 -1
  29. package/dist/fesm2015/maps-components.js +121 -9
  30. package/dist/fesm2015/maps-components.js.map +1 -1
  31. package/dist/map/messages/commands/add-control.command.d.ts +8 -0
  32. package/dist/map/messages/commands/remove-control.command.d.ts +8 -0
  33. package/dist/map/messages/commands/set-map-center.command.d.ts +18 -0
  34. package/dist/map/messages/index.d.ts +3 -0
  35. package/dist/map/models/index.d.ts +1 -0
  36. package/dist/map/models/map-control.d.ts +13 -0
  37. package/dist/map/services/controls/controls.service.d.ts +14 -0
  38. package/dist/map/services/map-state.service.d.ts +2 -0
  39. package/dist/map/services/message-registrator.service.d.ts +2 -1
  40. package/dist/src/map/messages/commands/add-control.command.d.ts +8 -0
  41. package/dist/src/map/messages/commands/remove-control.command.d.ts +8 -0
  42. package/dist/src/map/messages/commands/set-map-center.command.d.ts +18 -0
  43. package/dist/src/map/messages/index.d.ts +3 -0
  44. package/dist/src/map/models/index.d.ts +1 -0
  45. package/dist/src/map/models/map-control.d.ts +13 -0
  46. package/dist/src/map/services/controls/controls.service.d.ts +14 -0
  47. package/dist/src/map/services/map-state.service.d.ts +2 -0
  48. package/dist/src/map/services/message-registrator.service.d.ts +2 -1
  49. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ol'), require('ol/geom'), require('ol/format'), require('ol/extent'), require('ol/proj'), require('@artstesh/postboy'), require('ol/interaction'), require('ol/interaction/Draw'), require('ol/control'), require('rxjs/operators'), require('ol/source'), require('ol/layer/Tile'), require('ol/source/OSM'), require('ol/layer'), require('ol/loadingstrategy'), require('ol/geom/Polygon'), require('ol/source/Cluster'), require('rxjs'), require('ol/Map'), require('ol/View'), require('ol/Overlay'), require('ol/style/Style'), require('ol/style'), require('ol/proj/epsg4326')) :
3
- typeof define === 'function' && define.amd ? define('maps-components/src/map', ['exports', '@angular/core', '@angular/common', 'ol', 'ol/geom', 'ol/format', 'ol/extent', 'ol/proj', '@artstesh/postboy', 'ol/interaction', 'ol/interaction/Draw', 'ol/control', 'rxjs/operators', 'ol/source', 'ol/layer/Tile', 'ol/source/OSM', 'ol/layer', 'ol/loadingstrategy', 'ol/geom/Polygon', 'ol/source/Cluster', 'rxjs', 'ol/Map', 'ol/View', 'ol/Overlay', 'ol/style/Style', 'ol/style', 'ol/proj/epsg4326'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["maps-components"] = global["maps-components"] || {}, global["maps-components"].src = global["maps-components"].src || {}, global["maps-components"].src.map = {}), global.ng.core, global.ng.common, global.ol, global.geom, global.format, global.extent, global.proj, global.postboy, global.interaction, global.Draw, global.control, global.rxjs.operators, global.source, global.TileLayer, global.OSM, global.layer, global.loadingstrategy, global.Polygon, global.Cluster, global.rxjs, global.Map, global.View, global.Overlay, global.Style, global.style, global.epsg4326));
5
- })(this, (function (exports, i0, i6, ol, geom, format, extent, proj, postboy, interaction, Draw, control, operators, source, TileLayer, OSM, layer, loadingstrategy, Polygon, Cluster, rxjs, Map, View, Overlay, Style, style, epsg4326) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('ol'), require('ol/geom'), require('ol/format'), require('ol/extent'), require('ol/control'), require('ol/proj'), require('@artstesh/postboy'), require('ol/interaction'), require('ol/interaction/Draw'), require('rxjs/operators'), require('ol/source'), require('ol/layer/Tile'), require('ol/source/OSM'), require('ol/layer'), require('ol/loadingstrategy'), require('ol/geom/Polygon'), require('ol/source/Cluster'), require('rxjs'), require('ol/Map'), require('ol/View'), require('ol/Overlay'), require('ol/style/Style'), require('ol/style'), require('ol/proj/epsg4326')) :
3
+ typeof define === 'function' && define.amd ? define('maps-components/src/map', ['exports', '@angular/core', '@angular/common', 'ol', 'ol/geom', 'ol/format', 'ol/extent', 'ol/control', 'ol/proj', '@artstesh/postboy', 'ol/interaction', 'ol/interaction/Draw', 'rxjs/operators', 'ol/source', 'ol/layer/Tile', 'ol/source/OSM', 'ol/layer', 'ol/loadingstrategy', 'ol/geom/Polygon', 'ol/source/Cluster', 'rxjs', 'ol/Map', 'ol/View', 'ol/Overlay', 'ol/style/Style', 'ol/style', 'ol/proj/epsg4326'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["maps-components"] = global["maps-components"] || {}, global["maps-components"].src = global["maps-components"].src || {}, global["maps-components"].src.map = {}), global.ng.core, global.ng.common, global.ol, global.geom, global.format, global.extent, global.control, global.proj, global.postboy, global.interaction, global.Draw, global.rxjs.operators, global.source, global.TileLayer, global.OSM, global.layer, global.loadingstrategy, global.Polygon, global.Cluster, global.rxjs, global.Map, global.View, global.Overlay, global.Style, global.style, global.epsg4326));
5
+ })(this, (function (exports, i0, i6, ol, geom, format, extent, control, proj, postboy, interaction, Draw, operators, source, TileLayer, OSM, layer, loadingstrategy, Polygon, Cluster, rxjs, Map, View, Overlay, Style, style, epsg4326) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
@@ -645,12 +645,14 @@
645
645
 
646
646
  var PolygonModel = /** @class */ (function () {
647
647
  function PolygonModel(feature, id, info) {
648
- var _b;
649
- var _a;
648
+ var _c;
649
+ var _a, _b;
650
650
  this.info = info;
651
651
  this.id = id == null ? IdGenerator.get() : id;
652
652
  this._feature = feature;
653
- _b = __read(extent.getCenter((_a = this._feature.getGeometry()) === null || _a === void 0 ? void 0 : _a.getExtent()), 2), this.lng = _b[0], this.lat = _b[1];
653
+ if (this.info)
654
+ (_a = this._feature) === null || _a === void 0 ? void 0 : _a.set(MapConstants.FeatureInfo, this.info);
655
+ _c = __read(extent.getCenter((_b = this._feature.getGeometry()) === null || _b === void 0 ? void 0 : _b.getExtent()), 2), this.lng = _c[0], this.lat = _c[1];
654
656
  }
655
657
  PolygonModel.fromGeoJson = function (id, json, info) {
656
658
  var feature = new format.GeoJSON().readFeature(json);
@@ -752,6 +754,22 @@
752
754
  return Dictionary;
753
755
  }());
754
756
 
757
+ /**
758
+ *
759
+ * A control is a visible widget with a DOM element in a fixed position on the screen. They can involve user input (buttons), or be informational only; the position is determined using CSS. By default these are placed in the container with CSS class name ol-overlaycontainer-stopevent, but can use any outside DOM element.
760
+ * This is the base class for controls. You can use it for simple custom controls by creating the element with listeners, creating an instance:
761
+ * var myControl = new Control({element: myElement}); and then adding this to the map.
762
+ * The main advantage of having this as a control rather than a simple separate DOM element is that preventing propagation is handled for you. Controls will also be objects in a module:ol/Collection~Collection, so you can use their methods.
763
+ * You can also extend this base for your own control class. See examples/custom-controls for an example of how to do this.
764
+ */
765
+ var MapControl = /** @class */ (function (_super) {
766
+ __extends(MapControl, _super);
767
+ function MapControl(options) {
768
+ return _super.call(this, options) || this;
769
+ }
770
+ return MapControl;
771
+ }(control.Control));
772
+
755
773
  var MapRenderedEvent = /** @class */ (function (_super) {
756
774
  __extends(MapRenderedEvent, _super);
757
775
  function MapRenderedEvent(map) {
@@ -922,6 +940,71 @@
922
940
  }(postboy.PostboyGenericMessage));
923
941
  CancelFeatureModificationCommand.ID = '9c9fb40f-ea95-4704-8177-0e9ecabf36fa';
924
942
 
943
+ var AddControlCommand = /** @class */ (function (_super) {
944
+ __extends(AddControlCommand, _super);
945
+ function AddControlCommand(item) {
946
+ var _this = _super.call(this) || this;
947
+ _this.item = item;
948
+ return _this;
949
+ }
950
+ Object.defineProperty(AddControlCommand.prototype, "id", {
951
+ get: function () {
952
+ return AddControlCommand.ID;
953
+ },
954
+ enumerable: false,
955
+ configurable: true
956
+ });
957
+ return AddControlCommand;
958
+ }(postboy.PostboyGenericMessage));
959
+ AddControlCommand.ID = '8e1c06eb-b395-4fe1-929c-ebf0805eeb49';
960
+
961
+ var RemoveControlCommand = /** @class */ (function (_super) {
962
+ __extends(RemoveControlCommand, _super);
963
+ function RemoveControlCommand(item) {
964
+ var _this = _super.call(this) || this;
965
+ _this.item = item;
966
+ return _this;
967
+ }
968
+ Object.defineProperty(RemoveControlCommand.prototype, "id", {
969
+ get: function () {
970
+ return RemoveControlCommand.ID;
971
+ },
972
+ enumerable: false,
973
+ configurable: true
974
+ });
975
+ return RemoveControlCommand;
976
+ }(postboy.PostboyGenericMessage));
977
+ RemoveControlCommand.ID = '361641e0-804a-4930-8c27-0cea6330dbfc';
978
+
979
+ /**
980
+ * Forces map to move to a specific point
981
+ */
982
+ var SetMapCenterCommand = /** @class */ (function (_super) {
983
+ __extends(SetMapCenterCommand, _super);
984
+ /**
985
+ *
986
+ * @param lat - the desired latitude
987
+ * @param lng - the desired longitude
988
+ * @param zoom - the desired zoom; doesn't change zoom if undefined
989
+ */
990
+ function SetMapCenterCommand(lat, lng, zoom) {
991
+ var _this = _super.call(this) || this;
992
+ _this.lat = lat;
993
+ _this.lng = lng;
994
+ _this.zoom = zoom;
995
+ return _this;
996
+ }
997
+ Object.defineProperty(SetMapCenterCommand.prototype, "id", {
998
+ get: function () {
999
+ return SetMapCenterCommand.ID;
1000
+ },
1001
+ enumerable: false,
1002
+ configurable: true
1003
+ });
1004
+ return SetMapCenterCommand;
1005
+ }(postboy.PostboyGenericMessage));
1006
+ SetMapCenterCommand.ID = 'd50e89c9-6707-4f8c-ab57-65fcef232182';
1007
+
925
1008
  var AddLayerCommand = /** @class */ (function (_super) {
926
1009
  __extends(AddLayerCommand, _super);
927
1010
  function AddLayerCommand(layer) {
@@ -1320,8 +1403,15 @@
1320
1403
  this.postboy = postboy;
1321
1404
  }
1322
1405
  MapStateService.prototype.up = function () {
1406
+ this.observeMapRendering();
1407
+ this.observeCenter();
1408
+ };
1409
+ MapStateService.prototype.observeMapRendering = function () {
1323
1410
  var _this = this;
1324
- this.postboy.subscribe(MapRenderedEvent.ID).subscribe(function (ev) {
1411
+ this.postboy
1412
+ .subscribe(MapRenderedEvent.ID)
1413
+ .pipe(operators.first())
1414
+ .subscribe(function (ev) {
1325
1415
  var _a;
1326
1416
  _this.map = ev.map;
1327
1417
  (_a = _this.map) === null || _a === void 0 ? void 0 : _a.on('moveend', function () {
@@ -1332,6 +1422,15 @@
1332
1422
  });
1333
1423
  });
1334
1424
  };
1425
+ MapStateService.prototype.observeCenter = function () {
1426
+ var _this = this;
1427
+ this.postboy.subscribe(SetMapCenterCommand.ID).subscribe(function (c) {
1428
+ var _a, _b;
1429
+ (_a = _this.map) === null || _a === void 0 ? void 0 : _a.getView().setCenter([c.lng, c.lat]);
1430
+ if (c.zoom)
1431
+ (_b = _this.map) === null || _b === void 0 ? void 0 : _b.getView().setZoom(c.zoom);
1432
+ });
1433
+ };
1335
1434
  return MapStateService;
1336
1435
  }());
1337
1436
  MapStateService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapStateService, deps: [{ token: MapPostboyService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
@@ -1614,16 +1713,55 @@
1614
1713
  type: i0.Injectable
1615
1714
  }], ctorParameters: function () { return [{ type: MapPostboyService }]; } });
1616
1715
 
1716
+ var ControlsService = /** @class */ (function () {
1717
+ function ControlsService(postboy) {
1718
+ this.postboy = postboy;
1719
+ }
1720
+ ControlsService.prototype.up = function () {
1721
+ this.observeMapRender();
1722
+ };
1723
+ ControlsService.prototype.observeMapRender = function () {
1724
+ var _this = this;
1725
+ this.postboy
1726
+ .subscribe(MapRenderedEvent.ID)
1727
+ .pipe(operators.first())
1728
+ .subscribe(function (m) {
1729
+ _this.map = m.map;
1730
+ _this.observeAdding();
1731
+ _this.observeRemoving();
1732
+ });
1733
+ };
1734
+ ControlsService.prototype.observeAdding = function () {
1735
+ var _this = this;
1736
+ this.postboy.subscribe(AddControlCommand.ID).subscribe(function (c) { var _a; return (_a = _this.map) === null || _a === void 0 ? void 0 : _a.addControl(c.item); });
1737
+ };
1738
+ ControlsService.prototype.observeRemoving = function () {
1739
+ var _this = this;
1740
+ this.postboy
1741
+ .subscribe(RemoveControlCommand.ID)
1742
+ .subscribe(function (c) { var _a; return (_a = _this.map) === null || _a === void 0 ? void 0 : _a.removeControl(c.item); });
1743
+ };
1744
+ return ControlsService;
1745
+ }());
1746
+ ControlsService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ControlsService, deps: [{ token: MapPostboyService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1747
+ ControlsService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ControlsService });
1748
+ i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: ControlsService, decorators: [{
1749
+ type: i0.Injectable
1750
+ }], ctorParameters: function () { return [{ type: MapPostboyService }]; } });
1751
+
1617
1752
  var MessageRegistratorService = /** @class */ (function (_super) {
1618
1753
  __extends(MessageRegistratorService, _super);
1619
- function MessageRegistratorService(service, management, state, mapFeature, interaction, drawing, featureModification) {
1754
+ function MessageRegistratorService(service, management, state, mapFeature, interaction, drawing, featureModification, controls) {
1620
1755
  var _this = _super.call(this, service) || this;
1621
- _this.registerServices([management, state, interaction, mapFeature, drawing, featureModification]);
1756
+ _this.registerServices([management, state, interaction, mapFeature, drawing, featureModification, controls]);
1622
1757
  return _this;
1623
1758
  }
1624
1759
  MessageRegistratorService.prototype._up = function () {
1625
1760
  this.registerReplay(MapRenderedEvent.ID);
1626
1761
  this.registerReplay(PlaceLayerFeaturesCommand.ID);
1762
+ this.registerReplay(RemoveControlCommand.ID);
1763
+ this.registerReplay(AddControlCommand.ID);
1764
+ this.registerReplay(SetMapCenterCommand.ID);
1627
1765
  this.registerSubject(AddLayerCommand.ID);
1628
1766
  this.registerSubject(RemoveLayerCommand.ID);
1629
1767
  this.registerSubject(AddTileCommand.ID);
@@ -1649,11 +1787,11 @@
1649
1787
  };
1650
1788
  return MessageRegistratorService;
1651
1789
  }(postboy.PostboyAbstractRegistrator));
1652
- MessageRegistratorService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MessageRegistratorService, deps: [{ token: MapPostboyService }, { token: MapManagementService }, { token: MapStateService }, { token: MapFeatureService }, { token: MapClickService }, { token: DrawingService }, { token: FeatureModificationService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1790
+ MessageRegistratorService.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MessageRegistratorService, deps: [{ token: MapPostboyService }, { token: MapManagementService }, { token: MapStateService }, { token: MapFeatureService }, { token: MapClickService }, { token: DrawingService }, { token: FeatureModificationService }, { token: ControlsService }], target: i0__namespace.ɵɵFactoryTarget.Injectable });
1653
1791
  MessageRegistratorService.ɵprov = i0__namespace.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MessageRegistratorService });
1654
1792
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MessageRegistratorService, decorators: [{
1655
1793
  type: i0.Injectable
1656
- }], ctorParameters: function () { return [{ type: MapPostboyService }, { type: MapManagementService }, { type: MapStateService }, { type: MapFeatureService }, { type: MapClickService }, { type: DrawingService }, { type: FeatureModificationService }]; } });
1794
+ }], ctorParameters: function () { return [{ type: MapPostboyService }, { type: MapManagementService }, { type: MapStateService }, { type: MapFeatureService }, { type: MapClickService }, { type: DrawingService }, { type: FeatureModificationService }, { type: ControlsService }]; } });
1657
1795
 
1658
1796
  var TileLayerSettings = /** @class */ (function () {
1659
1797
  function TileLayerSettings() {
@@ -2339,6 +2477,7 @@
2339
2477
  DrawingGenerationService,
2340
2478
  FeatureService,
2341
2479
  FeatureModificationService,
2480
+ ControlsService,
2342
2481
  ], 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 });
2343
2482
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0__namespace, type: MapPlateComponent, decorators: [{
2344
2483
  type: i0.Component,
@@ -2357,6 +2496,7 @@
2357
2496
  DrawingGenerationService,
2358
2497
  FeatureService,
2359
2498
  FeatureModificationService,
2499
+ ControlsService,
2360
2500
  ],
2361
2501
  }]
2362
2502
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: MapPostboyService }, { type: MapPlateFactory }, { type: MessageRegistratorService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { settings: [{
@@ -2874,6 +3014,7 @@
2874
3014
  * Generated bundle index. Do not edit.
2875
3015
  */
2876
3016
 
3017
+ exports.AddControlCommand = AddControlCommand;
2877
3018
  exports.CancelDrawingCommand = CancelDrawingCommand;
2878
3019
  exports.CancelFeatureModificationCommand = CancelFeatureModificationCommand;
2879
3020
  exports.CloseTooltipCommand = CloseTooltipCommand;
@@ -2884,6 +3025,7 @@
2884
3025
  exports.FeatureLayerComponent = FeatureLayerComponent;
2885
3026
  exports.FeatureLayerSettings = FeatureLayerSettings;
2886
3027
  exports.MapClickEvent = MapClickEvent;
3028
+ exports.MapControl = MapControl;
2887
3029
  exports.MapControlZoomComponent = MapControlZoomComponent;
2888
3030
  exports.MapLyrsLabel = MapLyrsLabel;
2889
3031
  exports.MapModule = MapModule;
@@ -2901,6 +3043,8 @@
2901
3043
  exports.PolygonModel = PolygonModel;
2902
3044
  exports.PolygonStyleHelper = PolygonStyleHelper;
2903
3045
  exports.PolygonsComponent = PolygonsComponent;
3046
+ exports.RemoveControlCommand = RemoveControlCommand;
3047
+ exports.SetMapCenterCommand = SetMapCenterCommand;
2904
3048
  exports.StartDrawingCommand = StartDrawingCommand;
2905
3049
  exports.StringifyFeatureHelper = StringifyFeatureHelper;
2906
3050
  exports.TextStyleHelper = TextStyleHelper;