Skip to content

'weather/{lat,long}' broke sometimes #10

Closed
@semir4in

Description

@semir4in

Hello. thank you for making non-api-key db in advance. I'm so glad that I can embed weather tab in my app so easily.

Describe the bug
I got lat,long from chrome locator and tried get response weatherdbi:

// in javascript
const longitude = position.coords.longitude; // chrome function
const latitude = position.coords.latitude; // chrome function
const url = `https://weatherdbi.herokuapp.com/data/weather/${latitude},${longitude}`;

but I got failed response with the location nearby my home. After that day, I checked the same code in other place and got the right response. So, for more infomation, I checked these regions in google map that they are indicating certain place in South Korea. And here's the things..

To Reproduce
Four examples with very small changes ~ 0.1 changes in longitude:

It doesn't seem to work in certain sections. It's a difficult problem to guess because I can't look inside the code. Can you figure it out? If you can catch the reason, please fix it for useful weather database 😎

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible-bugThe issue is possibly a bug but needs either more information or additional investigation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions