Skip to content

Commit 6006ece

Browse files
authored
Upgrade Leaflet 1.6.0 -> 1.9.3, set default font size (#1660)
* upgrade folium 1.6.0 -> 1.9.3 * don't spell check notebooks (for now) * Execute all notebooks * Set reasonable font size * Revert "Execute all notebooks" This reverts commit 819c6e7. * Revert "don't spell check notebooks (for now)" This reverts commit d86adbe.
1 parent 84e4ff1 commit 6006ece

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

folium/folium.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

2626
_default_js = [
27-
("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.js"),
27+
("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"),
2828
("jquery", "https://code.jquery.com/jquery-1.12.4.min.js"),
2929
(
3030
"bootstrap",
@@ -37,7 +37,7 @@
3737
]
3838

3939
_default_css = [
40-
("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.css"),
40+
("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"),
4141
(
4242
"bootstrap_css",
4343
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css",
@@ -190,6 +190,7 @@ class Map(JSCSSMixin, MacroElement):
190190
left: {{this.left[0]}}{{this.left[1]}};
191191
top: {{this.top[0]}}{{this.top[1]}};
192192
}
193+
.leaflet-container { font-size: 1rem; }
193194
</style>
194195
{% endmacro %}
195196

0 commit comments

Comments
 (0)