{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "0.3.0.dev\n" ] } ], "source": [ "import os\n", "import folium\n", "\n", "print(folium.__version__)" ] }, { "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": "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": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "Mercator_projection_SW = os.path.join('data', 'Mercator_projection_SW.png')" ] }, { "cell_type": "code", "execution_count": 3, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "