{"action":"created","issue":{"url":"https://api.github.com/repos/propublica/simpler-tiles/issues/7","labels_url":"https://api.github.com/repos/propublica/simpler-tiles/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/propublica/simpler-tiles/issues/7/comments","events_url":"https://api.github.com/repos/propublica/simpler-tiles/issues/7/events","html_url":"https://github.com/propublica/simpler-tiles/issues/7","id":64249143,"number":7,"title":"Question about Projections","user":{"login":"milafrerichs","id":688980,"avatar_url":"https://avatars.githubusercontent.com/u/688980?v=3","gravatar_id":"","url":"https://api.github.com/users/milafrerichs","html_url":"https://github.com/milafrerichs","followers_url":"https://api.github.com/users/milafrerichs/followers","following_url":"https://api.github.com/users/milafrerichs/following{/other_user}","gists_url":"https://api.github.com/users/milafrerichs/gists{/gist_id}","starred_url":"https://api.github.com/users/milafrerichs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milafrerichs/subscriptions","organizations_url":"https://api.github.com/users/milafrerichs/orgs","repos_url":"https://api.github.com/users/milafrerichs/repos","events_url":"https://api.github.com/users/milafrerichs/events{/privacy}","received_events_url":"https://api.github.com/users/milafrerichs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-25T11:41:26Z","updated_at":"2015-03-30T17:04:52Z","closed_at":null,"body":"Hey guys,\r\n\r\nthanks again for SimplerTiles. I really like it. I played around a bit an tried to change the projection. \r\nBut it seems that I'm not as successful as I'd like. \r\nI set up a server for the mapping and one for the tiles.\r\nFor the tile server I used\r\n``m.srs = \"EPSG:4326\"`` (https://github.com/milafrerichs/simpler-tiles-examples/blob/master/server.rb#L24)\r\nto change the projection. But the result is not what I'd expect:\r\nhttp://simple-mapping-codeformuenster.gigantic.io/projections/1\r\n![bildschirmfoto 2015-03-25 um 12 38 26](https://cloud.githubusercontent.com/assets/688980/6823824/2de002fe-d2ec-11e4-80fd-4d74dfe7d963.png)\r\n\r\nI tried both OL and leaflet (0.8) but could not get it to work:\r\nhttps://github.com/milafrerichs/simple-sinatra-mapping-example/blob/master/views/projections.haml#L27\r\n\r\nI have the feeling I'm doing something wrong. :)\r\nMaybe you can help?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/propublica/simpler-tiles/issues/comments/87752560","html_url":"https://github.com/propublica/simpler-tiles/issues/7#issuecomment-87752560","issue_url":"https://api.github.com/repos/propublica/simpler-tiles/issues/7","id":87752560,"user":{"login":"thejefflarson","id":55365,"avatar_url":"https://avatars.githubusercontent.com/u/55365?v=3","gravatar_id":"","url":"https://api.github.com/users/thejefflarson","html_url":"https://github.com/thejefflarson","followers_url":"https://api.github.com/users/thejefflarson/followers","following_url":"https://api.github.com/users/thejefflarson/following{/other_user}","gists_url":"https://api.github.com/users/thejefflarson/gists{/gist_id}","starred_url":"https://api.github.com/users/thejefflarson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thejefflarson/subscriptions","organizations_url":"https://api.github.com/users/thejefflarson/orgs","repos_url":"https://api.github.com/users/thejefflarson/repos","events_url":"https://api.github.com/users/thejefflarson/events{/privacy}","received_events_url":"https://api.github.com/users/thejefflarson/received_events","type":"User","site_admin":false},"created_at":"2015-03-30T17:04:52Z","updated_at":"2015-03-30T17:04:52Z","body":"ya, that's what I thought too. is it possible that leaflet is projecting the tile coordinates into the other projection before requesting a tile? I never actually tested that reprojecting line so i may be doing something wrong there. Is there any easy way to test this? Like maybe projecting the bounding box with another library and then see what / how simple tiles differs?"}}