Simon Willison announced that datasette-cluster-map 0.19 supports Datasette 1.0a42 and depends on the new datasette-leaflet 0.3. Datasette table pages previously used a no-referrer policy, preventing OpenStreetMap tile requests from sending the required referrer header. The update sets strict-origin-when-cross-origin on tile requests themselves, passing the host but not the full page path. Map-plugin users can therefore check both version compatibility and compliance with the tile provider’s request policy.
Back to Tech
Datasette map plugins fix the referrer policy on tile requests
Requests identify the source host without revealing the full page path, addressing tile-server policy compliance.