{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# How to create Popups" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "../folium/__init__.py\n", "0.2.0.dev\n" ] } ], "source": [ "import sys\n", "sys.path.insert(0,'..')\n", "import folium\n", "print (folium.__file__)\n", "print (folium.__version__)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Simple popups" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "You can define your popup at the feature creation, but you can also overwrite them afterwards:" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "\n", "
\n",
" \n",
" from numpy import *
\n",
"
\n",
" exp(-2*pi)\n",
"