Object is created, but I cant find it. Help! #78
-
Hi @EvenAR, In this simple bit of code, a windsock is indeed being created. The Total Occurrences of the object in the Statistics Profiler increases by 1. And I have confirmed that the lat/lon/alt of the object is correct. Any idea why I am not seeing the object?
|
Beta Was this translation helpful? Give feedback.
Answered by
EvenAR
May 2, 2023
Replies: 1 comment 2 replies
-
Hi! SimConnect uses the same coordinate system as Google Maps (WGS84). When I Google "0.5923607347913556, 2.066137895854694" I end up in the Atlantic ocean. Perhaps your lat/long are from a different coordinate reference system? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ahh, msfs-simconnect-api-wrapper retrieves lat/lon in radians. Try multiplying them with
180/π
to convert them to degrees, and I think it should work.