{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/967","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/967/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/967/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/967/events","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/967","id":55945539,"number":967,"title":"Some dashed lines render crooked ","user":{"login":"nickidlugash","id":5607844,"avatar_url":"https://avatars.githubusercontent.com/u/5607844?v=3","gravatar_id":"","url":"https://api.github.com/users/nickidlugash","html_url":"https://github.com/nickidlugash","followers_url":"https://api.github.com/users/nickidlugash/followers","following_url":"https://api.github.com/users/nickidlugash/following{/other_user}","gists_url":"https://api.github.com/users/nickidlugash/gists{/gist_id}","starred_url":"https://api.github.com/users/nickidlugash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickidlugash/subscriptions","organizations_url":"https://api.github.com/users/nickidlugash/orgs","repos_url":"https://api.github.com/users/nickidlugash/repos","events_url":"https://api.github.com/users/nickidlugash/events{/privacy}","received_events_url":"https://api.github.com/users/nickidlugash/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/labels/rendering","name":"rendering","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T19:35:31Z","updated_at":"2015-01-29T21:16:11Z","closed_at":null,"body":"I'm not sure exactly what the issue is, but some dashed lines that have sharp angles in the geometry look like this (click image for larger view):\r\n\r\n![screen shot 2015-01-29 at 2 22 04 pm](https://cloud.githubusercontent.com/assets/5607844/5964604/784cf58a-a7c3-11e4-97ad-dfdd8a88d10a.png)\r\n\r\nThis style looks fine for straight lines:\r\n\r\n![linedash-not-straight](https://cloud.githubusercontent.com/assets/5607844/5964621/9acda906-a7c3-11e4-9f19-e5a27a0d9729.png)\r\n\r\nHere's the written style:\r\n\r\n```\r\n}, {\r\n    \"id\": \"road_path_steps\",\r\n    \"type\": \"line\",\r\n    \"source\": \"mapbox\",\r\n    \"source-layer\": \"road\",\r\n    \"filter\": [\"==\", \"type\", \"steps\"],\r\n    \"paint\": {\r\n      \"line-color\": \"#bba\",\r\n      \"line-dasharray\": [0.3, 0.2],\r\n      \"line-width\": {\r\n        \"base\": 1.3,\r\n        \"stops\": [[15, 1.5], [20, 10]]\r\n      }\r\n    }\r\n```\r\n\r\nThis issue existed before the big line-dash refactor, but it seems a bit worse now. @ansis Any ideas?"},"comment":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/comments/72105636","html_url":"https://github.com/mapbox/mapbox-gl-js/issues/967#issuecomment-72105636","issue_url":"https://api.github.com/repos/mapbox/mapbox-gl-js/issues/967","id":72105636,"user":{"login":"ljbade","id":1215089,"avatar_url":"https://avatars.githubusercontent.com/u/1215089?v=3","gravatar_id":"","url":"https://api.github.com/users/ljbade","html_url":"https://github.com/ljbade","followers_url":"https://api.github.com/users/ljbade/followers","following_url":"https://api.github.com/users/ljbade/following{/other_user}","gists_url":"https://api.github.com/users/ljbade/gists{/gist_id}","starred_url":"https://api.github.com/users/ljbade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ljbade/subscriptions","organizations_url":"https://api.github.com/users/ljbade/orgs","repos_url":"https://api.github.com/users/ljbade/repos","events_url":"https://api.github.com/users/ljbade/events{/privacy}","received_events_url":"https://api.github.com/users/ljbade/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T21:16:11Z","updated_at":"2015-01-29T21:16:11Z","body":"@ansis How are you interpolating the texture coords in the line triangles?"}}