from folium.raster_layers import TileLayer, WmsTileLayer

from folium.folium import Map

from folium.map import (FeatureGroup, FitBounds, Icon, LayerControl, Marker,
                        Popup, Tooltip)

from folium.vector_layers import Circle, CircleMarker, PolyLine, Polygon, Rectangle  # noqa

import branca
if tuple(int(x) for x in branca.__version__.split('.')) < (0, 3, 0):
    raise ImportError(
        'branca version 0.3.0 or higher is required. '
        'Update branca with e.g. `pip install branca --upgrade`.')

__version__ = get_versions()['version']
del get_versions

__all__ = [
    'CssLink',
    'Div',
    'Element',
    'Figure',
    'Html',
    'IFrame',
    'JavascriptLink',
    'Link',
    'MacroElement',
    'ColorMap',
    'ColorLine',
    'LinearColormap',
Exemple #2
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Folium'
copyright = '2013, Rob Story'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.

# The full version, including alpha/beta/rc tags.

from folium._version import get_versions
release = get_versions()['version']
del get_versions

# The short X.Y version.
version = '.'.join(release.split('.')[:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'
Exemple #3
0
from folium.features import (
    ClickForMarker, ColorLine, CustomIcon, DivIcon, GeoJson,
    LatLngPopup, RegularPolygonMarker, TopoJson, Vega, VegaLite,
)

from folium.raster_layers import TileLayer, WmsTileLayer

from folium.folium import Map

from folium.map import (
    FeatureGroup, FitBounds, Icon, LayerControl, Marker, Popup
)

from folium.vector_layers import Circle, CircleMarker, PolyLine, Polygon, Rectangle  # noqa

__version__ = get_versions()['version']
del get_versions

__all__ = [
    'CssLink',
    'Div',
    'Element',
    'Figure',
    'Html',
    'IFrame',
    'JavascriptLink',
    'Link',
    'MacroElement',
    'ColorMap',
    'ColorLine',
    'LinearColormap',
Exemple #4
0
# The master toctree document.
master_doc = 'index'

# General information about the project.
project = 'Folium'
copyright = '2013, Rob Story'

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.

# The full version, including alpha/beta/rc tags.

from folium._version import get_versions
release = get_versions()['version']
del get_versions

# The short X.Y version.
version = '.'.join(release.split('.')[:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#today = ''
# Else, today_fmt is used as the format for a strftime call.
#today_fmt = '%B %d, %Y'