{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4155","repository_url":"https://api.github.com/repos/mapbox/mapbox-gl-native","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4155/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4155/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4155/events","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4155","id":137553630,"number":4155,"title":"PrecisionPoint TransformState::latLngToPoint dateline issue","user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-01T11:56:37Z","updated_at":"2016-03-06T21:18:23Z","closed_at":null,"body":"Issue in `mbgl` when calculating points based on LatLng from the left side of the dateline after crossing the dateline from left to right. This is a follow up issue for https://github.com/mapbox/mapbox-gl-native/issues/3995.\r\n\r\nAn example:\r\n\r\nTake this LatLng:\r\n> LatLng [longitude=-179.64576449708883, latitude=-16.83408606795382, altitude=0.0]\r\n\r\nbefore crossing the dateline `latLngToPoint` is giving us Point[**x=455.80133**, y= 746.6456]\r\nwhile after crossing the dateline `latLngToPoint` is giving us Point[**x=393667.44**, y=747.1837].\r\nNormally we should see a small decrease in value not a big increase.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/comments/192998163","html_url":"https://github.com/mapbox/mapbox-gl-native/issues/4155#issuecomment-192998163","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-native/issues/4155","id":192998163,"user":{"login":"tobrun","id":2151639,"avatar_url":"https://avatars.githubusercontent.com/u/2151639?v=3","gravatar_id":"","url":"https://api.github.com/users/tobrun","html_url":"https://github.com/tobrun","followers_url":"https://api.github.com/users/tobrun/followers","following_url":"https://api.github.com/users/tobrun/following{/other_user}","gists_url":"https://api.github.com/users/tobrun/gists{/gist_id}","starred_url":"https://api.github.com/users/tobrun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobrun/subscriptions","organizations_url":"https://api.github.com/users/tobrun/orgs","repos_url":"https://api.github.com/users/tobrun/repos","events_url":"https://api.github.com/users/tobrun/events{/privacy}","received_events_url":"https://api.github.com/users/tobrun/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T21:18:23Z","updated_at":"2016-03-06T21:18:23Z","body":"Here is the related [video](https://youtu.be/vlN-BLCpe5M) showing it,\r\nnote that the hash mentioned above contained this flashing regression from #4174.\r\nwhich is no longer a problem on master."}}