{"action":"created","issue":{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/106","labels_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/106/comments","events_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/106/events","html_url":"https://github.com/osm2vectortiles/osm2vectortiles/issues/106","id":123059429,"number":106,"title":"Raster tiles are displayer over semi-transparent osm tiles in Leaflet mode + code","user":{"login":"hyperknot","id":494223,"avatar_url":"https://avatars.githubusercontent.com/u/494223?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperknot","html_url":"https://github.com/hyperknot","followers_url":"https://api.github.com/users/hyperknot/followers","following_url":"https://api.github.com/users/hyperknot/following{/other_user}","gists_url":"https://api.github.com/users/hyperknot/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperknot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperknot/subscriptions","organizations_url":"https://api.github.com/users/hyperknot/orgs","repos_url":"https://api.github.com/users/hyperknot/repos","events_url":"https://api.github.com/users/hyperknot/events{/privacy}","received_events_url":"https://api.github.com/users/hyperknot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-19T03:47:11Z","updated_at":"2015-12-19T08:53:22Z","closed_at":null,"body":"For styles such as Streets-Basic, everything is rendered twice, on top of each other, in a semi-transparent way. It is because for some reason both an osm tile and the generated tile is added for Leaflet.\r\n\r\n```\r\nL.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map);\r\nL.tileLayer('http://192.168.99.100:8080/mapbox-studio-streets-basic/{z}/{x}/{y}.png'\r\n```\r\n\r\nThe openstreetmap tile layer should be removed, or limited to low zooms (with maxZoom option)."},"comment":{"url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/comments/165961523","html_url":"https://github.com/osm2vectortiles/osm2vectortiles/issues/106#issuecomment-165961523","issue_url":"https://api.github.com/repos/osm2vectortiles/osm2vectortiles/issues/106","id":165961523,"user":{"login":"lukasmartinelli","id":1288339,"avatar_url":"https://avatars.githubusercontent.com/u/1288339?v=3","gravatar_id":"","url":"https://api.github.com/users/lukasmartinelli","html_url":"https://github.com/lukasmartinelli","followers_url":"https://api.github.com/users/lukasmartinelli/followers","following_url":"https://api.github.com/users/lukasmartinelli/following{/other_user}","gists_url":"https://api.github.com/users/lukasmartinelli/gists{/gist_id}","starred_url":"https://api.github.com/users/lukasmartinelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukasmartinelli/subscriptions","organizations_url":"https://api.github.com/users/lukasmartinelli/orgs","repos_url":"https://api.github.com/users/lukasmartinelli/repos","events_url":"https://api.github.com/users/lukasmartinelli/events{/privacy}","received_events_url":"https://api.github.com/users/lukasmartinelli/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T08:53:22Z","updated_at":"2015-12-19T08:53:22Z","body":"This is a tileserver-mapnik thinf https://github.com/klokantech/tileserver-mapnik.\r\n\r\n@klokan: me and @manuel also wondered why there is always an OpenStreetMap basemap underneath?\r\nIt is not tragic because people can remove it but I also think it is a bit confusing."}}