Skip to content

Commit

Permalink
Upgrade Leaflet 1.6.0 -> 1.9.3, set default font size (#1660)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
Conengmo authored Nov 23, 2022
1 parent 84e4ff1 commit 6006ece
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions folium/folium.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


_default_js = [
("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.js"),
("leaflet", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js"),
("jquery", "https://code.jquery.com/jquery-1.12.4.min.js"),
(
"bootstrap",
Expand All @@ -37,7 +37,7 @@
]

_default_css = [
("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.6.0/dist/leaflet.css"),
("leaflet_css", "https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css"),
(
"bootstrap_css",
"https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css",
Expand Down Expand Up @@ -190,6 +190,7 @@ class Map(JSCSSMixin, MacroElement):
left: {{this.left[0]}}{{this.left[1]}};
top: {{this.top[0]}}{{this.top[1]}};
}
.leaflet-container { font-size: 1rem; }
</style>
{% endmacro %}
Expand Down

0 comments on commit 6006ece

Please sign in to comment.