Skip to content

Commit d501139

Browse files
authored
Merge pull request #733 from ocefpaf/fix_docs
fix docs URLs
2 parents 3f9e612 + 5a492e2 commit d501139

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

folium/features.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,8 @@ class RegularPolygonMarker(Marker):
5353
or a folium.Popup object.
5454
If None, no popup will be displayed.
5555
56-
Returns
57-
-------
58-
Polygon marker names and HTML in obj.template_vars
5956
60-
For more information, see https://humangeo.github.io/leaflet-dvf/
57+
https://humangeo.github.io/leaflet-dvf/
6158
6259
"""
6360
def __init__(self, location, color='black', opacity=1, weight=2,
@@ -634,8 +631,8 @@ class DivIcon(MacroElement):
634631
html : string
635632
A custom HTML code to put inside the div element.
636633
637-
For more information see:
638-
http://leafletjs.com/reference.html#divicon
634+
635+
http://leafletjs.com/reference-1.2.0.html#divicon
639636
640637
"""
641638
def __init__(self, html=None, icon_size=None, icon_anchor=None,

folium/map.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,9 @@ class Icon(MacroElement):
161161
The prefix states the source of the icon. 'fa' for font-awesome or
162162
'glyphicon' for bootstrap 3.
163163
164-
For more details see:
164+
165165
https://github.com/lvoogdt/Leaflet.awesome-markers
166+
166167
"""
167168
def __init__(self, color='blue', icon_color='white', icon='info-sign',
168169
angle=0, prefix='glyphicon'):

folium/raster_layers.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323

2424

2525
class TileLayer(Layer):
26-
"""Create a tile layer to append on a Map.
26+
"""
27+
Create a tile layer to append on a Map.
2728
2829
Parameters
2930
----------
@@ -59,6 +60,7 @@ class TileLayer(Layer):
5960
Whether the Layer will be included in LayerControls.
6061
subdomains: list of strings, default ['abc']
6162
Subdomains of the tile service.
63+
6264
"""
6365
def __init__(self, tiles='OpenStreetMap', min_zoom=1, max_zoom=18,
6466
attr=None, API_key=None, detect_retina=False,
@@ -145,8 +147,8 @@ class WmsTileLayer(Layer):
145147
for setting extra tileLayer.wms parameters or as extra parameters in
146148
the WMS request.
147149
148-
For more information see:
149-
http://leafletjs.com/reference.html#tilelayer-wms
150+
151+
http://leafletjs.com/reference-1.2.0.html#tilelayer-wms
150152
151153
"""
152154
def __init__(self, url, name=None, attr='', overlay=True, control=True, **kwargs): # noqa

0 commit comments

Comments
 (0)