{"action":"opened","issue":{"url":"https://api.github.com/repos/mapbox/geojson.io/issues/606","repository_url":"https://api.github.com/repos/mapbox/geojson.io","labels_url":"https://api.github.com/repos/mapbox/geojson.io/issues/606/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/geojson.io/issues/606/comments","events_url":"https://api.github.com/repos/mapbox/geojson.io/issues/606/events","html_url":"https://github.com/mapbox/geojson.io/issues/606","id":302287707,"number":606,"title":"Possible to generate longitude coordinates > 180","user":{"login":"batpad","id":72280,"avatar_url":"https://avatars2.githubusercontent.com/u/72280?v=4","gravatar_id":"","url":"https://api.github.com/users/batpad","html_url":"https://github.com/batpad","followers_url":"https://api.github.com/users/batpad/followers","following_url":"https://api.github.com/users/batpad/following{/other_user}","gists_url":"https://api.github.com/users/batpad/gists{/gist_id}","starred_url":"https://api.github.com/users/batpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batpad/subscriptions","organizations_url":"https://api.github.com/users/batpad/orgs","repos_url":"https://api.github.com/users/batpad/repos","events_url":"https://api.github.com/users/batpad/events{/privacy}","received_events_url":"https://api.github.com/users/batpad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-05T12:49:52Z","updated_at":"2018-03-05T12:49:52Z","closed_at":null,"author_association":"NONE","body":"Steps to reproduce:\r\n\r\nPan the map right to the \"second\" world by panning right past the international date line. Then add a point. The longitudinal value for the point gets set as 360 + the real longitude value. This has an additional side effect of breaking the geocoder since the geocoder sends the `proximity` parameter with a lon value above 180.\r\n\r\nExpected behaviour:\r\n\r\nIt should never be possible to generate longitude values < 180 or > 180.\r\n\r\nPossible solution (?):\r\n\r\nRestrict the bounding box of the map to -180,180 or so?\r\n\r\nNot sure what the best solution here is, or if there is a legitimate use-case for coordinates > 180 - if this seems like a bug, happy to make a PR."}}
{"actor":{"display_login":"batpad"}}