@artstesh/maps 1.1.17 → 1.1.18

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.
@@ -732,6 +732,11 @@
732
732
  feature.setId(id);
733
733
  return new PolygonModel(feature, id, info);
734
734
  };
735
+ PolygonModel.circle = function (id, lat, lng, radius, info) {
736
+ var feature = new ol.Feature(new geom.Circle([lng, lat], radius));
737
+ feature.setId(id);
738
+ return new PolygonModel(feature, id, info);
739
+ };
735
740
  return PolygonModel;
736
741
  }());
737
742
 
@@ -3541,6 +3546,7 @@
3541
3546
  exports.GetFeaturesInPointQuery = GetFeaturesInPointQuery;
3542
3547
  exports.GetMapPositionExecutor = GetMapPositionExecutor;
3543
3548
  exports.MapClickEvent = MapClickEvent;
3549
+ exports.MapConstants = MapConstants;
3544
3550
  exports.MapControl = MapControl;
3545
3551
  exports.MapControlZoomComponent = MapControlZoomComponent;
3546
3552
  exports.MapLyrsLabel = MapLyrsLabel;