{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "stylish-awareness",
"metadata": {},
"outputs": [],
"source": [
"import folium"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "abstract-collector",
"metadata": {},
"outputs": [],
"source": [
"m = folium.Map(location=[45.5236, -122.6750])\n",
"m"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "unexpected-queens",
"metadata": {},
"outputs": [],
"source": [
"m = folium.Map(location=[45.372, -121.6972], zoom_start=12, tiles=\"Stamen Terrain\")\n",
"\n",
"tooltip = \"Click me!\"\n",
"\n",
"folium.Marker(\n",
" [45.3288, -121.6625], popup=\"Mt. Hood Meadows\", tooltip=tooltip\n",
").add_to(m)\n",
"folium.Marker(\n",
" [45.3311, -121.7113], popup=\"Timberline Lodge\", tooltip=tooltip\n",
").add_to(m)\n",
"\n",
"m"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"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.9.1"
}
},
"nbformat": 4,
"nbformat_minor": 5
}