{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
Make this Notebook Trusted to load map: File -> Trust Notebook
" ], "text/plain": [ "" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "import folium\n", "from folium.plugins import FloatImage\n", "\n", "\n", "url = (\n", " \"https://raw.githubusercontent.com/ocefpaf/secoora_assets_map/\"\n", " \"a250729bbcf2ddd12f46912d36c33f7539131bec/secoora_icons/rose.png\"\n", ")\n", "\n", "m = folium.Map([-13, -38.15], zoom_start=10)\n", "\n", "FloatImage(url, bottom=40, left=65).add_to(m)\n", "\n", "m" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.10.1" } }, "nbformat": 4, "nbformat_minor": 1 }