3 ms·
This is very nice! Happy to see a few of my libraries in the dependencies :) Also check out https://github.com/kothic/kothic-js https://github.com/kothic/kothi
by mourner 5y ago
This is very nice! Happy to see a few of my libraries in the dependencies :)
Also check out https://github.com/kothic/kothic-js https://github.com/kothic/kothic-js, an older but similar attempt at making a full-fledged map renderer using 2D Canvas. It has a pretty good label rendering in particular which you might find useful.
- xrd 5y agoThis looks great. I am super excited about the parent tool, but unsure whether/when I can generate these bundles programmatically. I tried the web based tool and it works great, but what if I need to do it many, many times? Can your tool do this easily? Is there a way to generate tiles (tiles.pmtiles) that are imported in the same way? If I had stumbled on your project, I would not have been enthusiastic about it with just the writeup as-is. Seeing the parent project makes me see the possibilities: a completely independent mapping solution, free of any server/service tie in and additional costs. That is super exciting, and I would love to know if and how your project compares.
- bdon 5y agoI'd like to understand what you mean by doing it many times - do you mean for different areas of the world? I haven't thought about API access to the bundles in detail yet, but you can contact me via email at brandon@protomaps.com if you have some idea of what you need.
- bdon 5y agoThank you! Really appreciate the commitment to simplicity among the libraries I'm using like potpack, rbush, and polylabel. I did take a look at Kothic and agree the labeling is great; I did feel like I needed to write yet another Canvas renderer to take advantage of async/await and also eventually expose runtime-extendable custom Symbolizers.