@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.
- package/dist/bundles/maps-components-src-map.umd.js +6 -0
- package/dist/bundles/maps-components-src-map.umd.js.map +1 -1
- package/dist/bundles/maps-components.umd.js +6 -0
- package/dist/bundles/maps-components.umd.js.map +1 -1
- package/dist/esm2015/map/models/index.js +2 -1
- package/dist/esm2015/map/models/polygon.model.js +8 -1
- package/dist/esm2015/src/map/models/index.js +2 -1
- package/dist/esm2015/src/map/models/polygon.model.js +8 -1
- package/dist/fesm2015/maps-components-src-map.js +10 -5
- package/dist/fesm2015/maps-components-src-map.js.map +1 -1
- package/dist/fesm2015/maps-components.js +10 -5
- package/dist/fesm2015/maps-components.js.map +1 -1
- package/dist/map/models/index.d.ts +1 -0
- package/dist/map/models/polygon.model.d.ts +3 -0
- package/dist/src/map/models/index.d.ts +1 -0
- package/dist/src/map/models/polygon.model.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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;
|