James Milner
banner
jameslmilner.bsky.social
James Milner
@jameslmilner.bsky.social
Staff Engineer, open source fan, hacking on geospatial in my spare time. Lives in London
Experimenting with a little undo/redo ↩️
October 22, 2025 at 9:41 PM
After a long time, I finally figured out how to support adding markers universally in Terra Draw. Now there's a marker mode that works for @maplibre.org , @openlayers.org, Leaflet etc. It uses their native marker support to allow you to add icons to the map, like you would add a point
October 12, 2025 at 5:52 PM
Made some performance improvements to Terra Route, a JavaScript shortest path library. Here's a video at 4x CPU slowdown, comparing the next fastest library (green route) against my latest changes (purple route). Here's the link: github.com/jameslmilner...
September 14, 2025 at 11:27 AM
I've taken this a step further today - we can now test to ensure all examples load without error, essentially creating a series of smoke tests for all mapping libraries. This adds a little bit of extra confidence in changes being made to the project going forward.
August 12, 2025 at 11:39 AM
The request to draw freehand lines in Terra Draw keeps popping up so I've been experimenting with it a little this evening and it's actually a lot of fun! Little demo on a @maplibre.org map #foss4g #gischat
July 23, 2025 at 7:41 PM
Terra Route latest update goes from 1.5x faster than the alternative library to 2.25x faster for route finding! This works well with Terra Draw in a custom draw mode, where you draw out multi-stop routes in real time
June 9, 2025 at 6:46 PM
Been working a bit more on snapping polygons today in Terra Draw, now when you have a polygon selected you'll be able to snap it's vertexes to other polygons ✏️📐🌏
June 8, 2025 at 7:47 PM
I've been working on improving a route snapping mode implementation for Terra Draw, and ended up creating a whole new library for efficient clientside routing on GeoJSON. It's about 35-68% faster than prior art depending on configurations.
April 2, 2025 at 7:05 PM
Terra Draw supports custom snapping implementations for the polygon mode - I did a little proof of concept for snapping to right angles 📐✏️
March 11, 2025 at 8:38 PM