{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "0.8.3+52.g2758dc7.dirty\n" ] } ], "source": [ "import os\n", "import folium\n", "\n", "print(folium.__version__)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "**Note** : The examples presented below are the copy of the ones presented on https://github.com/bbecquet/Leaflet.PolylineOffset" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Basic Demo" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "- The dashed line is the \"model\", with no offset applied. \n", "- The Red line is with a -5px offset,\n", "- The Green line is with a 10px offset.\n", "The three are distinct Polyline objects but uses the same coordinate array" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "data": { "text/html": [ "