Michael Keller
Michael Keller
I've been experimenting with some canvas components here. This is just a quick first attempt to get things working: https://github.com/mhkeller/tks_map-layercake/blob/abd4269d09599fec81ccc8bb82a7331d7becb223/src/lib/layercake-components/canvas/MapPolygon.canvas.svelte
I'll close this for now since the new examples are working. There may be a worthwhile change in the future to rewrite how canvas works.
This is the next one on the list right?
Thanks for the write-up and for wrestling with it. That makes sense to me. Let's keep it as a gut-check to make sure that the svelte-5 migration doesn't introduce glaring...
Should we wrap this up as a local test function and merge it?
Sorry for my slowness on this one. I checked it out and it looks good! I had to add this network idle check to get the download test to pass....
@rgieseke let me know if there's anything else you want to add to this one. Otherwise, we'll merge!
I think once this is merged, I can finish the rest of the migration this week. I'd love to finish it before I'm set to give a tutorial on Friday.
Just went through it. Looks good to me! We can tweak if need be.
What's your thinking in having it just be those two? `createScale` gets called with all of those parameters, no?