MCPcopy Create free account

hub / github.com/python-visualization/folium / types & classes

Types & classes95 in github.com/python-visualization/folium

↓ 115 callersClassTemplate
folium/template.py:53
↓ 30 callersClassMap
Create a Map with Folium and Leaflet.js Generate a base map of given width and height with either default tilesets or a custom tileset URL. F
folium/folium.py:82
↓ 14 callersClassJsCode
Wrapper around Javascript code.
folium/utilities.py:443
↓ 14 callersClassPopup
Create a Popup instance that can be linked to a Layer. Parameters ---------- html: string or Element Content of the Popup. pa
folium/map.py:498
↓ 11 callersClassGeoJson
Creates a GeoJson object for plotting into a Map. Parameters ---------- data: file, dict or str. The GeoJSON data you want t
folium/features.py:483
↓ 9 callersClassTileLayer
Create a tile layer to append on a Map. Parameters ---------- tiles: str or :class:`xyzservices.TileProvider`, default 'OpenStreetMa
folium/raster_layers.py:24
↓ 8 callersClassMarker
Create a simple stock Leaflet marker on the map, with optional popup text or Vincent visualization. Parameters ---------- locati
folium/map.py:376
↓ 7 callersClassChoropleth
Apply a GeoJSON overlay to the map. Plot a GeoJSON overlay on the base map. There is no requirement to bind data (passing just a GeoJSON plot
folium/features.py:1411
↓ 5 callersClassHeatMap
Create a Heatmap layer Parameters ---------- data : list of points of the form [lat, lng] or [lat, lng, weight] The points y
folium/plugins/heat_map.py:17
↓ 5 callersClassTooltip
Create a tooltip that shows text when hovering over its parent object. Parameters ---------- text: str String to display as
folium/map.py:594
↓ 4 callersClassLayerControl
Creates a LayerControl object to be added on a folium map. This object should be added to a Map object. Only Layer children of Map are i
folium/map.py:189
↓ 3 callersClassPolyLine
Draw polyline overlays on a map. See :func:`folium.vector_layers.path_options` for the `Path` options. Parameters ---------- locatio
folium/vector_layers.py:155
↓ 3 callersClassVectorGridProtobuf
Add vector tile layers based on https://github.com/Leaflet/Leaflet.VectorGrid. Parameters ---------- url: str url to tile pr
folium/plugins/vectorgrid_protobuf.py:8
↓ 2 callersClassEventHandler
Add javascript event handlers. Examples -------- >>> import folium >>> from folium.utilities import JsCode >>> >>> m = f
folium/elements.py:70
↓ 2 callersClassFastMarkerCluster
Add marker clusters to a map using in-browser rendering. Using FastMarkerCluster it is possible to render 000's of points far quicker tha
folium/plugins/fast_marker_cluster.py:6
↓ 2 callersClassFeatureGroup
Create a FeatureGroup layer ; you can put things in it and handle them as a single layer. For example, you can add a LayerControl to tic
folium/map.py:140
↓ 2 callersClassOverlappingMarkerSpiderfier
A plugin that handles overlapping markers on a map by spreading them out in a spiral or circle pattern when clicked. This plugin is useful w
folium/plugins/overlapping_marker_spiderfier.py:10
↓ 1 callersClassCircle
Class for drawing circle overlays on a map. It's an approximation and starts to diverge from a real circle closer to the poles (due to p
folium/vector_layers.py:297
↓ 1 callersClassCircleMarker
A circle of a fixed size with radius specified in pixels. See :func:`folium.vector_layers.path_options` for the `Path` options. Paramet
folium/vector_layers.py:346
↓ 1 callersClassClickForMarker
When one clicks on a Map that contains a ClickForMarker, a Marker is created at the pointer's position. Parameters ---------- po
folium/features.py:1803
↓ 1 callersClassCustomPane
Creates a custom pane to hold map elements. Behavior is as in https://leafletjs.com/examples/map-panes/ Parameters ---------- n
folium/map.py:752
↓ 1 callersClassDriverFolium
Selenium WebDriver wrapper that adds folium test specific features.
tests/selenium/conftest.py:18
↓ 1 callersClassElementAddToElement
Abstract class to add an element to another element.
folium/elements.py:145
↓ 1 callersClassEnvironment
folium/template.py:47
↓ 1 callersClassFitBounds
Fit the map to contain a bounding box with the maximum zoom level possible. Parameters ---------- bounds: list of (latitude, longitud
folium/map.py:650
↓ 1 callersClassGeoJsonPopup
Create a popup feature to bind to each element of a GeoJson layer based on its attributes. Parameters ---------- fields: list or
folium/features.py:1344
↓ 1 callersClassGeoJsonStyleMapper
Create dicts that map styling to GeoJson features. :meta private:
folium/features.py:877
↓ 1 callersClassGeoMan
An Open Source Leaflet Plugin for editing polygons Examples -------- >>> m = folium.Map() >>> Geoman().add_to(m) For more i
folium/plugins/geoman.py:8
↓ 1 callersClassGlobalSwitches
folium/folium.py:65
↓ 1 callersClassIcon
Creates an Icon object that will be rendered using Leaflet.awesome-markers. Parameters ---------- color : str, default 'blue'
folium/map.py:286
↓ 1 callersClassIframeParser
Extract the iframes from an html page.
tests/selenium/test_selenium.py:67
↓ 1 callersClassIncludeStatement
Generate an include statement on a class.
folium/elements.py:162
↓ 1 callersClassMarkerCluster
Provides Beautiful Animated Marker Clustering functionality for maps. Parameters ---------- locations: list of list or array of shap
folium/plugins/marker_cluster.py:7
↓ 1 callersClassMethodCall
Abstract class to add an element to another element.
folium/elements.py:182
↓ 1 callersClassMousePosition
Add a field that shows the coordinates of the mouse position. Uses the Leaflet plugin by Ardhi Lukianto under MIT license. https://github.com
folium/plugins/mouse_position.py:8
↓ 1 callersClassPolyLineFromEncoded
Create PolyLines directly from the encoded string. Parameters ---------- encoded: str The raw encoded string from the Polyline En
folium/plugins/encoded.py:55
↓ 1 callersClassPolygon
Draw polygon overlays on a map. See :func:`folium.vector_layers.path_options` for the `Path` options. Parameters ---------- location
folium/vector_layers.py:198
↓ 1 callersClassPolygonFromEncoded
Create Polygons directly from the encoded string. Parameters ---------- encoded: str The raw encoded string from the Polyline Enc
folium/plugins/encoded.py:89
↓ 1 callersClassRealtime
Put realtime data on a Leaflet map: live tracking GPS units, sensor data or just about anything. Based on: https://github.com/perliedman/leaf
folium/plugins/realtime.py:10
↓ 1 callersClassRectangle
Draw rectangle overlays on a map. See :func:`folium.vector_layers.path_options` for the `Path` options. Parameters ---------- bounds
folium/vector_layers.py:243
↓ 1 callersClassTimeSliderChoropleth
Create a choropleth with a timeslider for timestamped data. Visualize timestamped data, allowing users to view the choropleth at differe
folium/plugins/time_slider_choropleth.py:7
↓ 1 callersClassTopoJson
Creates a TopoJson object for plotting into a Map. Parameters ---------- data: file, dict or str. The TopoJSON data you want
folium/features.py:942
ClassAntPath
Class for drawing AntPath polyline overlays on a map. See :func:`folium.vector_layers.path_options` for the `Path` options. Parameters
folium/plugins/antpath.py:6
ClassBaseMultiLocation
Base class for vector classes with multiple coordinates. :meta private:
folium/vector_layers.py:128
ClassBeautifyIcon
Create a BeautifyIcon that can be added to a Marker Parameters ---------- icon: string, default None the Font-Awesome icon n
folium/plugins/beautify_icon.py:8
ClassBoatMarker
Add a Marker in the shape of a boat. Parameters ---------- location: tuple of length 2, default None The latitude and longitude o
folium/plugins/boat_marker.py:7
ClassCirclePattern
Fill Pattern for polygon composed of repeating circles. Add these to the 'fillPattern' field in GeoJson style functions. Parameters ----
folium/plugins/pattern.py:79
ClassClass
The root class of the leaflet class hierarchy
folium/map.py:38
ClassClickForLatLng
When one clicks on a Map that contains a ClickForLatLng, the coordinates of the pointer's position are copied to clipboard. Parameters
folium/features.py:1851
ClassColorLine
Draw data on a map with specified colors. Parameters ---------- positions: iterable of (lat, lon) pairs The points on the li
folium/features.py:1955
ClassControl
Add a Leaflet Control object to the map Parameters ---------- control: str The javascript class name of the control to be re
folium/features.py:2026
ClassCustomIcon
Create a custom icon, based on an image. Parameters ---------- icon_image : string or array-like object The data to use as a
folium/features.py:1889
ClassDivIcon
Represents a lightweight icon for markers that uses a simple `div` element instead of an image. Parameters ---------- icon_size
folium/features.py:1720
ClassDraw
Vector drawing and editing plugin for Leaflet. Parameters ---------- export : bool, default False Add a small button that ex
folium/plugins/draw.py:7
ClassDualMap
Create two maps in the same window. Adding children to this objects adds them to both maps. You can access the individual maps with `DualMap.
folium/plugins/dual_map.py:10
ClassEvented
The base class for Layer and Map Adds the `on` and `once` methods for event handling capabilities. See https://leafletjs.com/reference.html#
folium/map.py:76
ClassFeatureGroupSubGroup
Creates a Feature Group that adds its child layers into a parent group when added to a map (e.g. through LayerControl). Useful to create nest
folium/plugins/feature_group_sub_group.py:6
ClassFitOverlays
Fit the bounds of the maps to the enabled overlays. Parameters ---------- padding: int, default 0 Amount of padding in pixels app
folium/map.py:701
ClassFloatImage
Adds a floating image in HTML canvas on top of the map. Parameters ---------- image: str Url to image location. Can also be an in
folium/plugins/float_image.py:6
ClassFullscreen
Adds a fullscreen button to your map. Parameters ---------- position : str change the position of the button can be:
folium/plugins/fullscreen.py:8
ClassGeoJsonDetail
Base class for GeoJsonTooltip and GeoJsonPopup. :meta private:
folium/features.py:1124
ClassGeoJsonTooltip
Create a tooltip that uses data from either geojson or topojson. Parameters ---------- fields: list or tuple. Labels of GeoJ
folium/features.py:1265
ClassGeocoder
A simple geocoder for Leaflet that by default uses OSM/Nominatim. Please respect the Nominatim usage policy: https://operations.osmfoundation
folium/plugins/geocoder.py:10
ClassGroupedLayerControl
Create a Layer Control with groups of overlays. Parameters ---------- groups : dict A dictionary where the keys are group
folium/plugins/groupedlayercontrol.py:8
ClassHeatMapWithTime
Create a HeatMapWithTime layer Parameters ---------- data: list of list of points of the form [lat, lng] or [lat, lng, weight]
folium/plugins/heat_map_withtime.py:7
ClassImageOverlay
Used to load and display a single image over specific bounds of the map, implements ILayer interface. Parameters ---------- imag
folium/raster_layers.py:238
ClassJSCSSMixin
Render links to external Javascript and CSS resources.
folium/elements.py:24
ClassLatLngPopup
When one clicks on a Map that contains a LatLngPopup, a popup is shown that displays the latitude and longitude of the pointer.
folium/features.py:1775
ClassLayer
An abstract class for everything that is a Layer on the map. It will be used to define whether an object will be included in LayerControls.
folium/map.py:98
ClassLocateControl
Control plugin to geolocate the user. This plugins adds a button to the map, and when it's clicked shows the current user device location.
folium/plugins/locate_control.py:13
ClassMeasureControl
Add a measurement widget on the map. Parameters ---------- position: str, default 'topright' Location of the widget. primary_
folium/plugins/measure_control.py:8
ClassMiniMap
Add a minimap (locator) to an existing map. Uses the Leaflet plugin by Norkart under BSD 2-Clause "Simplified" License. https://github.com/No
folium/plugins/minimap.py:9
ClassPolyLineOffset
Add offset capabilities to the PolyLine class. This plugin adds to folium Polylines the ability to be drawn with a relative pixel offset
folium/plugins/polyline_offset.py:5
ClassPolyLineTextPath
Shows a text along a PolyLine. Parameters ---------- polyline: folium.features.PolyLine object The folium.features.PolyLine
folium/plugins/polyline_text_path.py:7
ClassRegularPolygonMarker
Custom markers using the Leaflet Data Vis Framework. Parameters ---------- location: tuple or list Latitude and Longitude of
folium/features.py:63
ClassScrollZoomToggler
Creates a button for enabling/disabling scroll on the Map.
folium/plugins/scroll_zoom_toggler.py:6
ClassSearch
Adds a search tool to your map. Parameters ---------- layer: GeoJson, TopoJson, FeatureGroup, MarkerCluster class object. Th
folium/plugins/search.py:14
ClassSemiCircle
Add a marker in the shape of a semicircle, similar to the Circle class. Use (direction and arc) or (start_angle and stop_angle), not both. P
folium/plugins/semicircle.py:8
ClassSetIcon
Set the icon of a marker after both are created.
folium/map.py:421
ClassSideBySideLayers
Creates a SideBySideLayers that takes two Layers and adds a sliding control with the leaflet-side-by-side plugin. Uses the Leaflet leafl
folium/plugins/side_by_side.py:7
ClassStripePattern
Fill Pattern for polygon composed of alternating lines. Add these to the 'fillPattern' field in GeoJson style functions. Parameters ----
folium/plugins/pattern.py:9
ClassTagFilterButton
Creates a Tag Filter Button to filter elements based on criteria (https://github.com/maydemirx/leaflet-tag-filter-button) This plugin wo
folium/plugins/tag_filter_button.py:8
ClassTerminator
Leaflet.Terminator is a simple plug-in to the Leaflet library to overlay day and night regions on maps.
folium/plugins/terminator.py:7
ClassTestFolium
Test class for the Folium library.
tests/test_folium.py:56
ClassTimeline
Create a layer from GeoJSON with time data to add to a map. To add time data, you need to do one of the following: * Add a 'start' and
folium/plugins/timeline.py:12
ClassTimelineSlider
Creates a timeline slider for timeline layers. Parameters ---------- auto_play: bool, default True Whether the animation sha
folium/plugins/timeline.py:131
ClassTimestampedGeoJson
Creates a TimestampedGeoJson plugin from timestamped GeoJSONs to append into a map with Map.add_child. A geo-json is timestamped if:
folium/plugins/timestamped_geo_json.py:11
ClassTimestampedWmsTileLayers
Creates a TimestampedWmsTileLayer that takes a WmsTileLayer and adds time control with the Leaflet.TimeDimension plugin. Parameters
folium/plugins/timestamped_wmstilelayer.py:9
ClassTreeLayerControl
Create a Layer Control allowing a tree structure for the layers. See https://github.com/jjimenezshaw/Leaflet.Control.Layers.Tree for more
folium/plugins/treelayercontrol.py:10
ClassVega
Creates a Vega chart element. Parameters ---------- data: JSON-like str or object The Vega description of the chart.
folium/features.py:127
ClassVegaLite
Creates a Vega-Lite chart element. Parameters ---------- data: JSON-like str or object The Vega-Lite description of the char
folium/features.py:250
ClassVideoOverlay
Used to load and display a video over the map. Parameters ---------- video_url: str URL of the video bounds: list/tuple
folium/raster_layers.py:351
ClassWmsTileLayer
Creates a Web Map Service (WMS) layer. Parameters ---------- url : str The url of the WMS server. layers : str C
folium/raster_layers.py:158
Class_BaseFromEncoded
Base Interface to create folium objects from encoded strings. Derived classes must define `_encoding_type` property which returns the string
folium/plugins/encoded.py:9
Classclassproperty
folium/map.py:26