GlobalNOC / globalnoc-worldview-panel

Network Map Panel For Grafana Made With React + TypeScript
Apache License 2.0
25 stars 3 forks source link

Altas4 bug : impossible to put a node in specific zone #2

Open dgluski opened 2 years ago

dgluski commented 2 years ago

Hello First of all : Congratulation for your tool ! Unfortunelty I encountered an issue which sounds like a bug. For specific zone like Finland (Helsinki), it not possible to set a node/endpoint. Result with line drawn from paris to Helsinki, it a line that is making a complete round trip, via USA and ASIA. Helsinki node set with correct GPS JSON format : "lat": 60.1733244, "lng": 24.9410248 But when checked with Altas Editor the GPS values, lng has been transformed to -335.03906250000006 I tried to basically add node using Atlas editor manually and impossible to set the node in Helsinki. image

JSON config :

{ "name": "WAN", "adjacencies": [ { "id": "hel_par", "a": "HEL", "b": "PNX", "label": "Helsinki to Paris ", "metadata": { "data_targets": ["INPUT", "OUTPUT"] }, "min": 0, "max": 1000000000 } ], "endpoints": { "HEL": { "id": "HEL", "label": "Helsinki", "lat": 60.169856, "lng": 24.938379 }, "PAR": { "id": "PAR", "label": "Paris", "lat": 48.856061, "lng": 2.3522219 } },
"metadata": {} }

Workaround is to remove 357.62786540000006 to LNG value of my worldwide map, Not tested for my all Lines, but for Paris-hel it worked. On the long term could be nice to fixe this weird behaviour

Thanks !