Since codepen switched to HTTPS in summer, I changed my local weather app to use the API https://ipapi.co/json to retrieve latitude and longitude for my current location to query local weather info. It has been working great.
However, to my surprise today, the API is retrieving wrong city, latitude and longitude even though it returned correct IP address when I ran https://ipapi.co/json on browser. With the wrong city, the local weather app is getting wrong information.
Does anyone here know why the API is getting wrong city information ?