Repository navigation
Tags
Tags
Read GeoJson files as UTF-8 regardless of locale (#2331) GeoJson(filename) opened the file in text mode without an encoding, so it was decoded with the locale encoding. On Windows that garbles or fails on non-ASCII properties (the bundled kuntarajat.geojson raises UnicodeDecodeError under cp932). Read the file as bytes and let json detect the encoding, which also accepts a UTF-8 BOM. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Issue 1359 (#2159) * Fix for issue 1359 This includes a structural change. I added a Class object with a include method. This follows leaflet's `L.Class.include` statement. This allows users to override Leaflet class behavior. The motivating example for this can be found in the added `test_include` in `test_map.py`. Using an include, users can override the `createTile` method of `L.TileLayer` and add a headers. * Close #1359 Add an include statement, that will allow users to override specific methods at Leaflet level. This allows users to customize the "createTile" method using a JsCode object. * Add documentation
Fix type hints after adding Branca type checking (#2060) * remove render() return types * fix TypeBounds * missing return statement * split TypeBounds in input and return types * deal with bounds from args to return * fix VegaLite typing * geojsondetail assert parent is geojson * bin_edges in choropleth * geojson/topojson in choropleth * colormap type in ColorLine * ruff check * black * fix circular import
PreviousNext