Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/advanced_guide/custom_panes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import folium
Panes are used to control the ordering of layers on the map. You can customise
them using the `CustomPane` class.

For more info on the panes Leaflet has, see https://leafletjs.com/reference.html#map-pane.
For more info on the panes Leaflet has, see https://leafletjs.com/reference-1.9.4.html#map-pane.

First we'll load geojson data to use in the examples:

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced_guide/override_leaflet_class_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import folium
## Customizing Leaflet behavior
Sometimes you want to override Leaflet's javascript behavior. This can be done using the `Class.include` statement. This mimics Leaflet's
`L.Class.include` method. See
[here](https://leafletjs.com/examples/extending/extending-1-classes.html)
[here](https://leafletjs.com/examples/extending-1-classes/)
for more details.

### Example: adding an authentication header to a TileLayer
Expand Down
4 changes: 2 additions & 2 deletions docs/user_guide/geojson/geojson.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ You can provide a function of the form `lambda feature: {}` that sets the style

For possible options, see:

* For `Point` and `MultiPoint`, see https://leafletjs.com/reference.html#marker
* For other features, see https://leafletjs.com/reference.html#path and https://leafletjs.com/reference.html#polyline
* For `Point` and `MultiPoint`, see https://leafletjs.com/reference-1.9.4.html#marker
* For other features, see https://leafletjs.com/reference-1.9.4.html#path and https://leafletjs.com/reference-1.9.4.html#polyline

```{code-cell} ipython3
m = folium.Map([43, -100], zoom_start=4)
Expand Down
2 changes: 1 addition & 1 deletion docs/user_guide/raster_layers/tiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ folium.Map(location=[lat, lon], tiles="Cartodb dark_matter", zoom_start=zoom_sta
You can also provide a url template to load tiles from, for example if you use a paid API.
You also have to provide an attribution in that case. For information how that
url template should look like see the Leaflet documentation:
https://leafletjs.com/reference.html#tilelayer.
https://leafletjs.com/reference-1.9.4.html#tilelayer.

Below is an example, note the literal `{z}`, `{x}` and `{y}` in the url template.

Expand Down
4 changes: 2 additions & 2 deletions folium/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ class GeoJsonTooltip(GeoJsonDetail):
Whether the tooltip should follow the mouse.
**kwargs: Assorted.
These values will map directly to the Leaflet Options. More info
available here: https://leafletjs.com/reference.html#tooltip
available here: https://leafletjs.com/reference-1.9.4.html#tooltip

Examples
--------
Expand Down Expand Up @@ -1736,7 +1736,7 @@ class DivIcon(MacroElement):
html : string
A custom HTML code to put inside the div element.

See https://leafletjs.com/reference.html#divicon
See https://leafletjs.com/reference-1.9.4.html#divicon

"""

Expand Down
2 changes: 1 addition & 1 deletion folium/folium.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ class Map(JSCSSMixin, Evented):
string ending in 'rem', 'em', or 'px'.
**kwargs
Additional keyword arguments are passed to Leaflets Map class:
https://leafletjs.com/reference.html#map
https://leafletjs.com/reference-1.9.4.html#map

Returns
-------
Expand Down
12 changes: 6 additions & 6 deletions folium/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class Evented(Class):

Adds the `on` and `once` methods for event handling capabilities.

See https://leafletjs.com/reference.html#evented for
See https://leafletjs.com/reference-1.9.4.html#evented for
more in depth documentation. Please note that we have
only added the `on(<Object> eventMap)` variant of this
method using python keyword arguments.
Expand Down Expand Up @@ -160,7 +160,7 @@ class FeatureGroup(Layer):
Whether the layer will be shown on opening.
**kwargs
Additional (possibly inherited) options. See
https://leafletjs.com/reference.html#featuregroup
https://leafletjs.com/reference-1.9.4.html#featuregroup

"""

Expand Down Expand Up @@ -211,7 +211,7 @@ class LayerGroup(Layer):
Whether the layer will be shown on opening.
**kwargs
Additional (possibly inherited) options. See
https://leafletjs.com/reference.html#layergroup
https://leafletjs.com/reference-1.9.4.html#layergroup

"""

Expand Down Expand Up @@ -266,7 +266,7 @@ class LayerControl(MacroElement):
to True to allow dragging the control around.
**kwargs
Additional (possibly inherited) options. See
https://leafletjs.com/reference.html#control-layers
https://leafletjs.com/reference-1.9.4.html#control-layers

"""

Expand Down Expand Up @@ -703,7 +703,7 @@ class Tooltip(MacroElement):
Whether the tooltip should follow the mouse.
**kwargs
These values will map directly to the Leaflet Options. More info
available here: https://leafletjs.com/reference.html#tooltip
available here: https://leafletjs.com/reference-1.9.4.html#tooltip

"""

Expand Down Expand Up @@ -856,7 +856,7 @@ class CustomPane(MacroElement):
determine which map elements lie over/under it. The default
(625) corresponds to between markers and tooltips. Default
panes and z-indexes can be found at
https://leafletjs.com/reference.html#map-pane
https://leafletjs.com/reference-1.9.4.html#map-pane
pointer_events: bool, default False
Whether or not layers in the pane should interact with the
cursor. Setting to False will prevent interfering with
Expand Down
2 changes: 1 addition & 1 deletion folium/plugins/draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Draw(JSCSSMixin, MacroElement):
Name of geojson file
position : {'topleft', 'toprigth', 'bottomleft', 'bottomright'}
Position of control.
See https://leafletjs.com/reference.html#control
See https://leafletjs.com/reference-1.9.4.html#control
export_position : {'topright', 'topleft', 'bottomright', 'bottomleft'}
Corner of the map to place the export button in, when ``export``
is True. Defaults to 'topright'. Use this to keep the button clear
Expand Down
4 changes: 2 additions & 2 deletions folium/plugins/encoded.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class PolyLineFromEncoded(_BaseFromEncoded):
https://developers.google.com/maps/documentation/utilities/polylinealgorithm
**kwargs:
Polyline options as accepted by leaflet. See:
https://leafletjs.com/reference.html#polyline
https://leafletjs.com/reference-1.9.4.html#polyline

Adapted from https://github.com/jieter/Leaflet.encoded

Expand Down Expand Up @@ -94,7 +94,7 @@ class PolygonFromEncoded(_BaseFromEncoded):
https://developers.google.com/maps/documentation/utilities/polylinealgorithm
**kwargs:
Polygon options as accepted by leaflet. See:
https://leafletjs.com/reference.html#polygon
https://leafletjs.com/reference-1.9.4.html#polygon

Adapted from https://github.com/jieter/Leaflet.encoded

Expand Down
2 changes: 1 addition & 1 deletion folium/plugins/groupedlayercontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class GroupedLayerControl(JSCSSMixin, MacroElement):
If you want to use both, use two separate instances of this class.
**kwargs
Additional (possibly inherited) options. See
https://leafletjs.com/reference.html#control-layers
https://leafletjs.com/reference-1.9.4.html#control-layers
"""

default_js = [
Expand Down
2 changes: 1 addition & 1 deletion folium/plugins/treelayercontrol.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class TreeLayerControl(JSCSSMixin, MacroElement):
on to toggle the layer.
**kwargs
Additional (possibly inherited) options. See
https://leafletjs.com/reference.html#control-layers
https://leafletjs.com/reference-1.9.4.html#control-layers

Examples
--------
Expand Down
6 changes: 3 additions & 3 deletions folium/raster_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ class WmsTileLayer(Layer):
for setting extra tileLayer.wms parameters or as extra parameters in
the WMS request.

See https://leafletjs.com/reference.html#tilelayer-wms
See https://leafletjs.com/reference-1.9.4.html#tilelayer-wms
"""

_template = Template("""
Expand Down Expand Up @@ -276,7 +276,7 @@ class ImageOverlay(Layer):
show: bool, default True
Whether the layer will be shown on opening.

See https://leafletjs.com/reference.html#imageoverlay for more
See https://leafletjs.com/reference-1.9.4.html#imageoverlay for more
options.

"""
Expand Down Expand Up @@ -365,7 +365,7 @@ class VideoOverlay(Layer):
Whether the layer will be shown on opening.
**kwargs:
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#videooverlay
https://leafletjs.com/reference-1.9.4.html#videooverlay

"""

Expand Down
12 changes: 6 additions & 6 deletions folium/vector_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def path_options(

This function accepts both snake_case and lowerCamelCase equivalents.

See https://leafletjs.com/reference.html#path
See https://leafletjs.com/reference-1.9.4.html#path

"""

Expand Down Expand Up @@ -180,7 +180,7 @@ class PolyLine(BaseMultiLocation):
Disable polyline clipping.
**kwargs
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#polyline
https://leafletjs.com/reference-1.9.4.html#polyline

"""

Expand Down Expand Up @@ -217,7 +217,7 @@ class Polygon(BaseMultiLocation):
Display a text when hovering over the object.
**kwargs
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#polygon
https://leafletjs.com/reference-1.9.4.html#polygon

"""

Expand Down Expand Up @@ -257,7 +257,7 @@ class Rectangle(MacroElement):
Display a text when hovering over the object.
**kwargs
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#rectangle
https://leafletjs.com/reference-1.9.4.html#rectangle

"""

Expand Down Expand Up @@ -315,7 +315,7 @@ class Circle(Marker):
Radius of the circle, in meters.
**kwargs
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#circle
https://leafletjs.com/reference-1.9.4.html#circle

"""

Expand Down Expand Up @@ -359,7 +359,7 @@ class CircleMarker(Marker):
Radius of the circle marker, in pixels.
**kwargs
Other valid (possibly inherited) options. See:
https://leafletjs.com/reference.html#circlemarker
https://leafletjs.com/reference-1.9.4.html#circlemarker

"""

Expand Down
Loading