{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/2776","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/2776/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/2776/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/2776/events","html_url":"https://github.com/Leaflet/Leaflet/issues/2776","id":37193139,"number":2776,"title":"Tiles not showing up for Custom CRS or L.CRS.Simple","user":{"login":"Jakobud","id":87356,"avatar_url":"https://avatars.githubusercontent.com/u/87356?v=3","gravatar_id":"","url":"https://api.github.com/users/Jakobud","html_url":"https://github.com/Jakobud","followers_url":"https://api.github.com/users/Jakobud/followers","following_url":"https://api.github.com/users/Jakobud/following{/other_user}","gists_url":"https://api.github.com/users/Jakobud/gists{/gist_id}","starred_url":"https://api.github.com/users/Jakobud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jakobud/subscriptions","organizations_url":"https://api.github.com/users/Jakobud/orgs","repos_url":"https://api.github.com/users/Jakobud/repos","events_url":"https://api.github.com/users/Jakobud/events{/privacy}","received_events_url":"https://api.github.com/users/Jakobud/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-07-05T06:03:38Z","updated_at":"2015-01-15T10:29:51Z","closed_at":"2014-07-06T04:52:38Z","body":"I have this custom projection and CRS setup.  This worked fine in Leaflet 0.6.4:\r\n\r\n```\r\n// Custom Projection\r\nL.Projection.LatLon = {\r\n\tproject: function (latlng) {\r\n\t\treturn new L.Point(latlng.lat, latlng.lng);\r\n\t},\r\n\tunproject: function (point) {\r\n\t\treturn new L.LatLng(point.x, point.y);\r\n\t}\r\n};\r\n\r\n// Custom CRS\r\nL.CRS.Screen = L.extend({}, L.CRS, {\r\n\tprojection: L.Projection.LatLon,\r\n\ttransformation: new L.Transformation(1, 0, 1, 0),\r\n\tscale: function (zoom) {\r\n\t\treturn Math.pow(2, zoom);\r\n\t}\r\n});\r\n\r\n// Map Creation\r\nmap = L.map('map',\r\n{\r\n\tcrs: L.CRS.Screen ,\r\n\tminZoom: -10,\r\n\tmaxZoom: 7,\r\n\tattributionControl: false,\r\n}).setView([0,0],0);\r\n\r\nvar tileUrl = \"//cdn.mysite.com/tiles/zoom{z}/tile_{z}_{x}_{y}.jpg\";\r\nvar tiles = L.tileLayer(tileUrl, { subdomains: '0123', noWrap: true }).addTo(map);\r\n```\r\n\r\nNow, upgrading to Leaflet 0.7.3, my tiles don't show up.  I have also tried `L.CRS.Simple` and my tiles don't show up for that either.  I don't get any JS errors or 404 errors.\r\n\r\nIf I don't specify a `crs` then my tiles do show up just fine using the default `CRS`.  What am I missing here?"},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/70066661","html_url":"https://github.com/Leaflet/Leaflet/issues/2776#issuecomment-70066661","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/2776","id":70066661,"user":{"login":"davidostermann","id":1778607,"avatar_url":"https://avatars.githubusercontent.com/u/1778607?v=3","gravatar_id":"","url":"https://api.github.com/users/davidostermann","html_url":"https://github.com/davidostermann","followers_url":"https://api.github.com/users/davidostermann/followers","following_url":"https://api.github.com/users/davidostermann/following{/other_user}","gists_url":"https://api.github.com/users/davidostermann/gists{/gist_id}","starred_url":"https://api.github.com/users/davidostermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidostermann/subscriptions","organizations_url":"https://api.github.com/users/davidostermann/orgs","repos_url":"https://api.github.com/users/davidostermann/repos","events_url":"https://api.github.com/users/davidostermann/events{/privacy}","received_events_url":"https://api.github.com/users/davidostermann/received_events","type":"User","site_admin":false},"created_at":"2015-01-15T10:29:51Z","updated_at":"2015-01-15T10:29:51Z","body":"I have the same problem"}}