{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Examples of plugins usage in folium" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "In this notebook we show a few illustrations of folium's plugin extensions.\n", "\n", "This is a development notebook" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [], "source": [ "# This is to import the repository's version of folium ; not the installed one.\n", "import sys, os\n", "sys.path.insert(0,'..')\n", "import folium\n", "from folium import plugins" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [], "source": [ "import numpy as np\n", "import json" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## ScrollZoomToggler" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Adds a button to enable/disable zoom scrolling." ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "