@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
 
@@ -3537,6 +3542,7 @@
3537
3542
  exports.GetFeaturesInPointQuery = GetFeaturesInPointQuery;
3538
3543
  exports.GetMapPositionExecutor = GetMapPositionExecutor;
3539
3544
  exports.MapClickEvent = MapClickEvent;
3545
+ exports.MapConstants = MapConstants;
3540
3546
  exports.MapControl = MapControl;
3541
3547
  exports.MapControlZoomComponent = MapControlZoomComponent;
3542
3548
  exports.MapLyrsLabel = MapLyrsLabel;