Walter Nordmann
Walter Nordmann
same for me. if i just add script src='js/common/leaflet/leaflet-tilefilter.js' , i get this error message too. even if i don't change anything else. and my existing tilelayer is empty. leaflet...
Hi Scott, i switched back to master and CSS-Filters are running fine. Canvas does not run. Source: filter: function (image, ctx) { new L.CanvasFilter({ channelFilter: function (imageData) { return new...
done (0.7.5 + master): 17:14:11.839 TypeError: (intermediate value).render is not a function 21x idx028.jsp:173:23 that is the return-statement of your function. ``` filter: function (image, ctx) { new L.CanvasFilter({ channelFilter:...
Hi Scott, same for me. I'm running some OpenStreetMap Applications for fun, mainly quality control of national and international boundaries. (still openlayers: https://osm.wno-edv-service.de/boundaries) Tnx for the detailed description of "filter"....
i'm realy frustrated: ``` var osmOrgUrl = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'; var osmOrg = L.tileLayer(osmOrgUrl, { attribution: osmAttr, filter: L.ImageFilters.Presets.CanvasChannel.Sepia1 }); ``` gives  see https://osm.wno-edv-service.de/locator/idx028.jsp may be, my program is too complex....
Different tile size depending on screen resolution? Canvas should never change the tilesize, i think Got it, adding detectRetina: true did fix it. For me. i'm using a 4k-monitor with...
Hi Scott, went to my neighbor and did a test: Windows/Firefox/"normal" Screen (no 4k) and everything is fine :-) Tnx for your help - and patience Regards walter
Hi Scott, after beeing happy for some days i'm going to write my own filter (grayscale depending on Daytime) but without any luck. All of your examples except the last...
did it (cut/paste) only changed the url because of HTTPS to 'https://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg' TypeError: image is undefined --- 60x at leaflet-tilefilter.js 346:13 ``` L.CanvasFilter = L.ImageFilter.extend({ render: function(element, image, ctx) {...
Great! I only see red tiles - but it is working :-) Now i've got a chance to configure my own filters. It's not easy for my to understand what's...