Skip to content

fix docs URLs #733

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2017
Merged
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
9 changes: 3 additions & 6 deletions folium/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,8 @@ class RegularPolygonMarker(Marker):
or a folium.Popup object.
If None, no popup will be displayed.

Returns
-------
Polygon marker names and HTML in obj.template_vars

For more information, see https://humangeo.github.io/leaflet-dvf/
https://humangeo.github.io/leaflet-dvf/

"""
def __init__(self, location, color='black', opacity=1, weight=2,
Expand Down Expand Up @@ -634,8 +631,8 @@ class DivIcon(MacroElement):
html : string
A custom HTML code to put inside the div element.

For more information see:
http://leafletjs.com/reference.html#divicon

http://leafletjs.com/reference-1.2.0.html#divicon

"""
def __init__(self, html=None, icon_size=None, icon_anchor=None,
Expand Down
3 changes: 2 additions & 1 deletion folium/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,9 @@ class Icon(MacroElement):
The prefix states the source of the icon. 'fa' for font-awesome or
'glyphicon' for bootstrap 3.

For more details see:

https://github.com/lvoogdt/Leaflet.awesome-markers

"""
def __init__(self, color='blue', icon_color='white', icon='info-sign',
angle=0, prefix='glyphicon'):
Expand Down
8 changes: 5 additions & 3 deletions folium/raster_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@


class TileLayer(Layer):
"""Create a tile layer to append on a Map.
"""
Create a tile layer to append on a Map.

Parameters
----------
Expand Down Expand Up @@ -59,6 +60,7 @@ class TileLayer(Layer):
Whether the Layer will be included in LayerControls.
subdomains: list of strings, default ['abc']
Subdomains of the tile service.

"""
def __init__(self, tiles='OpenStreetMap', min_zoom=1, max_zoom=18,
attr=None, API_key=None, detect_retina=False,
Expand Down Expand Up @@ -145,8 +147,8 @@ class WmsTileLayer(Layer):
for setting extra tileLayer.wms parameters or as extra parameters in
the WMS request.

For more information see:
http://leafletjs.com/reference.html#tilelayer-wms

http://leafletjs.com/reference-1.2.0.html#tilelayer-wms

"""
def __init__(self, url, name=None, attr='', overlay=True, control=True, **kwargs): # noqa
Expand Down