datasette-leaflet 0.3
13th November 2026
Release
datasette-leaflet 0.3
— Datasette plugin adding the Leaflet JavaScript library
OpenStreetMap have a very reasonable policy that hits to their hosted tile server should send a referrer header. Datasette table pages used the Referrer-Policy: no-referrer HTTP header, causing plugins that loaded tiles from OpenStreetMap to violate that policy.
datasette-leaflet is the plugin that loads a bundled Leaflet so other Datasette plugins can depend on it. It now sets the referrer policy on the tile requests themselves to strict-origin-when-cross-origin, passing the host but not the full path to the page.
看标题就点进来了,内容果然没让人失望。
不错不错,已加入书签。
写得挺用心的,支持一下。
实话,说的不明不白
赞同,实践出真知。
思路清晰,干货满满。
整理得太全面了,省了我不少时间。
赞同,实践出真知。
实话,说的不明不白
整理得太全面了,省了我不少时间。
写得挺用心的,支持一下。
实测过类似工具,作者说的基本属实。