Skip to content

Commit e744de7

Browse files
committed
deploy: 438f590
1 parent c992aa8 commit e744de7

166 files changed

Lines changed: 13616 additions & 13209 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dev/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 8758ea90e42ffcbef849ffd9024c6c8e
3+
config: d3a59cb134f2a37a91bd5ff80b34e321
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
357 Bytes
Loading

dev/_sources/user_guide/ui_elements/icons.md.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,33 @@ folium.Marker(
5454

5555
m
5656
```
57+
58+
## Text labels with DivIcon
59+
60+
`DivIcon` allows you to add text directly on the map using an HTML `div` element.
61+
This is useful when you want a visible label at a specific location, without
62+
relying on tooltips or popups that only appear on interaction.
63+
64+
```{code-cell} ipython3
65+
m = folium.Map(location=[41, -71], zoom_start=6)
66+
67+
folium.Marker(
68+
location=[41, -71],
69+
icon=folium.DivIcon(
70+
html='<div style="font-size: 14px; color: black; font-weight: bold;">New York</div>',
71+
icon_size=(100, 36),
72+
icon_anchor=(50, 18),
73+
),
74+
).add_to(m)
75+
76+
folium.Marker(
77+
location=[42.36, -71.06],
78+
icon=folium.DivIcon(
79+
html='<div style="font-size: 12px; color: navy;">Boston</div>',
80+
icon_size=(80, 30),
81+
icon_anchor=(40, 15),
82+
),
83+
).add_to(m)
84+
85+
m
86+
```

dev/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '0.20.1.dev134+gf0c646451',
2+
VERSION: '0.20.1.dev135+g438f59049',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

dev/advanced_guide.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta charset="utf-8" />
99
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
1010

11-
<title>Advanced guide &#8212; Folium 0.20.1.dev134+gf0c646451 documentation</title>
11+
<title>Advanced guide &#8212; Folium 0.20.1.dev135+g438f59049 documentation</title>
1212

1313

1414

@@ -39,7 +39,7 @@
3939
<link rel="preload" as="script" href="_static/scripts/bootstrap.js?digest=0790524f97105ba85085" />
4040
<link rel="preload" as="script" href="_static/scripts/pydata-sphinx-theme.js?digest=0790524f97105ba85085" />
4141

42-
<script src="_static/documentation_options.js?v=31850e98"></script>
42+
<script src="_static/documentation_options.js?v=546f3470"></script>
4343
<script src="_static/doctools.js?v=fd6eb6e6"></script>
4444
<script src="_static/sphinx_highlight.js?v=6ffebe34"></script>
4545
<script crossorigin="anonymous" integrity="sha256-Ae2Vz/4ePdIu6ZyI/5ZGsYnb+m0JlOmKPjt6XZ9JJkA=" src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"></script>
@@ -58,7 +58,7 @@
5858
<link rel="prev" title="TimestampedWmsTileLayers" href="user_guide/plugins/WmsTimeDimension.html" />
5959
<meta name="viewport" content="width=device-width, initial-scale=1"/>
6060
<meta name="docsearch:language" content="en"/>
61-
<meta name="docsearch:version" content="0.20.1.dev134+gf0c646451" />
61+
<meta name="docsearch:version" content="0.20.1.dev135+g438f59049" />
6262

6363

6464
<script src="_static/searchtools.js"></script>
@@ -547,7 +547,7 @@ <h1>Advanced guide<a class="headerlink" href="#advanced-guide" title="Link to th
547547
<div class="footer-items__start">
548548

549549
<div class="footer-item"><!-- This will display the version of the docs -->
550-
Folium version 0.20.1.dev134+gf0c646451</div>
550+
Folium version 0.20.1.dev135+g438f59049</div>
551551

552552
<div class="footer-item">
553553

dev/advanced_guide/choropleth with Jenks natural breaks optimization.html

Lines changed: 68 additions & 68 deletions
Large diffs are not rendered by default.

dev/advanced_guide/choropleth with Jenks natural breaks optimization.ipynb

Lines changed: 89 additions & 89 deletions
Large diffs are not rendered by default.

dev/advanced_guide/colormaps.html

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

dev/advanced_guide/colormaps.ipynb

Lines changed: 191 additions & 191 deletions
Large diffs are not rendered by default.

dev/advanced_guide/custom_panes.html

Lines changed: 39 additions & 39 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)