kazuhitoyokoi / node-red-contrib-flightradar24

Apache License 2.0
5 stars 0 forks source link

Geolib function name change #2

Closed radioman192 closed 5 years ago

radioman192 commented 5 years ago

The Geolib function "isPointInCircle" appears to have been changed to "isPointWithinRadius" with the result that flightradar24 reports the following debug message when I attempt to use it on my MacBook Air (MacOS 10.14.4 with node-red 0.20.6) "TypeError: geolib.isPointInCircle is not a function" The node works ok on my old MacBook mid-2010 (MacOS 10.13.6 with node-red 0.19.5)

radioman192 commented 5 years ago

I think I resolved this by renaming the function call in Node.js ("isPointWithinRadius") - it now works :-)