kocheez75

Joined 13 years ago

Karma
238
Submissions
19
Member since
Aug 8
https://ckochis.com
View on Hacker News

Recent submissions

Comment · 1 year ago
If your data is already in GeoJSON, you can use tippecanoe to produce a tileset in either MBTiles or PMTiles format: https://github.com/felt/tippecanoe.

Or if your data is more dynamic, you can also use the ST_AsMVT extension to query PostGIS, which will generate tiles on-the-fly: https://postgis.net/docs/ST_AsMVT.html

Comment · 3 years ago
The maps are based on MapLibre (Mapbox fork) so any valid Mapbox style can also be applied.
Comment · 4 years ago
Ah, sorry to hear about that! I actually just pushed a fix for a similar crashing issue in Firefox, would be curious to hear if that resolved your issues as well.
Comment · 4 years ago
Thanks!
Comment · 4 years ago
I moved the createBuffer call out of the render loop, and I think the memory issues on FF should be working better (at least on FF 103).
Comment · 4 years ago
Great pointers, I’ll give these a shot. Still new to this so appreciate the suggestions!
Comment · 4 years ago
Comment · 4 years ago
Good callout, I’ll add that in. Most map libs add that automatically, so an oversight on my part.
Comment · 4 years ago
Yeah, that’s precisely why I didn’t tackle that. I was wondering though, does it render text in GL on the web, or leverage the DOM? (I’m just using absolute positioning for the tile labels)
Comment · 4 years ago
Interesting, my hunch would be something about the webgl buffers not getting freed, since they’re running in a tight loop. I’ll do some digging.
Comment · 4 years ago
Ah, was afraid that might happen. I’m doing some pretty aggressive CF caching, but it’s running on a very small (single instance) server :(

—- update

Looks like I hit the CF worker limit. Should be back up and running. Thanks for the heads up!

Comment · 4 years ago
Mostly just because I was using https://webglfundamentals.org/ as my main resource. Will probably take a stab at implementing with WebGPU at some point.
Comment · 4 years ago
Comment · 5 years ago
Radar | Senior Front End Engineer | New York | Full-time | https://radar.io About us: Radar is location data infrastructure. We help product and growth teams build location-aware app experiences. Over the past 12 months, the Radar SDK has been installed on > 100M devices. We're ~35 employees based out of New York. Well-funded Series B startup.

Radar is looking for a Senior Frontend Engineer to build and help design the Radar web application, including api explorers, open source UI Kits, storybook components, dashboards, documentation, landing pages, and more. The Radar web app allows engineers to build and debug location-based product experiences and explore Radar APIs.

Apply: https://boards.greenhouse.io/radarlabs/jobs/4090484003 Jobs: https://radar.io/jobs

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton