{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# How to use ImageOverlay" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "It may happen that you want to draw an image on you map. Here are example on how to do that." ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": false }, "outputs": [], "source": [ "import sys\n", "sys.path.insert(0,'..')\n", "\n", "from branca.six import PY3\n", "\n", "import folium\n", "from folium import plugins" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## In importing a PNG\n", "\n", "If you have a static image file on your disk, you can simply draw it on the map in doing:" ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "