@smartnet360/svelte-components 0.0.60 → 0.0.61
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.
|
@@ -24,7 +24,7 @@ import * as turf from '@turf/turf';
|
|
|
24
24
|
* 64 // 64 points
|
|
25
25
|
* );
|
|
26
26
|
*/
|
|
27
|
-
export function createArcPolygon(center, azimuth, beamwidth, radius, steps =
|
|
27
|
+
export function createArcPolygon(center, azimuth, beamwidth, radius, steps = 6) {
|
|
28
28
|
// Convert radius from meters to kilometers for Turf
|
|
29
29
|
const radiusKm = radius / 1000;
|
|
30
30
|
// Calculate start and end bearings for the arc
|