mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
removed console.logs
This commit is contained in:
parent
653dd8ace1
commit
e44780d90e
2 changed files with 3 additions and 7 deletions
|
@ -69,7 +69,6 @@ class Component extends LayerGroup {
|
||||||
return sum;
|
return sum;
|
||||||
}, 0);
|
}, 0);
|
||||||
|
|
||||||
console.log(kmMarks);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
createMiddleMarker = (latlng: LatLngLiteral, angle: number, distance: number): Marker => marker(latlng, {
|
createMiddleMarker = (latlng: LatLngLiteral, angle: number, distance: number): Marker => marker(latlng, {
|
||||||
|
|
|
@ -100,9 +100,6 @@ export const angleBetweenPointsRad = (A: Point, B: Point): number => ((Math.atan
|
||||||
// return new Point(x, y);
|
// return new Point(x, y);
|
||||||
// };
|
// };
|
||||||
|
|
||||||
export const allwaysPositiveAngleDeg = (angle: number): number => {
|
export const allwaysPositiveAngleDeg = (angle: number): number => (
|
||||||
const res = (angle >= -90 && angle <= 90) ? angle : (180 + angle)
|
(angle >= -90 && angle <= 90) ? angle : (180 + angle)
|
||||||
console.log(`${angle} ==> ${res}`)
|
);
|
||||||
|
|
||||||
return res;
|
|
||||||
};
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue