programmieren_wise_24_25/Material/wise_24_25/lernmaterial/8.Folium.ipynb

6266 lines
330 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "markdown",
"id": "11ce8688-2dd2-4a18-aa6c-bce96a801782",
"metadata": {
"editable": true,
"nbgrader": {
"grade": false,
"grade_id": "cell-1720c646ec279d2e",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"slideshow": {
"slide_type": ""
},
"tags": []
},
"source": [
"# 8. Programmierübung: Folium\n",
"\n",
"<div style=\"display:flex;\">\n",
" <div style=\"text-align: left\">\n",
" Willkommen zur achten Programmierübung Einführung in Python 3.\n",
" </div>\n",
" <img style=\"float: right; margin: 0px 15px 15px 0px\" src=\"https://www.python.org/static/img/python-logo-large.c36dccadd999.png?1576869008\" width=\"100\" />\n",
"</div>\n",
"\n",
"Wenn Sie Fragen oder Verbesserungsvorschläge zum Inhalt oder Struktur der Notebooks haben, dann können sie eine E-Mail an Phil Keier ([p.keier@hbk-bs.de](mailto:p.keier@hbk-bs.de?subject=[SigSys]%20Feedback%20Programmierübung&amp)) oder Martin Le ([martin.le@tu-bs.de](mailto:martin.le@tu-bs.de?subject=[SigSys]%20Feedback%20Programmierübung&amp)) schreiben.\n",
"\n",
"Link zu einem Python Spickzettel: [hier](https://s3.amazonaws.com/assets.datacamp.com/blog_assets/PythonForDataScience.pdf)\n",
"\n",
"Der Großteil des Python-Tutorials stammt aus der Veranstaltung _Deep Learning Lab_ und von [www.python-kurs.eu](https://www.python-kurs.eu/python3_kurs.php) und wurde für _Signale und Systeme_, sowie _Einführung in die Programmierung für Nicht Informatiker_ angepasst.\n",
"\n",
"---"
]
},
{
"cell_type": "markdown",
"id": "ebd295cc-8e6d-435e-a91a-881bf3798b5b",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-275178a1d9bade57",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"# Geospatial Data\n",
"\n",
"In the following we will look at how maps can be displayed using Python & the Folium API.\n",
"\n",
"[Folium](https://python-visualization.github.io/folium/) is a Python wrapper that binds the open source library [Leaflet.js](https://leafletjs.com/).\n",
"\n",
"In this way, the developers aim to combine the advantages of data processing with Python, as well as the visualization advantages of the Web.\n",
"\n",
"Objectives of this exercise:\n",
"1. create simple maps with different terrain options\n",
"2. set and adjust markers\n",
" 1. creating a marker\n",
" 2. popup & tooltip\n",
" 3. icons & colors\n",
" 4. circle marker\n",
" 5. setting own markers\n",
"3. layer groups\n",
"4. plugins\n",
"5. handling GeoJSON data\n",
"\n",
"\n",
"__For the entire exercise, all parameters are basically given for illustrative purposes. Unless explicitly requested, you do not have to do this.__"
]
},
{
"cell_type": "markdown",
"id": "22adfbb3-e71d-4228-ac02-b8c7135a8943",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d928ae513b1e6ce0",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"# Import Folium\n",
"\n",
"First we need to Import Folium as follows:"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "2725fd60-dbe5-4739-8cbf-3ef9a585032f",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-a22fce114edbd7bf",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"# Execute this cell everytime you restart the notebook!!!\n",
"import folium"
]
},
{
"cell_type": "markdown",
"id": "4a676854-ebc9-439f-8414-5fe39e65dc13",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d18e7620cb44ddf4",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"## Creating maps\n",
"\n",
"The default object of every Folium App is the [Map](https://python-visualization.github.io/folium/modules.html#module-folium.map).\n",
"\n",
"### Location\n",
"To create it, you only need the _location_ parameter which takes a tuple (or list) of two floats.\n",
"The first value is the latitude (lat) and the second the longitude (lon). (For Braunschweig this would be lat: 52.264150 & lon: 10.526420)\n",
"\n",
"### Tiles\n",
"Folium supports the display of different types of maps. These are specified as a string for the tiles parameter when creating the map.\n",
"\n",
"Possible maps are:\n",
"\n",
"1. _OpenStreetMap_ (default)\n",
"2. _Stamen Terrain_\n",
"3. _Stamen Toner_\n",
"\n",
"### Zoom\n",
"The default _zoom_ setting of the map can be adjusted by the following 3 parameters:\n",
"\n",
"- _zoom_start_ (default: 10) creates the map with a zoom setting between _min_zoom_ & _max_zoom_.\n",
"- _min_zoom_ (default: 0) & _max_zoom_ (default: 18) limits the possible zoom radius. Generally not necessary.\n",
"\n",
"### Optimization\n",
"If one of the following cells has excessive computation times, the parameter _prefer_canvas=True_ should be specified for the map object. This will force the web browser to use the web graphics library ([WebGL](https://github.com/KhronosGroup/WebGL)) and will result in a speed bonus, e.g. thousands of markers. By default _prefer_canvas_ is set to _False_ and should only be used if you really want to display lots of data!\n",
"\n",
"The following example illustrates the creation of the map object:"
]
},
{
"cell_type": "code",
"execution_count": 2,
"id": "ecd035c9-c1bc-4393-8681-2c058caca527",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-1a3da7284c8a4450",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_0e7d12beb9bdde4f70bb1ea98fce3bb1 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_0e7d12beb9bdde4f70bb1ea98fce3bb1&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_0e7d12beb9bdde4f70bb1ea98fce3bb1 = L.map(\n",
" &quot;map_0e7d12beb9bdde4f70bb1ea98fce3bb1&quot;,\n",
" {\n",
" center: [52.26415, 10.52642],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 13,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_c559c198936602fe03bbc6cc6c808d39 = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_c559c198936602fe03bbc6cc6c808d39.addTo(map_0e7d12beb9bdde4f70bb1ea98fce3bb1);\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa6781d6c60>"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"m = folium.Map(\n",
" location=(52.264150, 10.526420),\n",
" tiles='OpenStreetMap',\n",
" #iles='Stamen Toner',\n",
" zoom_start=13,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "94976e7f-1354-428e-ba9d-32ad696e27f4",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-bbb8367d84f43da2",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"## Exercise 1: Create a map\n",
"\n",
"Create a map with the coordinates of your hometown, or your favorite city (Braunschweig does not count as a solution). Save your Solution in the variable `my_map`.\n",
"\n",
"Adjust the _zoom_start_ parameter so that your place is visible in the center. To find out which coordinates your place has you can use the online tool [latlong.net](https://www.latlong.net/).\n",
"\n",
"Use _CartoDB Positron_ as tileset.\n",
"\n",
"Set the _prefer_canvas_ parameter to _True_.\n",
"\n",
"Also please add your city as a comment.\n",
"\n",
"In case of problems, please check the Folium API [Map](https://python-visualization.github.io/folium/modules.html#module-folium.map) object.\n"
]
},
{
"cell_type": "code",
"execution_count": 3,
"id": "a05ad147-1990-4d96-983d-c128b60125b5",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-6099ccde55688a94",
"locked": false,
"points": 4,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_10bc3004995fbe50b4fbff106d55abb5 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_10bc3004995fbe50b4fbff106d55abb5&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_10bc3004995fbe50b4fbff106d55abb5 = L.map(\n",
" &quot;map_10bc3004995fbe50b4fbff106d55abb5&quot;,\n",
" {\n",
" center: [52.26415, 10.52642],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 13,\n",
" zoomControl: true,\n",
" preferCanvas: true,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_4c5448b2dea9ada847f3ddf80cdad00f = L.tileLayer(\n",
" &quot;https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors \\u0026copy; \\u003ca href=\\&quot;https://carto.com/attributions\\&quot;\\u003eCARTO\\u003c/a\\u003e&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 20, &quot;maxZoom&quot;: 20, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abcd&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_4c5448b2dea9ada847f3ddf80cdad00f.addTo(map_10bc3004995fbe50b4fbff106d55abb5);\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa685ba8080>"
]
},
"execution_count": 3,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Your City: \n",
"### BEGIN SOLUTION\n",
"# Your City: Braunschweig\n",
"my_map = folium.Map(\n",
" location=(52.264150, 10.526420),\n",
" tiles='cartodb positron',\n",
" zoom_start=13,\n",
" prefer_canvas=True\n",
" )\n",
"my_map\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 4,
"id": "b554a2ec-d32e-4ea6-a91f-a1fe554804cd",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-1b94f6587760b8e8",
"locked": true,
"points": 3,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"# Your Solutions are tested here...\n",
"assert isinstance(my_map, folium.Map)\n",
"assert isinstance(my_map.location, list)\n",
"assert len(my_map.location) == 2"
]
},
{
"cell_type": "markdown",
"id": "d057d2a5-9699-4a88-bea7-46adaa096f54",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-ad368f2ba205c714",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"## Marker \n",
"\n",
"The quintessence of any GeoSpatial Data project is the visualization of data.\n",
"\n",
"The [Marker](https://python-visualization.github.io/folium/modules.html#folium.map.Marker) object expects the following parameters:\n",
"- _location_ (Mandatory) Tuple of Floats (Like Map Object) to set a marker.\n",
"- _popup_ (String or folium.Popup object) small info box that can be customized using HTML\n",
"- _tooltip_ (String) hover text with instruction\n",
"- _icon_ (folium.Icon) to customize the marker\n",
"- _dragable_ (bool, default False) allows the user to move the marker\n",
"\n",
"To set a simple marker it is first created with a location.\n",
"Then the marker has to be added to the map with the function _add_to(<folium.Map>)_. \n",
"\n",
"In the following the HBK BS should be marked on the map."
]
},
{
"cell_type": "code",
"execution_count": 29,
"id": "59a91300-1dc7-4d27-826c-14a94fa13a45",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-3b289b02455e2512",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_e82b5e4283b1234d222a152e364394ba {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_e82b5e4283b1234d222a152e364394ba&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_e82b5e4283b1234d222a152e364394ba = L.map(\n",
" &quot;map_e82b5e4283b1234d222a152e364394ba&quot;,\n",
" {\n",
" center: [52.26415, 10.52642],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 14,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_052bda46a6c636fa0fbea4eff3ae51db = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_052bda46a6c636fa0fbea4eff3ae51db.addTo(map_e82b5e4283b1234d222a152e364394ba);\n",
" \n",
" \n",
" var marker_563bc0941ec06e66946b211fc9d6a4ef = L.marker(\n",
" [52.25802230834961, 10.503097534179688],\n",
" {}\n",
" ).addTo(map_e82b5e4283b1234d222a152e364394ba);\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660e13080>"
]
},
"execution_count": 29,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"m = folium.Map(\n",
" location=(52.264150, 10.526420),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=14,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"my_marker = folium.Marker(\n",
" location=(52.25802230834961, 10.503097534179688)\n",
" )\n",
"\n",
"my_marker.add_to(m)\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "179b1901-ac37-4724-aa59-c76345c61805",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d9ba7c4b83368403",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"After executing the code you should see a marker at the address Johannes-Selenka-Platz 1, 38118 Braunschweig.\n",
"\n",
"Since this is relatively boring we will now try to adapt the marker to our needs."
]
},
{
"cell_type": "markdown",
"id": "071b4725-8f13-4d38-9ea6-8f62826baf17",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-0fd8e8915f7f9613",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### Popup & Tooltip\n",
"\n",
"The marker accepts strings as _tooltip_ & _popup_ parameters, as the following example demonstrates.\n",
"This is the most primitive form of how a simple marker can be created with information.\n",
"\n",
"To understand what the _tooltip_ parameter does, run the next example and hover over the marker. Clicking on the marker will display the contents of the _popup_ parameter."
]
},
{
"cell_type": "code",
"execution_count": 30,
"id": "33a5ffa1-7f39-46d4-9a17-35b3c8eb26ef",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-8b6f8ca79a9a05c3",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_7243007d0c831ed211a6610ffee91305 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_7243007d0c831ed211a6610ffee91305&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_7243007d0c831ed211a6610ffee91305 = L.map(\n",
" &quot;map_7243007d0c831ed211a6610ffee91305&quot;,\n",
" {\n",
" center: [52.26415, 10.52642],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 16,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_7abe9253f561fc74a744d43cad031d72 = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_7abe9253f561fc74a744d43cad031d72.addTo(map_7243007d0c831ed211a6610ffee91305);\n",
" \n",
" \n",
" var marker_ccb64f958a71f223e75ef7efbe0ce342 = L.marker(\n",
" [52.2643, 10.529],\n",
" {}\n",
" ).addTo(map_7243007d0c831ed211a6610ffee91305);\n",
" \n",
" \n",
" var popup_9112c21cbb3afcdef908aec70b5dda5d = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_7a61993d3610f32a971e36b553284569 = $(`&lt;div id=&quot;html_7a61993d3610f32a971e36b553284569&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt;Ritterbrunnen 1, 38100 Braunschweig&lt;/div&gt;`)[0];\n",
" popup_9112c21cbb3afcdef908aec70b5dda5d.setContent(html_7a61993d3610f32a971e36b553284569);\n",
" \n",
" \n",
"\n",
" marker_ccb64f958a71f223e75ef7efbe0ce342.bindPopup(popup_9112c21cbb3afcdef908aec70b5dda5d)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_ccb64f958a71f223e75ef7efbe0ce342.bindTooltip(\n",
" `&lt;div&gt;\n",
" More about the castle\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c90aa0>"
]
},
"execution_count": 30,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"m = folium.Map(\n",
" location=(52.264150, 10.526420),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=16,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"# Schloss Braunschweig\n",
"castle_popup = \"Ritterbrunnen 1, 38100 Braunschweig\"\n",
"castle_tooltip = \"More about the castle\"\n",
"\n",
"\n",
"castle_marker = folium.Marker(\n",
" location=(52.2643, 10.529),\n",
" popup=castle_popup,\n",
" tooltip=castle_tooltip\n",
" )\n",
"castle_marker.add_to(m)\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "cadd0223-d6d5-445a-ac7b-ead3b010260f",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-cfc72d893f2572ff",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### HTML Popups\n",
"\n",
"To do justice to the inner artist as well, markers can also be designed in Folium using the tools of the modern internet.\n",
"\n",
"The Folium object [Popup](https://python-visualization.github.io/folium/modules.html#folium.map.Popup) can be used to display simple HTML strings. \n",
"\n",
"Before we get to the main features of HTML for Folium, we will first take a look at the other optional parameters of the Popup object.\n",
"\n",
"These include:\n",
"\n",
"- _parse_html_ (bool, default False) not normally needed, forces Folium to interpret the HTML string first. Useful for any customization via JavaScript.\n",
"- _max_width_ (int or str, default '100%') sets the maximum width of the popup. For the str parameter it is important to include the '%' character.\n",
"- _show_ (bool, default False) if this parameter is set to _True_, the popup will load when the map is opened.\n",
"- _sticky_ (bool, default False) if this parameter is set to _True_, the popup will not be closed.\n",
"\n",
"\n",
"Mandatory for creating a popup is the _html_ parameter. This parameter requires a (multi-)string containing HTML code.\n",
"\n",
"As an example we will create a HBK BS popup which renders the following HTML:\n",
"\n",
"---\n",
"<p>\n",
"<img \n",
" src=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\"\n",
" alt=\"HBK BS Logo\">\n",
"</p>\n",
"<p><strong>Johannes-Selenka-Platz 1</strong></p>\n",
"<p><em>38118 Braunschweig</em></p>\n",
"<p><small>Germany, DE</small></p>\n",
"<p>Visit: <a href=\"https://www.hbk-bs.de/\">hbk-bs.de</a> </p>\n",
"\n",
"---\n",
"\n",
"\n",
"and the associated HTML:\n",
"\n",
"\n",
"```html\n",
"<p>\n",
"<img \n",
" src=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\"\n",
" alt=\"HBK BS Logo\">\n",
"</p>\n",
"<p><strong>Johannes-Selenka-Platz 1</strong></p>\n",
"<p><em>38118 Braunschweig</em></p>\n",
"<p><small>Germany, DE</small></p>\n",
"<p>Visit: <a href=\"https://www.hbk-bs.de/\">hbk-bs.de</a></p>\n",
"```\n",
"\n",
"\n",
"Do not let this confuse you. The statements in between `<> & </>` are HTML tags, for example `<p>` represents a 'Paragraph' & `<a>` represents a hyperlink. \n",
"For the text semantic elements I recommend the following [reference](https://www.w3.org/html/wiki/Elements).\n",
"\n",
"In Python, no HTML can be displayed directly. For this, the entire HTML must be within a string. To simplify the readability Python offers the multiline string notated with 3 `'''`:\n",
"\n",
"\n",
"\n",
"'''\n",
"hi I am\n",
"\n",
"\n",
"a\n",
"\n",
"multiline string\n",
"'''\n",
"\n",
"\n",
"And as with the already known string, this one supports all string format options. But more about that later in the Factory Patterns part.\n"
]
},
{
"cell_type": "code",
"execution_count": 7,
"id": "db9725a6-c438-4a23-9e5b-5b401d412832",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-b683105305025808",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"# HBK Braunschweig\n",
"hbk_popup_html = folium.Popup(\n",
" '''\n",
" <p>\n",
" <img \n",
" src=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\"\n",
" alt=\"HBK BS Logo\">\n",
" </p>\n",
" <p><strong>Johannes-Selenka-Platz 1</strong></p>\n",
" <p><em>38118 Braunschweig</em></p>\n",
" <p><small>Germany, DE</small></p>\n",
" <p>Visit: <a href=\"https://www.hbk-bs.de/\">hbk-bs.de</a> </p>\n",
" ''',\n",
" show=True\n",
" )\n",
"\n",
"hbk_tooltip = \"More about the university\""
]
},
{
"cell_type": "markdown",
"id": "2773d557-e6ca-406c-9de1-b9c0675e0604",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-cf6a889f7ebf8a54",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### Icon\n",
"\n",
"The last step to complete the marker is the [Icon](https://python-visualization.github.io/folium/modules.html#folium.map.Icon) object.\n",
"\n",
"Unlike the other objects discussed, this one has no mandatory parameters.\n",
"\n",
"As usual, here is an explanation of the parameters:\n",
"- _color_ (str, default 'blue') sets the color of the marker.\n",
"\n",
" Possible colors are: \n",
" - red, blue, green,\n",
" - purple, orange, darkred,\n",
" - lightred, beige, darkblue,\n",
" - darkgreen, cadetblue, darkpurple,-\n",
" - white, pink, lightblue,\n",
" - lightgreen, gray, black,\n",
" - lightgray\n",
" \n",
" \n",
" or any hexadecimal value noted with '#XXXXXX'.\n",
"\n",
"- _icon_color_ (str, default 'white') sets the color of the glyphicon. The possible color values are the same as for _color_.\n",
"- _angle_ (int, default 0) sets the rotation of the glyphicon. The possible values are limited to the range 0-359 integer.\n",
"- _prefix_ (str, default 'glyphicon) can take two values 'fa' for the icons of the website [Font Awesome](https://fontawesome.com/icons) (Attention not all icons are free) and 'glyphicon' for the icons of the website [Bootstrap](https://getbootstrap.com/docs/3.3/components/) (All icons behind this link are free). The value in _prefix_ specifies which website is queried. \n",
"- _icon_ (str, default 'info-sign') specifies the name of the icon to be displayed and is therefore dependent on the _prefix_ parameter. The default icon is 'glyphicon glyphicon-info-sign'.\n",
"\n",
"To design a reasonable icon for the HBK marker the following example should be understood:"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "8f79bd13-82f0-478c-8409-1e97d79d4b26",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-5e1cf782bc0512c1",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"hbk_icon = folium.Icon(\n",
" color='black',\n",
" icon_color='#deddda',\n",
" prefix='glyphicon',\n",
" icon='glyphicon-home',\n",
" angle=0\n",
" )"
]
},
{
"cell_type": "markdown",
"id": "4a2ffb76-8045-4cba-a416-5555f521889b",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-8d4b5a5cb9cc90cc",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"After successfully creating the three variables _hbk_tooltip_, _hbk_html_popup_ & _hbk_icon_, we now display the customized marker:"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "852785cc-0dff-4c2c-b6bb-20d08e26349f",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-62068ff221befbb2",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_a374998b4d16a00012185bfb286bfa3a {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_a374998b4d16a00012185bfb286bfa3a&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_a374998b4d16a00012185bfb286bfa3a = L.map(\n",
" &quot;map_a374998b4d16a00012185bfb286bfa3a&quot;,\n",
" {\n",
" center: [52.258, 10.5],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 16,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_b2c776bc2053e858a2efe626c97ac4fd = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_b2c776bc2053e858a2efe626c97ac4fd.addTo(map_a374998b4d16a00012185bfb286bfa3a);\n",
" \n",
" \n",
" var marker_758542c09ffb50676d5cf0b565eba5ca = L.marker(\n",
" [52.25777, 10.50249],\n",
" {}\n",
" ).addTo(map_a374998b4d16a00012185bfb286bfa3a);\n",
" \n",
" \n",
" var icon_7eab8393408874f391b31dfc0c28434b = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;#deddda&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_758542c09ffb50676d5cf0b565eba5ca.setIcon(icon_7eab8393408874f391b31dfc0c28434b);\n",
" \n",
" \n",
" var popup_38f2463b57886e62a2e8b7c5e41eb350 = L.popup({&quot;autoClose&quot;: false, &quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_bd0ef6b6433966a7ef634d7ce9aaf484 = $(`&lt;div id=&quot;html_bd0ef6b6433966a7ef634d7ce9aaf484&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt; &lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; alt=&quot;HBK BS Logo&quot;&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;p&gt;Visit: &lt;a href=&quot;https://www.hbk-bs.de/&quot;&gt;hbk-bs.de&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_38f2463b57886e62a2e8b7c5e41eb350.setContent(html_bd0ef6b6433966a7ef634d7ce9aaf484);\n",
" \n",
" \n",
"\n",
" marker_758542c09ffb50676d5cf0b565eba5ca.bindPopup(popup_38f2463b57886e62a2e8b7c5e41eb350)\n",
" .openPopup();\n",
"\n",
" \n",
" \n",
" \n",
" marker_758542c09ffb50676d5cf0b565eba5ca.bindTooltip(\n",
" `&lt;div&gt;\n",
" More about the university\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa685b91e50>"
]
},
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"m = folium.Map(\n",
" location=(52.258, 10.5),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=16,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"hbk_marker = folium.Marker(\n",
" location=(52.257770, 10.502490),\n",
" popup=hbk_popup_html,\n",
" tooltip=hbk_tooltip,\n",
" icon=hbk_icon\n",
" )\n",
"\n",
"hbk_marker.add_to(m)\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "6a7a1f4d-720b-4152-a90b-c9a194494cbe",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-a6152b205ccf50ed",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"## Exercise 2: Design your own Marker\n",
"\n",
"In the following exercise you will design your own marker.\n",
"\n",
"In case of problems, please check the Folium API:\n",
"- [Marker](https://python-visualization.github.io/folium/modules.html#folium.map.Marker)\n",
"- [Popup](https://python-visualization.github.io/folium/modules.html#folium.map.Popup)\n",
"- [Icon](https://python-visualization.github.io/folium/modules.html#folium.map.Icon)\n",
"- [Tooltip](https://python-visualization.github.io/folium/modules.html#folium.map.Tooltip)"
]
},
{
"cell_type": "markdown",
"id": "093f0526-114f-45da-947a-550f2163030a",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d5aa18ce07303756",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### 2.1: Defining a Tooltip\n",
"\n",
"Define a tooltip variable named `tooltip` with the text `More about TU Braunschweig`."
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "725abb1e-f8c4-4cca-be6f-326f23126062",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-04f53b3f7eb6c201",
"locked": false,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"### BEGIN SOLUTION\n",
"tooltip = \"More about TU Braunschweig\"\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "d0c93b34-79de-4a90-b595-dec419b3a930",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-bfcb53d3e2aba304",
"locked": true,
"points": 1,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"# Your Solutions are tested here...\n",
"assert tooltip == \"More about TU Braunschweig\""
]
},
{
"cell_type": "markdown",
"id": "97aa8013-defd-408d-8b80-2389ff92904c",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-e943331e564dd5c6",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### 2.2: Defining a Popup\n",
"\n",
"Define a popup object with HTML text named `tu_popup_html` and the [TU BS Logo](https://www.google.com/url?sa=i&url=https%3A%2F%2Fde.m.wikipedia.org%2Fwiki%2FDatei%3ASiegel_TU_Braunschweig_transparent.svg&psig=AOvVaw3PFFLWsIPyXrT81Jo4F6ot&ust=1669222516763000&source=images&cd=vfe&ved=0CA8QjRxqFwoTCIjR-MqgwvsCFQAAAAAdAAAAABAE).\n",
"\n",
"Address: _Universitätspl. 2, 38106 Braunschweig_\n",
"\n",
"Logo URL: https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Siegel_TU_Braunschweig_transparent.svg/1200px-Siegel_TU_Braunschweig_transparent.svg.png\n",
"\n",
"You can also use the Template from the Explanation.\n",
"\n",
"You can find a HTML reference [here](https://www.w3.org/html/wiki/Elements). If you write better in Markdown I recommend the following [converter](https://markdowntohtml.com/) and this [Markdown reference](https://www.markdownguide.org/cheat-sheet/)."
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "599b4313-9d53-46d8-be0e-dbf0ab707105",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-1f5f10be1f0c3e95",
"locked": false,
"points": 1,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"### BEGIN SOLUTION\n",
"tu_popup_html = folium.Popup(\n",
" '''\n",
" <p>\n",
" <img \n",
" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Siegel_TU_Braunschweig_transparent.svg/1200px-Siegel_TU_Braunschweig_transparent.svg.png\"\n",
" alt=\"TU BS Logo\"\n",
" height=\"100\"\n",
" >\n",
" </p>\n",
" <p><strong>Universitätspl. 2</strong></p>\n",
" <p><em>38106 Braunschweigg</em></p>\n",
" <p><small>Germany, DE</small></p>\n",
" <p>Visit: <a href=\"https://www.tu-bs.de/\">tu-bs.de</a> </p>\n",
" ''',\n",
" show=False\n",
" )\n",
"### END SOLUTION"
]
},
{
"cell_type": "markdown",
"id": "541653fa-f882-4f15-90bb-2ad7665d380f",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d0ad985cc098c85f",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"### 2.3 Defining an Icon\n",
"\n",
"Next, a _red_ icon named `tu_icon` should be defined.\n",
"\n",
"The color for the glyphicon should be a gray hexcode that you can choose freely. To make the color selection easier you can use the [Color Picker](https://htmlcolorcodes.com/color-picker/).\n",
"\n",
"As glyph, _glyphicon-education_, should be used."
]
},
{
"cell_type": "code",
"execution_count": 13,
"id": "7adb36ce-9012-4a9a-b025-2b7a91b4d2ac",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-3ec775c00a9d80a2",
"locked": false,
"points": 4,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"tu_icon = None\n",
"### BEGIN SOLUTION\n",
"tu_icon = folium.Icon(\n",
" color='red',\n",
" icon_color='#eeeeee',\n",
" prefix='glyphicon',\n",
" icon='glyphicon-education',\n",
" angle=0\n",
" )\n",
"### END SOLUTION"
]
},
{
"cell_type": "markdown",
"id": "287924de-5810-4f3c-8b36-e3308798b3ea",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-b16e407b56f6a000",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### 2.4 Defining a Marker\n",
"\n",
"All previously created objects should now be combined into one marker named `tu_bs_marker`.\n",
"\n",
"As the location data use `(52.273460, 10.529231)`."
]
},
{
"cell_type": "code",
"execution_count": 14,
"id": "c7dd4f94-e7d2-4c11-9426-f911462e122c",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-43ce13ffa68645bc",
"locked": false,
"points": 4,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [],
"source": [
"tu_bs_marker = None\n",
"### BEGIN SOLUTION\n",
"tu_bs_marker = folium.Marker(\n",
" location=(52.273460, 10.529231),\n",
" popup=tu_popup_html,\n",
" tooltip=tooltip,\n",
" icon=tu_icon\n",
" )\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 15,
"id": "13fa1a0f-f06e-4042-bae6-254fc99640e7",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-365a8eef0b32decd",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_5d0c6e99e7a45fb6a9d8b8e470796d53 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_5d0c6e99e7a45fb6a9d8b8e470796d53&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_5d0c6e99e7a45fb6a9d8b8e470796d53 = L.map(\n",
" &quot;map_5d0c6e99e7a45fb6a9d8b8e470796d53&quot;,\n",
" {\n",
" center: [52.274, 10.53],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 17,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_623440f5999ef87f6e965c40d0d11279 = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_623440f5999ef87f6e965c40d0d11279.addTo(map_5d0c6e99e7a45fb6a9d8b8e470796d53);\n",
" \n",
" \n",
" var marker_749115bdbaabf4b0a2a7d0c8e7d9b9b7 = L.marker(\n",
" [52.27346, 10.529231],\n",
" {}\n",
" ).addTo(map_5d0c6e99e7a45fb6a9d8b8e470796d53);\n",
" \n",
" \n",
" var icon_275db2a11b27f7143c2c09ddc9186f17 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-education&quot;, &quot;iconColor&quot;: &quot;#eeeeee&quot;, &quot;markerColor&quot;: &quot;red&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_749115bdbaabf4b0a2a7d0c8e7d9b9b7.setIcon(icon_275db2a11b27f7143c2c09ddc9186f17);\n",
" \n",
" \n",
" var popup_37645388acbd249ed3de81b191062c5c = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b615231c516fdba59fd1fff0fba607f9 = $(`&lt;div id=&quot;html_b615231c516fdba59fd1fff0fba607f9&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt; &lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Siegel_TU_Braunschweig_transparent.svg/1200px-Siegel_TU_Braunschweig_transparent.svg.png&quot; alt=&quot;TU BS Logo&quot; height=&quot;100&quot; &gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätspl. 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38106 Braunschweigg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;p&gt;Visit: &lt;a href=&quot;https://www.tu-bs.de/&quot;&gt;tu-bs.de&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_37645388acbd249ed3de81b191062c5c.setContent(html_b615231c516fdba59fd1fff0fba607f9);\n",
" \n",
" \n",
"\n",
" marker_749115bdbaabf4b0a2a7d0c8e7d9b9b7.bindPopup(popup_37645388acbd249ed3de81b191062c5c)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_749115bdbaabf4b0a2a7d0c8e7d9b9b7.bindTooltip(\n",
" `&lt;div&gt;\n",
" More about TU Braunschweig\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c913d0>"
]
},
"execution_count": 15,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Your Solutions are tested and displayed here...\n",
"m = folium.Map(\n",
" location=(52.274, 10.53),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=17,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"tu_bs_marker.add_to(m)\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "6639280d-2c23-421b-9170-418895482fb3",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-8cf61a16719f867b",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"source": [
"### Circle & Circle Marker\n",
"\n",
"Another possibility to mark places on maps is the [Circle](https://python-visualization.github.io/folium/modules.html#folium.vector_layers.Circle) and the [CircleMarker](https://python-visualization.github.io/folium/modules.html#folium.vector_layers.CircleMarker). The only difference between the two is the parameter _radius_ which is not fixed for the circle and has a default value of 10 for the circle marker which is specified in pixels, the circle marker scales with the map when zooming. Otherwise the objects _popup_ & _tooltip_ can be set with the marker. For the coloring the parameters _color_ & _fill_color_ are to be assigned. _color_ describes the color of the outer ring of the circle, while _fill_color_ specifies the fill color of the circle, whose default value is copied from the parameter_color_. to use _fill_color_ the parameter _fill_ must also be set to _True_.\n",
"\n",
"Here is an example.\n",
"\n",
"The HBK is marked with a red filled circle marker, which has the radius 100 pixel. To highlight the area inside the HBK, black is used as fill color.\n",
"Also here a tooltip, as well as the usual HBK popup is specified."
]
},
{
"cell_type": "code",
"execution_count": 16,
"id": "511b9c23-f335-4639-8120-289ee9d4fee2",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-06a4d0cb95f20d93",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_851aecce917b913f62cd6941b8cc0a66 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_851aecce917b913f62cd6941b8cc0a66&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_851aecce917b913f62cd6941b8cc0a66 = L.map(\n",
" &quot;map_851aecce917b913f62cd6941b8cc0a66&quot;,\n",
" {\n",
" center: [52.258, 10.5],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 16,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_2c9c1e288abd7b6d6368a5d96a6cdd9f = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_2c9c1e288abd7b6d6368a5d96a6cdd9f.addTo(map_851aecce917b913f62cd6941b8cc0a66);\n",
" \n",
" \n",
" var circle_c1314cf3bcef9bac52c2a265d8d0829d = L.circle(\n",
" [52.2572, 10.501],\n",
" {&quot;bubblingMouseEvents&quot;: true, &quot;color&quot;: &quot;red&quot;, &quot;dashArray&quot;: null, &quot;dashOffset&quot;: null, &quot;fill&quot;: true, &quot;fillColor&quot;: &quot;black&quot;, &quot;fillOpacity&quot;: 0.2, &quot;fillRule&quot;: &quot;evenodd&quot;, &quot;lineCap&quot;: &quot;round&quot;, &quot;lineJoin&quot;: &quot;round&quot;, &quot;opacity&quot;: 1.0, &quot;radius&quot;: 100, &quot;stroke&quot;: true, &quot;weight&quot;: 3}\n",
" ).addTo(map_851aecce917b913f62cd6941b8cc0a66);\n",
" \n",
" \n",
" var popup_100863d2aa513c34c4e84a7269a52c85 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_bfa18d4552eb6a6253088c9147f58416 = $(`&lt;div id=&quot;html_bfa18d4552eb6a6253088c9147f58416&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt; &lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; alt=&quot;HBK BS Logo&quot;&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;p&gt;Visit: &lt;a href=&quot;https://www.hbk-bs.de/&quot;&gt;hbk-bs.de&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_100863d2aa513c34c4e84a7269a52c85.setContent(html_bfa18d4552eb6a6253088c9147f58416);\n",
" \n",
" \n",
"\n",
" circle_c1314cf3bcef9bac52c2a265d8d0829d.bindPopup(popup_100863d2aa513c34c4e84a7269a52c85)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" circle_c1314cf3bcef9bac52c2a265d8d0829d.bindTooltip(\n",
" `&lt;div&gt;\n",
" More about the university\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c9cec0>"
]
},
"execution_count": 16,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Map Setup\n",
"m = folium.Map(\n",
" location=(52.258, 10.5),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=16,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"# HBK Braunschweig\n",
"hbk_popup_html = folium.Popup(\n",
" '''\n",
" <p>\n",
" <img \n",
" src=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\"\n",
" alt=\"HBK BS Logo\">\n",
" </p>\n",
" <p><strong>Johannes-Selenka-Platz 1</strong></p>\n",
" <p><em>38118 Braunschweig</em></p>\n",
" <p><small>Germany, DE</small></p>\n",
" <p>Visit: <a href=\"https://www.hbk-bs.de/\">hbk-bs.de</a> </p>\n",
" ''',\n",
" show=False\n",
" )\n",
"\n",
"# Defining tooltip\n",
"hbk_tooltip = \"More about the university\"\n",
"\n",
"# Create Circle Marker\n",
"hbk_circle_marker = folium.Circle(\n",
" location=(52.2572, 10.501),\n",
" popup=hbk_popup_html,\n",
" tooltip=hbk_tooltip,\n",
" radius=100,\n",
" fill=True,\n",
" fill_color='black',\n",
" color='red'\n",
" )\n",
"\n",
"# Attach Circle Marker to map\n",
"hbk_circle_marker.add_to(m)\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "c8bcbdc6-3b3a-4421-b78f-8c62f7f03d34",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-90296cc00bae2968",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"### Rectangle \n",
"\n",
"Rectangles can also be defined in the same way. Instead of a location with a radius, the two corner points must be specified. The data structure used for this is a list of tuples (_[tuple, tuple]_).\n",
"\n",
"Consider the following example:"
]
},
{
"cell_type": "code",
"execution_count": 17,
"id": "eee0d9ff-1ada-4f62-9675-39064b68fa32",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-641478b6b1df4ae5",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_2e6df44e0f1cce54b4ecb492635ad194 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_2e6df44e0f1cce54b4ecb492635ad194&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_2e6df44e0f1cce54b4ecb492635ad194 = L.map(\n",
" &quot;map_2e6df44e0f1cce54b4ecb492635ad194&quot;,\n",
" {\n",
" center: [52.258, 10.5],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 16,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_8d094ac6d3fba08b91341a7ab362f7fa = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_8d094ac6d3fba08b91341a7ab362f7fa.addTo(map_2e6df44e0f1cce54b4ecb492635ad194);\n",
" \n",
" \n",
" var rectangle_abf86d34b684902ee86cf1c4bce7cc94 = L.rectangle(\n",
" [[52.258077, 10.498424], [52.255896, 10.504092]],\n",
" {&quot;bubblingMouseEvents&quot;: true, &quot;color&quot;: &quot;red&quot;, &quot;dashArray&quot;: null, &quot;dashOffset&quot;: null, &quot;fill&quot;: true, &quot;fillColor&quot;: &quot;black&quot;, &quot;fillOpacity&quot;: 0.2, &quot;fillRule&quot;: &quot;evenodd&quot;, &quot;lineCap&quot;: &quot;round&quot;, &quot;lineJoin&quot;: &quot;round&quot;, &quot;noClip&quot;: false, &quot;opacity&quot;: 1.0, &quot;smoothFactor&quot;: 1.0, &quot;stroke&quot;: true, &quot;weight&quot;: 3}\n",
" ).addTo(map_2e6df44e0f1cce54b4ecb492635ad194);\n",
" \n",
" \n",
" var popup_9409a5749c2716ab9b5d015a3f3b3914 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b1ce7670ff8b20426684df7b16a6f236 = $(`&lt;div id=&quot;html_b1ce7670ff8b20426684df7b16a6f236&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt; &lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; alt=&quot;HBK BS Logo&quot;&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;p&gt;Visit: &lt;a href=&quot;https://www.hbk-bs.de/&quot;&gt;hbk-bs.de&lt;/a&gt; &lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_9409a5749c2716ab9b5d015a3f3b3914.setContent(html_b1ce7670ff8b20426684df7b16a6f236);\n",
" \n",
" \n",
"\n",
" rectangle_abf86d34b684902ee86cf1c4bce7cc94.bindPopup(popup_9409a5749c2716ab9b5d015a3f3b3914)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" rectangle_abf86d34b684902ee86cf1c4bce7cc94.bindTooltip(\n",
" `&lt;div&gt;\n",
" More about the university\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c9e660>"
]
},
"execution_count": 17,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Map Setup\n",
"m = folium.Map(\n",
" location=(52.258, 10.5),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=16,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"# HBK Braunschweig\n",
"hbk_popup_html = folium.Popup(\n",
" '''\n",
" <p>\n",
" <img \n",
" src=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\"\n",
" alt=\"HBK BS Logo\">\n",
" </p>\n",
" <p><strong>Johannes-Selenka-Platz 1</strong></p>\n",
" <p><em>38118 Braunschweig</em></p>\n",
" <p><small>Germany, DE</small></p>\n",
" <p>Visit: <a href=\"https://www.hbk-bs.de/\">hbk-bs.de</a> </p>\n",
" ''',\n",
" show=False\n",
" )\n",
"\n",
"# Defining tooltip\n",
"hbk_tooltip = \"More about the university\"\n",
"\n",
"# Create Rectangle Marker\n",
"hbk_rectangle_marker = folium.Rectangle(\n",
" bounds=[(52.258077, 10.498424), (52.255896, 10.504092)], # List of tuples defining the Corner Points\n",
" popup=hbk_popup_html,\n",
" tooltip=hbk_tooltip,\n",
" fill=True,\n",
" fill_color='black',\n",
" color='red'\n",
" )\n",
"\n",
"# Attach Rectangle Marker to map\n",
"hbk_rectangle_marker.add_to(m)\n",
"\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "09574eea-8007-4740-b3f5-e81a40c28cbd",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-5d436ff9290eb683",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"## Builder Pattern\n",
"\n",
"To simplify working with Folium, certain techniques can be used to simplify the creation of objects. \n",
"\n",
"Design patterns are known from the technical literature that lead to a simpler, error-free and clearer way of developing software. \n",
"One of these design patterns, the creation pattern, will be presented below and used for future tasks.\n",
"\n",
"The technical literature states freely quoted:\n",
"\"The creation pattern serves to decouple the construction of objects from their representation!\" - [_Design Patterns: Elements of Reusable Object-Oriented Software\n",
"by Erich Gamma, Ralph Johnson, Richard Helm, Ralph E. Johnson, John Vlissides_](https://books.google.de/books?hl=de&lr=&id=tmNNfSkfTlcC&oi=fnd&pg=PR11&dq=software+design+patterns&ots=e_iImZT2d3&sig=DtkhOov5t0Ot6lf7QubDGNhWzz0#v=onepage&q=software%20design%20patterns&f=false)\n",
"\n",
"A builder is a function (function of an object) that is used to create new objects. In our case, these will be markers and popups."
]
},
{
"cell_type": "markdown",
"id": "5f27eaae-3e5b-4f6c-854a-2c37c9fbffac",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-6473594d5d9882b0",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"### A simple Popup Factory\n",
"\n",
"Anyone who remembers the HTML popups in the previous chapter will quickly realise that with a larger data set, setting individual HTML tags for images, addresses or other information soon becomes a tedious task.\n",
"\n",
"Assuming we want to plot all the universities in Lower Saxony on a map, a separate popup would have to be created for each marker. To change this, the following function will be introduced:"
]
},
{
"cell_type": "code",
"execution_count": 18,
"id": "ec9a37e4-1dd3-4673-b36f-122adafadeb2",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-069cd8284c5bc36c",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"def popup_factory(adr: str, zipc: str, country: str, pic: str):\n",
" html = '''\n",
" <p><img src=\"{}\" width=\"300px\" height=\"auto\"></p>\n",
" <p><strong>{}</strong></p>\n",
" <p><em>{}</em></p>\n",
" <p><small>{}</small></p>\n",
" '''.format(pic, adr, zipc, country)\n",
" return folium.Popup(html)"
]
},
{
"cell_type": "markdown",
"id": "1740ce5e-f7a8-47f9-8211-7a62b19cf08b",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-de4c7e1824c4e5a6",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"The _popup_factory_ function just defined takes the four string parameters _adr_ (address), _zipc_ (postcode), _country_ & _pic_ (picture URL) and generates an HTML-compliant string with the given information from the string specified in the _html_ variable. The return value of the function is a Folium popup object.\n",
"\n",
"To get closer to the goal of plotting all universities in Lower Saxony, a few objects are still missing.\n",
"\n",
"The _hbk_icon_ I created above is to be used as the standard icon. It is defined as follows:"
]
},
{
"cell_type": "code",
"execution_count": 19,
"id": "9dddf885-ffa7-4e3b-b948-43ded7f3bd7b",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-a700169d2ec58d8c",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"def icon_factory(is_public=True):\n",
" icon = folium.Icon(\n",
" color='black' if is_public else 'white',\n",
" icon_color = 'white' if is_public else 'black',\n",
" icon='glyphicon-home'\n",
" )\n",
" return icon"
]
},
{
"cell_type": "markdown",
"id": "d4f4be32-8d71-41b0-9d8e-5ec2e32416a8",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-3fd735bc0f0cba70",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"The only thing missing in the next step is the factory for creating markers.\n",
"\n",
"This is defined as follows:"
]
},
{
"cell_type": "code",
"execution_count": 20,
"id": "07a0df3e-92f9-4e25-89f3-3e27048d2c6b",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-393cf1e2b37be7a6",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"def marker_factory(loc, popup, is_public=True):\n",
" std_tooltip = 'Click for more information'\n",
" std_icon = icon_factory(is_public)\n",
" return folium.Marker(loc, popup=popup, icon=std_icon, tooltip=std_tooltip)"
]
},
{
"cell_type": "markdown",
"id": "1e7f7f3a-d234-427d-ad06-3026c00312a4",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-2b6d551c3e806181",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"With these two functions it is now easy to replicate the map created in the previous chapter:"
]
},
{
"cell_type": "code",
"execution_count": 21,
"id": "6a60ccee-4728-4bf1-93db-1158deae037f",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-7166c54f214ed13e",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_d04ca7afe09755d7daadcd7c720e7d92 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_d04ca7afe09755d7daadcd7c720e7d92&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_d04ca7afe09755d7daadcd7c720e7d92 = L.map(\n",
" &quot;map_d04ca7afe09755d7daadcd7c720e7d92&quot;,\n",
" {\n",
" center: [52.258, 10.5],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 16,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_781c28a2bd659fd16ebb51904ddb2297 = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_781c28a2bd659fd16ebb51904ddb2297.addTo(map_d04ca7afe09755d7daadcd7c720e7d92);\n",
" \n",
" \n",
" var marker_9576c74205030cac52848932109390cf = L.marker(\n",
" [52.25777, 10.50249],\n",
" {}\n",
" ).addTo(map_d04ca7afe09755d7daadcd7c720e7d92);\n",
" \n",
" \n",
" var icon_a3e257c1e48d4d87f61a1b5fa1c41268 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_9576c74205030cac52848932109390cf.setIcon(icon_a3e257c1e48d4d87f61a1b5fa1c41268);\n",
" \n",
" \n",
" var popup_1111755536c10726951434024892af98 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_c141970e13f5594cb5352c5694b2ecf0 = $(`&lt;div id=&quot;html_c141970e13f5594cb5352c5694b2ecf0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_1111755536c10726951434024892af98.setContent(html_c141970e13f5594cb5352c5694b2ecf0);\n",
" \n",
" \n",
"\n",
" marker_9576c74205030cac52848932109390cf.bindPopup(popup_1111755536c10726951434024892af98)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_9576c74205030cac52848932109390cf.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660b780b0>"
]
},
"execution_count": 21,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Create Map\n",
"m = folium.Map(\n",
" location=(52.258, 10.5),\n",
" tiles='OpenStreetMap',\n",
" zoom_start=16,\n",
" prefer_canvas=False\n",
" )\n",
"\n",
"# Define popup\n",
"pp = popup_factory(\n",
" adr='Johannes-Selenka-Platz 1',\n",
" zipc='38118 Braunschweig',\n",
" country='Germany, DE',\n",
" pic=\"https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png\",\n",
" )\n",
"\n",
"# Define Marker\n",
"marker = marker_factory(\n",
" loc=(52.257770, 10.502490),\n",
" popup=pp\n",
" )\n",
"\n",
"# Attach Marker to Map\n",
"marker.add_to(m)\n",
"\n",
"# Display Map\n",
"m"
]
},
{
"cell_type": "markdown",
"id": "1110a947-36cb-43c8-9348-fe3bafabe185",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-a1045f8d87d79df5",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"# Exercise 3: Mapping the Universties in Lower Saxony\n",
"\n",
"## 3.1: Reading the Dataset\n",
"The data set for this notebook is *unis_nd.csv*.\n",
"\n",
"Read this into the variable `df` using the _pandas_ `read_csv` function.\n",
"\n",
"(I recommend that you take a look at the data set)"
]
},
{
"cell_type": "code",
"execution_count": 22,
"id": "b50d076d-4b5f-4137-93df-846144b119b7",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-c55c41f6b9c03dd6",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"import pandas as pd"
]
},
{
"cell_type": "code",
"execution_count": 23,
"id": "16c81c07-5893-42a7-9b1d-a081deea998c",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d58de9c13e900a3b",
"locked": false,
"schema_version": 3,
"solution": true,
"task": false
},
"tags": []
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>University name</th>\n",
" <th>Type of university</th>\n",
" <th>Sponsorship</th>\n",
" <th>Right of promotion</th>\n",
" <th>Founding year</th>\n",
" <th>Number of students</th>\n",
" <th>Address</th>\n",
" <th>lat</th>\n",
" <th>lon</th>\n",
" <th>plz</th>\n",
" <th>pic</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Hochschule für Bildende Künste Braunschweig</td>\n",
" <td>Artistic university</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1963</td>\n",
" <td>976.000</td>\n",
" <td>Johannes-Selenka-Platz 1</td>\n",
" <td>52.257738</td>\n",
" <td>10.502315</td>\n",
" <td>38118 Braunschweig</td>\n",
" <td>https://www.hbk-bs.de/fileadmin/_processed_/5/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>Technische Universität Carolo-Wilhelmina zu Br...</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1745</td>\n",
" <td>17709.000</td>\n",
" <td>Universitätspl. 2</td>\n",
" <td>52.273550</td>\n",
" <td>10.530097</td>\n",
" <td>38106 Braunschweig</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>Hochschule 21</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>2005</td>\n",
" <td>1084.000</td>\n",
" <td>Harburger Str. 6</td>\n",
" <td>53.477650</td>\n",
" <td>9.704650</td>\n",
" <td>21614 Buxtehude</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>Technische Universität Clausthal</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1775</td>\n",
" <td>3446.000</td>\n",
" <td>Adolph-Roemer-Straße 2A</td>\n",
" <td>51.804840</td>\n",
" <td>10.334110</td>\n",
" <td>38678 Clausthal-Zellerfeld</td>\n",
" <td>https://www.presse.tu-clausthal.de/fileadmin/T...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>Hochschule Emden/Leer</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2009</td>\n",
" <td>4481.000</td>\n",
" <td>Constantiapl. 4</td>\n",
" <td>53.368160</td>\n",
" <td>7.181410</td>\n",
" <td>26723 Emden</td>\n",
" <td>https://sta-hisweb.hs-emden-leer.de/QIS/images...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>PFH Private Hochschule Göttingen</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1995</td>\n",
" <td>4226.000</td>\n",
" <td>Weender Landstraße 3-7</td>\n",
" <td>51.538910</td>\n",
" <td>9.933220</td>\n",
" <td>37073 Göttingen</td>\n",
" <td>https://goettingen-campus.de/fileadmin/_proces...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6</th>\n",
" <td>Georg-August-Universität Göttingen</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1737</td>\n",
" <td>28614.000</td>\n",
" <td>Wilhelmsplatz 1</td>\n",
" <td>51.534070</td>\n",
" <td>9.937850</td>\n",
" <td>37073 Göttingen</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7</th>\n",
" <td>Fachhochschule für die Wirtschaft Hannover</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1996</td>\n",
" <td>641.000</td>\n",
" <td>Freundallee 15</td>\n",
" <td>52.366200</td>\n",
" <td>9.772470</td>\n",
" <td>30173 Hannover</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8</th>\n",
" <td>Hochschule Hannover</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>9209.000</td>\n",
" <td>Ricklinger Stadtweg 120</td>\n",
" <td>52.354190</td>\n",
" <td>9.722380</td>\n",
" <td>30459 Hannover</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>9</th>\n",
" <td>Hochschule für Musik, Theater und Medien Hannover</td>\n",
" <td>Artistic university</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1897</td>\n",
" <td>1409.000</td>\n",
" <td>Neues Haus 1</td>\n",
" <td>52.377380</td>\n",
" <td>9.753920</td>\n",
" <td>30175 Hannover</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>10</th>\n",
" <td>Leibniz-Fachhochschule</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1920</td>\n",
" <td>589.000</td>\n",
" <td>Expo Plaza 11</td>\n",
" <td>52.321150</td>\n",
" <td>9.818680</td>\n",
" <td>30539 Hannover</td>\n",
" <td>https://www.visit-hannover.com/var/storage/ima...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>11</th>\n",
" <td>Medizinische Hochschule Hannover (MHH)</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1963</td>\n",
" <td>3778.000</td>\n",
" <td>Carl-Neuberg-Straße 1</td>\n",
" <td>52.384050</td>\n",
" <td>9.806030</td>\n",
" <td>30625 Hannover</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>12</th>\n",
" <td>Stiftung Tierärztliche Hochschule Hannover</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1778</td>\n",
" <td>2381.000</td>\n",
" <td>Bünteweg 2</td>\n",
" <td>52.354680</td>\n",
" <td>9.797730</td>\n",
" <td>30559 Hannover</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/de/thum...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>13</th>\n",
" <td>Gottfried Wilhelm Leibniz Universität Hannover</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1831</td>\n",
" <td>28935.000</td>\n",
" <td>Welfengarten 1</td>\n",
" <td>52.382250</td>\n",
" <td>9.717770</td>\n",
" <td>30167 Hannover</td>\n",
" <td>https://www.uni-hannover.de/fileadmin/_process...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14</th>\n",
" <td>Fachhochschule für Interkulturelle Theologie H...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>2012</td>\n",
" <td>91.000</td>\n",
" <td>Missionsstraße 3-5</td>\n",
" <td>52.708843</td>\n",
" <td>10.140710</td>\n",
" <td>29320 Südheide</td>\n",
" <td>https://cdn.max-e5.info/damfiles/logo/fh_herma...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>15</th>\n",
" <td>Universität Hildesheim</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1978</td>\n",
" <td>8378.000</td>\n",
" <td>Universitätspl. 1</td>\n",
" <td>52.134010</td>\n",
" <td>9.974690</td>\n",
" <td>31141 Hildesheim</td>\n",
" <td>https://www.uni-hildesheim.de/media/_processed...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>16</th>\n",
" <td>HAWK Hochschule für angewandte Wissenschaft un...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>6495.000</td>\n",
" <td>Hohnsen 4</td>\n",
" <td>52.142460</td>\n",
" <td>9.957980</td>\n",
" <td>31134 Hildesheim</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17</th>\n",
" <td>HAWK Hochschule für angewandte Wissenschaft un...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>6495.000</td>\n",
" <td>Haarmannpl. 3</td>\n",
" <td>51.827260</td>\n",
" <td>9.450690</td>\n",
" <td>37603 Holzminden</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>18</th>\n",
" <td>HAWK Hochschule für angewandte Wissenschaft un...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>6495.000</td>\n",
" <td>Von-Ossietzky-Straße 99</td>\n",
" <td>51.521750</td>\n",
" <td>9.969670</td>\n",
" <td>37085 Göttingen</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19</th>\n",
" <td>Leuphana Universität Lüneburg</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1946</td>\n",
" <td>6497.000</td>\n",
" <td>Universitätsallee 1</td>\n",
" <td>53.228531</td>\n",
" <td>10.401710</td>\n",
" <td>21335 Lüneburg</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20</th>\n",
" <td>Norddeutsche Hochschule für Rechtspflege Nie...</td>\n",
" <td>University of Administration</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2007</td>\n",
" <td>6409.000</td>\n",
" <td>Godehardspl. 6</td>\n",
" <td>52.144840</td>\n",
" <td>9.949230</td>\n",
" <td>31134 Hildesheim</td>\n",
" <td>https://static.studycheck.de/media/images/inst...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>21</th>\n",
" <td>Kommunale Hochschule für Verwaltung in Nieders...</td>\n",
" <td>University of Administration</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2007</td>\n",
" <td>1570.000</td>\n",
" <td>Wielandstraße 8</td>\n",
" <td>52.370500</td>\n",
" <td>9.722390</td>\n",
" <td>30169 Hannover</td>\n",
" <td>https://www.nsi-hsvn.de/fileadmin/user_upload/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>22</th>\n",
" <td>Carl von Ossietzky Universität Oldenburg\\n</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1973</td>\n",
" <td>15635.000</td>\n",
" <td>Uhlhornsweg 49-55</td>\n",
" <td>53.147340</td>\n",
" <td>8.179020</td>\n",
" <td>26129 Oldenburg</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>23</th>\n",
" <td>Hochschule Osnabrück</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>13620.000</td>\n",
" <td>Albrechtstraße 30</td>\n",
" <td>52.282680</td>\n",
" <td>8.025010</td>\n",
" <td>49076 Osnabrück</td>\n",
" <td>https://login.hs-osnabrueck.de/nidp/hsos/image...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>24</th>\n",
" <td>Universität Osnabrück</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1973</td>\n",
" <td>13640.000</td>\n",
" <td>Neuer Graben 29</td>\n",
" <td>52.271370</td>\n",
" <td>8.044540</td>\n",
" <td>49074 Osnabrück</td>\n",
" <td>https://www.eh-tabor.de/sites/default/files/st...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25</th>\n",
" <td>Hochschule Braunschweig/Wolfenbüttel, Ostfalia...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>11577.000</td>\n",
" <td>Salzdahlumer Str. 46/48</td>\n",
" <td>52.176830</td>\n",
" <td>10.548650</td>\n",
" <td>38302 Wolfenbüttel</td>\n",
" <td>https://www.ostfalia.de/export/system/modules/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26</th>\n",
" <td>Hochschule Wolfsburg, Ostfalia Hochschule für ...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>11577.000</td>\n",
" <td>Robert-Koch-Platz 8A</td>\n",
" <td>52.425950</td>\n",
" <td>10.787110</td>\n",
" <td>38440 Wolfsburg</td>\n",
" <td>https://www.ostfalia.de/export/system/modules/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>27</th>\n",
" <td>Hochschule Suderburg, Ostfalia Hochschule für ...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>11577.000</td>\n",
" <td>Herbert-Meyer-Straße 7</td>\n",
" <td>52.897610</td>\n",
" <td>10.446590</td>\n",
" <td>29556 Suderburg</td>\n",
" <td>https://www.ostfalia.de/export/system/modules/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28</th>\n",
" <td>Hochschule Salzgitter, Ostfalia Hochschule für...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>1971</td>\n",
" <td>11577.000</td>\n",
" <td>Karl-Scharfenberg-Straße 55/57</td>\n",
" <td>52.087240</td>\n",
" <td>10.380550</td>\n",
" <td>38229 Salzgitter</td>\n",
" <td>https://www.ostfalia.de/export/system/modules/...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>29</th>\n",
" <td>Hochschule für Künste im Sozialen, Ottersberg</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1967</td>\n",
" <td>342.000</td>\n",
" <td>Große Str. 107</td>\n",
" <td>53.106680</td>\n",
" <td>9.163100</td>\n",
" <td>28870 Ottersberg</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>30</th>\n",
" <td>Private Hochschule für Wirtschaft und Technik ...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1998</td>\n",
" <td>558.000</td>\n",
" <td>Rombergstraße 40</td>\n",
" <td>52.721250</td>\n",
" <td>8.278910</td>\n",
" <td>49377 Vechta</td>\n",
" <td>https://www.phwt.de/wp-content/uploads/2020/09...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>31</th>\n",
" <td>Private Hochschule für Wirtschaft und Technik ...</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>1998</td>\n",
" <td>558.000</td>\n",
" <td>Schlesier Str. 13A</td>\n",
" <td>52.611710</td>\n",
" <td>8.363340</td>\n",
" <td>49356 Diepholz</td>\n",
" <td>https://www.phwt.de/wp-content/uploads/2020/09...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>32</th>\n",
" <td>Universität Vechta</td>\n",
" <td>University</td>\n",
" <td>public</td>\n",
" <td>yes</td>\n",
" <td>1995</td>\n",
" <td>4.551</td>\n",
" <td>Driverstraße 22</td>\n",
" <td>52.721170</td>\n",
" <td>8.293800</td>\n",
" <td>49377 Vechta</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>33</th>\n",
" <td>Hochschule Weserbergland</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>privat</td>\n",
" <td>no</td>\n",
" <td>2010</td>\n",
" <td>485.000</td>\n",
" <td>Am Stockhof 2</td>\n",
" <td>52.098750</td>\n",
" <td>9.355420</td>\n",
" <td>31785 Hameln</td>\n",
" <td>https://upload.wikimedia.org/wikipedia/commons...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>34</th>\n",
" <td>Jade Hochschule Wilhelmshaven</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2009</td>\n",
" <td>6789.000</td>\n",
" <td>Friedrich-Paffrath-Straße 101</td>\n",
" <td>53.547870</td>\n",
" <td>8.088040</td>\n",
" <td>26389 Wilhelmshaven</td>\n",
" <td>https://www.jade-hs.de/fileadmin/layout2016/as...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>35</th>\n",
" <td>Jade Hochschule Oldenburg</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2009</td>\n",
" <td>6789.000</td>\n",
" <td>Ofener Str. 16/19</td>\n",
" <td>53.141790</td>\n",
" <td>8.202130</td>\n",
" <td>26121 Oldenburg</td>\n",
" <td>https://www.jade-hs.de/fileadmin/layout2016/as...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>36</th>\n",
" <td>Jade Hochschule Elsfleth</td>\n",
" <td>University of Applied Sciences</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2009</td>\n",
" <td>6789.000</td>\n",
" <td>Weserstraße 52</td>\n",
" <td>53.242440</td>\n",
" <td>8.466510</td>\n",
" <td>26931 Elsfleth</td>\n",
" <td>https://www.jade-hs.de/fileadmin/layout2016/as...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>37</th>\n",
" <td>Steuerakademie Niedersachsen Rinteln</td>\n",
" <td>University of Administration</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2006</td>\n",
" <td>500.000</td>\n",
" <td>Wilhelm-Busch-Weg 29</td>\n",
" <td>52.206960</td>\n",
" <td>9.091120</td>\n",
" <td>31737 Rinteln</td>\n",
" <td>https://www.steuerakademie.niedersachsen.de/as...</td>\n",
" </tr>\n",
" <tr>\n",
" <th>38</th>\n",
" <td>Steuerakademie Niedersachsen Bad Eilsen</td>\n",
" <td>University of Administration</td>\n",
" <td>public</td>\n",
" <td>no</td>\n",
" <td>2006</td>\n",
" <td>500.000</td>\n",
" <td>Bahnhofstraße 5</td>\n",
" <td>52.239810</td>\n",
" <td>9.104230</td>\n",
" <td>31707 Bad Eilsen</td>\n",
" <td>https://www.steuerakademie.niedersachsen.de/as...</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" University name \\\n",
"0 Hochschule für Bildende Künste Braunschweig \n",
"1 Technische Universität Carolo-Wilhelmina zu Br... \n",
"2 Hochschule 21 \n",
"3 Technische Universität Clausthal \n",
"4 Hochschule Emden/Leer \n",
"5 PFH Private Hochschule Göttingen \n",
"6 Georg-August-Universität Göttingen \n",
"7 Fachhochschule für die Wirtschaft Hannover \n",
"8 Hochschule Hannover \n",
"9 Hochschule für Musik, Theater und Medien Hannover \n",
"10 Leibniz-Fachhochschule \n",
"11 Medizinische Hochschule Hannover (MHH) \n",
"12 Stiftung Tierärztliche Hochschule Hannover \n",
"13 Gottfried Wilhelm Leibniz Universität Hannover \n",
"14 Fachhochschule für Interkulturelle Theologie H... \n",
"15 Universität Hildesheim \n",
"16 HAWK Hochschule für angewandte Wissenschaft un... \n",
"17 HAWK Hochschule für angewandte Wissenschaft un... \n",
"18 HAWK Hochschule für angewandte Wissenschaft un... \n",
"19 Leuphana Universität Lüneburg \n",
"20 Norddeutsche Hochschule für Rechtspflege Nie... \n",
"21 Kommunale Hochschule für Verwaltung in Nieders... \n",
"22 Carl von Ossietzky Universität Oldenburg\\n \n",
"23 Hochschule Osnabrück \n",
"24 Universität Osnabrück \n",
"25 Hochschule Braunschweig/Wolfenbüttel, Ostfalia... \n",
"26 Hochschule Wolfsburg, Ostfalia Hochschule für ... \n",
"27 Hochschule Suderburg, Ostfalia Hochschule für ... \n",
"28 Hochschule Salzgitter, Ostfalia Hochschule für... \n",
"29 Hochschule für Künste im Sozialen, Ottersberg \n",
"30 Private Hochschule für Wirtschaft und Technik ... \n",
"31 Private Hochschule für Wirtschaft und Technik ... \n",
"32 Universität Vechta \n",
"33 Hochschule Weserbergland \n",
"34 Jade Hochschule Wilhelmshaven \n",
"35 Jade Hochschule Oldenburg \n",
"36 Jade Hochschule Elsfleth \n",
"37 Steuerakademie Niedersachsen Rinteln \n",
"38 Steuerakademie Niedersachsen Bad Eilsen \n",
"\n",
" Type of university Sponsorship Right of promotion \\\n",
"0 Artistic university public yes \n",
"1 University public yes \n",
"2 University of Applied Sciences privat no \n",
"3 University public yes \n",
"4 University of Applied Sciences public no \n",
"5 University of Applied Sciences privat no \n",
"6 University public yes \n",
"7 University of Applied Sciences privat no \n",
"8 University of Applied Sciences public no \n",
"9 Artistic university public yes \n",
"10 University of Applied Sciences privat no \n",
"11 University public yes \n",
"12 University public yes \n",
"13 University public yes \n",
"14 University of Applied Sciences privat no \n",
"15 University public yes \n",
"16 University of Applied Sciences public no \n",
"17 University of Applied Sciences public no \n",
"18 University of Applied Sciences public no \n",
"19 University public yes \n",
"20 University of Administration public no \n",
"21 University of Administration public no \n",
"22 University public yes \n",
"23 University of Applied Sciences public no \n",
"24 University public yes \n",
"25 University of Applied Sciences public no \n",
"26 University of Applied Sciences public no \n",
"27 University of Applied Sciences public no \n",
"28 University of Applied Sciences public no \n",
"29 University of Applied Sciences privat no \n",
"30 University of Applied Sciences privat no \n",
"31 University of Applied Sciences privat no \n",
"32 University public yes \n",
"33 University of Applied Sciences privat no \n",
"34 University of Applied Sciences public no \n",
"35 University of Applied Sciences public no \n",
"36 University of Applied Sciences public no \n",
"37 University of Administration public no \n",
"38 University of Administration public no \n",
"\n",
" Founding year Number of students Address \\\n",
"0 1963 976.000 Johannes-Selenka-Platz 1 \n",
"1 1745 17709.000 Universitätspl. 2 \n",
"2 2005 1084.000 Harburger Str. 6 \n",
"3 1775 3446.000 Adolph-Roemer-Straße 2A \n",
"4 2009 4481.000 Constantiapl. 4 \n",
"5 1995 4226.000 Weender Landstraße 3-7 \n",
"6 1737 28614.000 Wilhelmsplatz 1 \n",
"7 1996 641.000 Freundallee 15 \n",
"8 1971 9209.000 Ricklinger Stadtweg 120 \n",
"9 1897 1409.000 Neues Haus 1 \n",
"10 1920 589.000 Expo Plaza 11 \n",
"11 1963 3778.000 Carl-Neuberg-Straße 1 \n",
"12 1778 2381.000 Bünteweg 2 \n",
"13 1831 28935.000 Welfengarten 1 \n",
"14 2012 91.000 Missionsstraße 3-5 \n",
"15 1978 8378.000 Universitätspl. 1 \n",
"16 1971 6495.000 Hohnsen 4 \n",
"17 1971 6495.000 Haarmannpl. 3 \n",
"18 1971 6495.000 Von-Ossietzky-Straße 99 \n",
"19 1946 6497.000 Universitätsallee 1 \n",
"20 2007 6409.000 Godehardspl. 6 \n",
"21 2007 1570.000 Wielandstraße 8 \n",
"22 1973 15635.000 Uhlhornsweg 49-55 \n",
"23 1971 13620.000 Albrechtstraße 30 \n",
"24 1973 13640.000 Neuer Graben 29 \n",
"25 1971 11577.000 Salzdahlumer Str. 46/48 \n",
"26 1971 11577.000 Robert-Koch-Platz 8A \n",
"27 1971 11577.000 Herbert-Meyer-Straße 7 \n",
"28 1971 11577.000 Karl-Scharfenberg-Straße 55/57 \n",
"29 1967 342.000 Große Str. 107 \n",
"30 1998 558.000 Rombergstraße 40 \n",
"31 1998 558.000 Schlesier Str. 13A \n",
"32 1995 4.551 Driverstraße 22 \n",
"33 2010 485.000 Am Stockhof 2 \n",
"34 2009 6789.000 Friedrich-Paffrath-Straße 101 \n",
"35 2009 6789.000 Ofener Str. 16/19 \n",
"36 2009 6789.000 Weserstraße 52 \n",
"37 2006 500.000 Wilhelm-Busch-Weg 29 \n",
"38 2006 500.000 Bahnhofstraße 5 \n",
"\n",
" lat lon plz \\\n",
"0 52.257738 10.502315 38118 Braunschweig \n",
"1 52.273550 10.530097 38106 Braunschweig \n",
"2 53.477650 9.704650 21614 Buxtehude \n",
"3 51.804840 10.334110 38678 Clausthal-Zellerfeld \n",
"4 53.368160 7.181410 26723 Emden \n",
"5 51.538910 9.933220 37073 Göttingen \n",
"6 51.534070 9.937850 37073 Göttingen \n",
"7 52.366200 9.772470 30173 Hannover \n",
"8 52.354190 9.722380 30459 Hannover \n",
"9 52.377380 9.753920 30175 Hannover \n",
"10 52.321150 9.818680 30539 Hannover \n",
"11 52.384050 9.806030 30625 Hannover \n",
"12 52.354680 9.797730 30559 Hannover \n",
"13 52.382250 9.717770 30167 Hannover \n",
"14 52.708843 10.140710 29320 Südheide \n",
"15 52.134010 9.974690 31141 Hildesheim \n",
"16 52.142460 9.957980 31134 Hildesheim \n",
"17 51.827260 9.450690 37603 Holzminden \n",
"18 51.521750 9.969670 37085 Göttingen \n",
"19 53.228531 10.401710 21335 Lüneburg \n",
"20 52.144840 9.949230 31134 Hildesheim \n",
"21 52.370500 9.722390 30169 Hannover \n",
"22 53.147340 8.179020 26129 Oldenburg \n",
"23 52.282680 8.025010 49076 Osnabrück \n",
"24 52.271370 8.044540 49074 Osnabrück \n",
"25 52.176830 10.548650 38302 Wolfenbüttel \n",
"26 52.425950 10.787110 38440 Wolfsburg \n",
"27 52.897610 10.446590 29556 Suderburg \n",
"28 52.087240 10.380550 38229 Salzgitter \n",
"29 53.106680 9.163100 28870 Ottersberg \n",
"30 52.721250 8.278910 49377 Vechta \n",
"31 52.611710 8.363340 49356 Diepholz \n",
"32 52.721170 8.293800 49377 Vechta \n",
"33 52.098750 9.355420 31785 Hameln \n",
"34 53.547870 8.088040 26389 Wilhelmshaven \n",
"35 53.141790 8.202130 26121 Oldenburg \n",
"36 53.242440 8.466510 26931 Elsfleth \n",
"37 52.206960 9.091120 31737 Rinteln \n",
"38 52.239810 9.104230 31707 Bad Eilsen \n",
"\n",
" pic \n",
"0 https://www.hbk-bs.de/fileadmin/_processed_/5/... \n",
"1 https://upload.wikimedia.org/wikipedia/commons... \n",
"2 https://upload.wikimedia.org/wikipedia/commons... \n",
"3 https://www.presse.tu-clausthal.de/fileadmin/T... \n",
"4 https://sta-hisweb.hs-emden-leer.de/QIS/images... \n",
"5 https://goettingen-campus.de/fileadmin/_proces... \n",
"6 https://upload.wikimedia.org/wikipedia/commons... \n",
"7 https://upload.wikimedia.org/wikipedia/commons... \n",
"8 https://upload.wikimedia.org/wikipedia/commons... \n",
"9 https://upload.wikimedia.org/wikipedia/commons... \n",
"10 https://www.visit-hannover.com/var/storage/ima... \n",
"11 https://upload.wikimedia.org/wikipedia/commons... \n",
"12 https://upload.wikimedia.org/wikipedia/de/thum... \n",
"13 https://www.uni-hannover.de/fileadmin/_process... \n",
"14 https://cdn.max-e5.info/damfiles/logo/fh_herma... \n",
"15 https://www.uni-hildesheim.de/media/_processed... \n",
"16 https://upload.wikimedia.org/wikipedia/commons... \n",
"17 https://upload.wikimedia.org/wikipedia/commons... \n",
"18 https://upload.wikimedia.org/wikipedia/commons... \n",
"19 https://upload.wikimedia.org/wikipedia/commons... \n",
"20 https://static.studycheck.de/media/images/inst... \n",
"21 https://www.nsi-hsvn.de/fileadmin/user_upload/... \n",
"22 https://upload.wikimedia.org/wikipedia/commons... \n",
"23 https://login.hs-osnabrueck.de/nidp/hsos/image... \n",
"24 https://www.eh-tabor.de/sites/default/files/st... \n",
"25 https://www.ostfalia.de/export/system/modules/... \n",
"26 https://www.ostfalia.de/export/system/modules/... \n",
"27 https://www.ostfalia.de/export/system/modules/... \n",
"28 https://www.ostfalia.de/export/system/modules/... \n",
"29 https://upload.wikimedia.org/wikipedia/commons... \n",
"30 https://www.phwt.de/wp-content/uploads/2020/09... \n",
"31 https://www.phwt.de/wp-content/uploads/2020/09... \n",
"32 https://upload.wikimedia.org/wikipedia/commons... \n",
"33 https://upload.wikimedia.org/wikipedia/commons... \n",
"34 https://www.jade-hs.de/fileadmin/layout2016/as... \n",
"35 https://www.jade-hs.de/fileadmin/layout2016/as... \n",
"36 https://www.jade-hs.de/fileadmin/layout2016/as... \n",
"37 https://www.steuerakademie.niedersachsen.de/as... \n",
"38 https://www.steuerakademie.niedersachsen.de/as... "
]
},
"execution_count": 23,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"### BEGIN SOLUTION\n",
"df = pd.read_csv('unis_nd.csv')\n",
"df\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 24,
"id": "a30598a7-c7d4-42cc-a9b8-dc6356d060aa",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-3e80e16a38e85d29",
"locked": true,
"points": 1,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"# Your Solutions are tested here..\n",
"assert isinstance(df, pd.DataFrame)"
]
},
{
"cell_type": "markdown",
"id": "da44f50f-0c2d-404d-8083-289742c5497a",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-237bfc25448676b2",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"## 3.2: Defining the Map\n",
"\n",
"Before we plot the dataset, define a map with the name `lower_saxony`. \n",
"\n",
"- The location should be the georaphic centre of Lower Saxony in _Wehrenberg 27318 Hoyerhagen_ `(52.806390, 9.135110)`.\n",
"- Use a suitable tileset from the documentation\n",
"- Use a suitable zoom setting"
]
},
{
"cell_type": "code",
"execution_count": 25,
"id": "bfe04668-a597-4f93-b6e4-11ef17d18dcd",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-0d7c995b3fcc368e",
"locked": false,
"schema_version": 3,
"solution": true,
"task": false
}
},
"outputs": [],
"source": [
"### BEGIN SOLUTION\n",
"lower_saxony = folium.Map(\n",
" location=(52.806390, 9.135110), # Georaphical centre Point of Lower Saxony Wehrenberg 27318 Hoyerhagen\n",
" tiles='OpenStreetMap',\n",
" zoom_start=7\n",
" )\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 26,
"id": "a2f05ce6-7942-4c71-b1e2-a709c88b0f36",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-77f8257bb3c1308f",
"locked": true,
"points": 4,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [],
"source": [
"# Your Solutions are tested here..\n",
"assert isinstance(lower_saxony, folium.Map)\n",
"assert len(lower_saxony.location) == 2"
]
},
{
"cell_type": "markdown",
"id": "357c71bb-923a-4de6-bcbd-b9d2741498fc",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-d66a439bbfb3778a",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"source": [
"## 3.3 Plotting the Dataset\n",
"\n",
"Write a for loop which reads the values from the dataset `df` and add the markers to the map `lower_saxony` using the already defined functions `popup_factory` and `marker_factory`. "
]
},
{
"cell_type": "code",
"execution_count": 27,
"id": "b392f48f-f0ae-4158-806f-859e71009c04",
"metadata": {
"nbgrader": {
"grade": true,
"grade_id": "cell-b744358aaaa7db44",
"locked": false,
"points": 5,
"schema_version": 3,
"solution": true,
"task": false
}
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_f2217b91f6c745de9a20cb125f2a0232 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_f2217b91f6c745de9a20cb125f2a0232&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_f2217b91f6c745de9a20cb125f2a0232 = L.map(\n",
" &quot;map_f2217b91f6c745de9a20cb125f2a0232&quot;,\n",
" {\n",
" center: [52.80639, 9.13511],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 7,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_c568145958d4a043f916fcfdc24daf2c = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_c568145958d4a043f916fcfdc24daf2c.addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var marker_f6f5f04bb9a24b1b10659d40d11af895 = L.marker(\n",
" [52.2577384, 10.5023145],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_38497f51929aecbf8259adbbc5265d19 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.setIcon(icon_38497f51929aecbf8259adbbc5265d19);\n",
" \n",
" \n",
" var popup_fe5bfb0eb96f63e2c7967805740848a3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_cd79225e836f9077ae4b734e9619683e = $(`&lt;div id=&quot;html_cd79225e836f9077ae4b734e9619683e&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fe5bfb0eb96f63e2c7967805740848a3.setContent(html_cd79225e836f9077ae4b734e9619683e);\n",
" \n",
" \n",
"\n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.bindPopup(popup_fe5bfb0eb96f63e2c7967805740848a3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_9db590e2322f2b6c2c844aeab0bde89c = L.marker(\n",
" [52.27355, 10.530097],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_87839ce700b2ddb85f64939a06c0faa6 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.setIcon(icon_87839ce700b2ddb85f64939a06c0faa6);\n",
" \n",
" \n",
" var popup_e3ec5a992a09c180e8b9ea04d4500422 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_75614cc6911cf2b3591b0b251d81e5bf = $(`&lt;div id=&quot;html_75614cc6911cf2b3591b0b251d81e5bf&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Siegel_TU_Braunschweig_transparent.svg/1200px-Siegel_TU_Braunschweig_transparent.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätspl. 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38106 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_e3ec5a992a09c180e8b9ea04d4500422.setContent(html_75614cc6911cf2b3591b0b251d81e5bf);\n",
" \n",
" \n",
"\n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.bindPopup(popup_e3ec5a992a09c180e8b9ea04d4500422)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_80aec8135ff04072da95b6186ddeb54f = L.marker(\n",
" [53.47765, 9.70465],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_e3c9c9ae4dcab1659dfd95bdf3abe89e = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_80aec8135ff04072da95b6186ddeb54f.setIcon(icon_e3c9c9ae4dcab1659dfd95bdf3abe89e);\n",
" \n",
" \n",
" var popup_ca6b9140fa78a0687a58beddfb526636 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_da14e98fe8b58d62ec39487f095790bc = $(`&lt;div id=&quot;html_da14e98fe8b58d62ec39487f095790bc&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Hochschule_21_logo.svg/2560px-Hochschule_21_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Harburger Str. 6&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;21614 Buxtehude&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_ca6b9140fa78a0687a58beddfb526636.setContent(html_da14e98fe8b58d62ec39487f095790bc);\n",
" \n",
" \n",
"\n",
" marker_80aec8135ff04072da95b6186ddeb54f.bindPopup(popup_ca6b9140fa78a0687a58beddfb526636)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_80aec8135ff04072da95b6186ddeb54f.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_a7b6adde4834cc54f285db7469ff7ad1 = L.marker(\n",
" [51.80484, 10.33411],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_a549ff5e22c8dc9b6d4e3d03c4b39d36 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.setIcon(icon_a549ff5e22c8dc9b6d4e3d03c4b39d36);\n",
" \n",
" \n",
" var popup_611c1bd84e5bfa53084b578beea0d8c3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_01ba834b5fbbdcab321badeb9b2e6d37 = $(`&lt;div id=&quot;html_01ba834b5fbbdcab321badeb9b2e6d37&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.presse.tu-clausthal.de/fileadmin/TU_Clausthal/images/CorporateDesign/Logo/Logo_TUC_en_RGB_gross.gif&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Adolph-Roemer-Straße 2A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38678 Clausthal-Zellerfeld&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_611c1bd84e5bfa53084b578beea0d8c3.setContent(html_01ba834b5fbbdcab321badeb9b2e6d37);\n",
" \n",
" \n",
"\n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.bindPopup(popup_611c1bd84e5bfa53084b578beea0d8c3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_697e2ac5b070ae2b62aa40bac6259fef = L.marker(\n",
" [53.36816, 7.18141],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7d958ebbf20b19fbb5d62471e346abf8 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.setIcon(icon_7d958ebbf20b19fbb5d62471e346abf8);\n",
" \n",
" \n",
" var popup_453558bd75114cf0b587c9895073728c = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9013f288dd6bb558e68ef0cb2df618dd = $(`&lt;div id=&quot;html_9013f288dd6bb558e68ef0cb2df618dd&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://sta-hisweb.hs-emden-leer.de/QIS/images//logo_el.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Constantiapl. 4&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26723 Emden&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_453558bd75114cf0b587c9895073728c.setContent(html_9013f288dd6bb558e68ef0cb2df618dd);\n",
" \n",
" \n",
"\n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.bindPopup(popup_453558bd75114cf0b587c9895073728c)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_36a0d8e49e6efd83ca1d00fb6d0ef03d = L.marker(\n",
" [51.53891, 9.93322],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_09c267590a41f5cff23b0605f613aae5 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.setIcon(icon_09c267590a41f5cff23b0605f613aae5);\n",
" \n",
" \n",
" var popup_d2eb1f3411e52821fdc9f3aa88b70389 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_dae9aa29a868185cf29135921f18340a = $(`&lt;div id=&quot;html_dae9aa29a868185cf29135921f18340a&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://goettingen-campus.de/fileadmin/_processed_/d/7/csm_logopfh_20f8eee765.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Weender Landstraße 3-7&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37073 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d2eb1f3411e52821fdc9f3aa88b70389.setContent(html_dae9aa29a868185cf29135921f18340a);\n",
" \n",
" \n",
"\n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.bindPopup(popup_d2eb1f3411e52821fdc9f3aa88b70389)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_326c870a4335206135cdc646b8dd85e0 = L.marker(\n",
" [51.53407, 9.93785],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_a47515a9678d699501f81fec96a96b43 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_326c870a4335206135cdc646b8dd85e0.setIcon(icon_a47515a9678d699501f81fec96a96b43);\n",
" \n",
" \n",
" var popup_6314f1555505ecbcd88e72a39ad4595e = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_fe37bd9de3760b5506f68b1f95c69340 = $(`&lt;div id=&quot;html_fe37bd9de3760b5506f68b1f95c69340&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/c/c0/Logo_Uni_G%C3%B6ttingen_2022.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wilhelmsplatz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37073 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_6314f1555505ecbcd88e72a39ad4595e.setContent(html_fe37bd9de3760b5506f68b1f95c69340);\n",
" \n",
" \n",
"\n",
" marker_326c870a4335206135cdc646b8dd85e0.bindPopup(popup_6314f1555505ecbcd88e72a39ad4595e)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_326c870a4335206135cdc646b8dd85e0.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_b7384f482d7e704dc0450b2f7bcbc2f5 = L.marker(\n",
" [52.3662, 9.77247],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_8868677a5e99d812577b2e02b1d203dd = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.setIcon(icon_8868677a5e99d812577b2e02b1d203dd);\n",
" \n",
" \n",
" var popup_a47cb15f6be017719303dd11d270ebb1 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_3e860fa2cb321ff94727a43a3d864694 = $(`&lt;div id=&quot;html_3e860fa2cb321ff94727a43a3d864694&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/5/5c/Fachhochschule_f%C3%BCr_die_Wirtschaft_logo.svg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Freundallee 15&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30173 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_a47cb15f6be017719303dd11d270ebb1.setContent(html_3e860fa2cb321ff94727a43a3d864694);\n",
" \n",
" \n",
"\n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.bindPopup(popup_a47cb15f6be017719303dd11d270ebb1)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_481cd360a1308c219fbff9a3f1afb43a = L.marker(\n",
" [52.35419, 9.72238],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_d795df6a158cfabdb15236d6b5331346 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_481cd360a1308c219fbff9a3f1afb43a.setIcon(icon_d795df6a158cfabdb15236d6b5331346);\n",
" \n",
" \n",
" var popup_93355d756e2699dec14e4cdda484f0fe = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5efaffb7cf25f1bb7cf56832caba5956 = $(`&lt;div id=&quot;html_5efaffb7cf25f1bb7cf56832caba5956&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/HsH_Logo.svg/1200px-HsH_Logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ricklinger Stadtweg 120&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30459 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_93355d756e2699dec14e4cdda484f0fe.setContent(html_5efaffb7cf25f1bb7cf56832caba5956);\n",
" \n",
" \n",
"\n",
" marker_481cd360a1308c219fbff9a3f1afb43a.bindPopup(popup_93355d756e2699dec14e4cdda484f0fe)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_481cd360a1308c219fbff9a3f1afb43a.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_d3a0f5bd40af0c5509dbd0356c6deb53 = L.marker(\n",
" [52.37738, 9.75392],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_8cebe23de7b34b5e7e47871f0101d4fa = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.setIcon(icon_8cebe23de7b34b5e7e47871f0101d4fa);\n",
" \n",
" \n",
" var popup_007707fdb4f92fa95b13dab853221f81 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5bd79562669c54c0c5b369fe13b42397 = $(`&lt;div id=&quot;html_5bd79562669c54c0c5b369fe13b42397&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/HMTM-Logo-2010.svg/1200px-HMTM-Logo-2010.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Neues Haus 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30175 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_007707fdb4f92fa95b13dab853221f81.setContent(html_5bd79562669c54c0c5b369fe13b42397);\n",
" \n",
" \n",
"\n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.bindPopup(popup_007707fdb4f92fa95b13dab853221f81)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_445ab4cbd5f00d614c4492e5c39da935 = L.marker(\n",
" [52.32115, 9.81868],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_f2f8605275ecb577608c06e46a862377 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_445ab4cbd5f00d614c4492e5c39da935.setIcon(icon_f2f8605275ecb577608c06e46a862377);\n",
" \n",
" \n",
" var popup_6248a2516f2018c17f64260260b02a41 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0f6ae17cf599cb02c3bad30e92d9bddb = $(`&lt;div id=&quot;html_0f6ae17cf599cb02c3bad30e92d9bddb&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.visit-hannover.com/var/storage/images/_aliases/image_full/media/01-data-neu/bilder/redaktion-hannover.de/portale/initiative-wissenschaft/leibniz-fh/leibniz-fachhochschule-logo/8135360-1-ger-DE/Leibniz-Fachhochschule-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Expo Plaza 11&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30539 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_6248a2516f2018c17f64260260b02a41.setContent(html_0f6ae17cf599cb02c3bad30e92d9bddb);\n",
" \n",
" \n",
"\n",
" marker_445ab4cbd5f00d614c4492e5c39da935.bindPopup(popup_6248a2516f2018c17f64260260b02a41)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_445ab4cbd5f00d614c4492e5c39da935.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3216d76eb4e401d40108019125ca46f8 = L.marker(\n",
" [52.38405, 9.80603],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_3d334ea5fc733308a2c1527afa6fa0f2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3216d76eb4e401d40108019125ca46f8.setIcon(icon_3d334ea5fc733308a2c1527afa6fa0f2);\n",
" \n",
" \n",
" var popup_9a41b3d8b4de0276f6ac10aaf28a5753 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_adfb18fc1a5921eabf75533f6cfdeef5 = $(`&lt;div id=&quot;html_adfb18fc1a5921eabf75533f6cfdeef5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Medizinische_Hochschule_Hannover_logo.svg/2560px-Medizinische_Hochschule_Hannover_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Carl-Neuberg-Straße 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30625 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_9a41b3d8b4de0276f6ac10aaf28a5753.setContent(html_adfb18fc1a5921eabf75533f6cfdeef5);\n",
" \n",
" \n",
"\n",
" marker_3216d76eb4e401d40108019125ca46f8.bindPopup(popup_9a41b3d8b4de0276f6ac10aaf28a5753)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3216d76eb4e401d40108019125ca46f8.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_6303b3ad6369cce84f3c44f4516cd654 = L.marker(\n",
" [52.35468, 9.79773],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7211e70749780ee90a16e7570739ce99 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_6303b3ad6369cce84f3c44f4516cd654.setIcon(icon_7211e70749780ee90a16e7570739ce99);\n",
" \n",
" \n",
" var popup_fc24df7dd404add2690734332f28f149 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_037c7808a74cd443c38229ca8a2875c5 = $(`&lt;div id=&quot;html_037c7808a74cd443c38229ca8a2875c5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/de/thumb/5/59/Tier%C3%A4rztliche_Hochschule_Hannover_logo.svg/1200px-Tier%C3%A4rztliche_Hochschule_Hannover_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bünteweg 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30559 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fc24df7dd404add2690734332f28f149.setContent(html_037c7808a74cd443c38229ca8a2875c5);\n",
" \n",
" \n",
"\n",
" marker_6303b3ad6369cce84f3c44f4516cd654.bindPopup(popup_fc24df7dd404add2690734332f28f149)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_6303b3ad6369cce84f3c44f4516cd654.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8027560af52ec66ee2d1579f5e03836d = L.marker(\n",
" [52.38225, 9.71777],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_c06b973daf9713b014723e5a80563d3f = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8027560af52ec66ee2d1579f5e03836d.setIcon(icon_c06b973daf9713b014723e5a80563d3f);\n",
" \n",
" \n",
" var popup_fa23b3e454526f96c0f857ba8dcc5228 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_630dde6fcd7c9e7b265595d38794957b = $(`&lt;div id=&quot;html_630dde6fcd7c9e7b265595d38794957b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.uni-hannover.de/fileadmin/_processed_/1/5/csm_luh-logo-3x2_8dea6c08fc.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Welfengarten 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30167 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fa23b3e454526f96c0f857ba8dcc5228.setContent(html_630dde6fcd7c9e7b265595d38794957b);\n",
" \n",
" \n",
"\n",
" marker_8027560af52ec66ee2d1579f5e03836d.bindPopup(popup_fa23b3e454526f96c0f857ba8dcc5228)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8027560af52ec66ee2d1579f5e03836d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8bfc7ec40650d4a4d3059cf91017f680 = L.marker(\n",
" [52.708843, 10.14071],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_d31e125da54aa0f73ac66b72b94f58c5 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.setIcon(icon_d31e125da54aa0f73ac66b72b94f58c5);\n",
" \n",
" \n",
" var popup_98fb4b0ee3ee8822e980be531cb59090 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_22975fbb385d42a82a1c874250e223c5 = $(`&lt;div id=&quot;html_22975fbb385d42a82a1c874250e223c5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://cdn.max-e5.info/damfiles/logo/fh_hermannsburg/fh_hermannsburg/Kopfgrafik/Logo-FIT--weiss.jpg-b5f510cb468ab8840e0f2e62b703208e.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Missionsstraße 3-5&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;29320 Südheide&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_98fb4b0ee3ee8822e980be531cb59090.setContent(html_22975fbb385d42a82a1c874250e223c5);\n",
" \n",
" \n",
"\n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.bindPopup(popup_98fb4b0ee3ee8822e980be531cb59090)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_680718fe8a34fb049358c79b5ddcb0ca = L.marker(\n",
" [52.13401, 9.97469],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_30b8a5837d765e7fad4bf41ed17c2c31 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.setIcon(icon_30b8a5837d765e7fad4bf41ed17c2c31);\n",
" \n",
" \n",
" var popup_2dc8e88cce00be1a7a452d35d078d2f4 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_7d4ae04c337de40c2f5b6069c3b22fbe = $(`&lt;div id=&quot;html_7d4ae04c337de40c2f5b6069c3b22fbe&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.uni-hildesheim.de/media/_processed_/d/8/csm_Bildkombo_Logo_Uni_Hildesheim-1850_8fd99cc21e.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätspl. 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31141 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_2dc8e88cce00be1a7a452d35d078d2f4.setContent(html_7d4ae04c337de40c2f5b6069c3b22fbe);\n",
" \n",
" \n",
"\n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.bindPopup(popup_2dc8e88cce00be1a7a452d35d078d2f4)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_19875001ed69197d63af732670a00a3e = L.marker(\n",
" [52.14246, 9.95798],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ebdd92edc37d96a1c8586654bf90f870 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_19875001ed69197d63af732670a00a3e.setIcon(icon_ebdd92edc37d96a1c8586654bf90f870);\n",
" \n",
" \n",
" var popup_079a6e1fd62d026edb0f77889644d41f = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_168a2ba37c8e817c5e3d9486717a93cb = $(`&lt;div id=&quot;html_168a2ba37c8e817c5e3d9486717a93cb&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Hohnsen 4&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31134 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_079a6e1fd62d026edb0f77889644d41f.setContent(html_168a2ba37c8e817c5e3d9486717a93cb);\n",
" \n",
" \n",
"\n",
" marker_19875001ed69197d63af732670a00a3e.bindPopup(popup_079a6e1fd62d026edb0f77889644d41f)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_19875001ed69197d63af732670a00a3e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_dd8618ddf51145ceba79a111d4e51be9 = L.marker(\n",
" [51.82726, 9.45069],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_3b05b68902c072d3df50226dbe65d8f7 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_dd8618ddf51145ceba79a111d4e51be9.setIcon(icon_3b05b68902c072d3df50226dbe65d8f7);\n",
" \n",
" \n",
" var popup_33935e54850151922272c959a03cbc2e = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9dca2f7418cf40ccf533ba3dc0c36116 = $(`&lt;div id=&quot;html_9dca2f7418cf40ccf533ba3dc0c36116&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Haarmannpl. 3&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37603 Holzminden&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_33935e54850151922272c959a03cbc2e.setContent(html_9dca2f7418cf40ccf533ba3dc0c36116);\n",
" \n",
" \n",
"\n",
" marker_dd8618ddf51145ceba79a111d4e51be9.bindPopup(popup_33935e54850151922272c959a03cbc2e)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_dd8618ddf51145ceba79a111d4e51be9.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_792241b704ee1f30607417b0b17eb5e6 = L.marker(\n",
" [51.52175, 9.96967],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_586106e8342926ecb3a508381bf0ac16 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_792241b704ee1f30607417b0b17eb5e6.setIcon(icon_586106e8342926ecb3a508381bf0ac16);\n",
" \n",
" \n",
" var popup_14aff97d879ec899390b9acb4db2cfd7 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_91f964478c604a173e8ba991dbb40cb0 = $(`&lt;div id=&quot;html_91f964478c604a173e8ba991dbb40cb0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Von-Ossietzky-Straße 99&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37085 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_14aff97d879ec899390b9acb4db2cfd7.setContent(html_91f964478c604a173e8ba991dbb40cb0);\n",
" \n",
" \n",
"\n",
" marker_792241b704ee1f30607417b0b17eb5e6.bindPopup(popup_14aff97d879ec899390b9acb4db2cfd7)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_792241b704ee1f30607417b0b17eb5e6.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_72f6a3b8af927550bd210e3123781a45 = L.marker(\n",
" [53.228531, 10.40171],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_9bd7575c4b3adf2fbacefdab0097c7de = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_72f6a3b8af927550bd210e3123781a45.setIcon(icon_9bd7575c4b3adf2fbacefdab0097c7de);\n",
" \n",
" \n",
" var popup_fea5fd2e13c56e6d17b3b76f2a160bb0 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5b29c917b35baccb9691535fbd8c424b = $(`&lt;div id=&quot;html_5b29c917b35baccb9691535fbd8c424b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/93/Leuphana_Universit%C3%A4t_L%C3%BCneburg_Logo_2020.svg/2560px-Leuphana_Universit%C3%A4t_L%C3%BCneburg_Logo_2020.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätsallee 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;21335 Lüneburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fea5fd2e13c56e6d17b3b76f2a160bb0.setContent(html_5b29c917b35baccb9691535fbd8c424b);\n",
" \n",
" \n",
"\n",
" marker_72f6a3b8af927550bd210e3123781a45.bindPopup(popup_fea5fd2e13c56e6d17b3b76f2a160bb0)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_72f6a3b8af927550bd210e3123781a45.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_debd60c23bdaf4c2b4e835c589a471d3 = L.marker(\n",
" [52.14484, 9.94923],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ced456e7c4b35f4e5ef6525b040a85f9 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.setIcon(icon_ced456e7c4b35f4e5ef6525b040a85f9);\n",
" \n",
" \n",
" var popup_95815bb7eedb0708cefb22f6e382110b = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0733c05c68f1f51ef05c40de6a866171 = $(`&lt;div id=&quot;html_0733c05c68f1f51ef05c40de6a866171&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://static.studycheck.de/media/images/institute_logos/small/hr-nord.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Godehardspl. 6&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31134 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_95815bb7eedb0708cefb22f6e382110b.setContent(html_0733c05c68f1f51ef05c40de6a866171);\n",
" \n",
" \n",
"\n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.bindPopup(popup_95815bb7eedb0708cefb22f6e382110b)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3bfa24c92488d4080c69c6b850393101 = L.marker(\n",
" [52.3705, 9.72239],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_1181defc6a7cb36ac1be7b0bcddedfb3 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3bfa24c92488d4080c69c6b850393101.setIcon(icon_1181defc6a7cb36ac1be7b0bcddedfb3);\n",
" \n",
" \n",
" var popup_e0c156f866bc6c3e3b1ec35651d7fab3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_eda375e09be01abb67054c35b5d4dea3 = $(`&lt;div id=&quot;html_eda375e09be01abb67054c35b5d4dea3&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.nsi-hsvn.de/fileadmin/user_upload/02_Studium/big-hsvn_logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wielandstraße 8&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30169 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_e0c156f866bc6c3e3b1ec35651d7fab3.setContent(html_eda375e09be01abb67054c35b5d4dea3);\n",
" \n",
" \n",
"\n",
" marker_3bfa24c92488d4080c69c6b850393101.bindPopup(popup_e0c156f866bc6c3e3b1ec35651d7fab3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3bfa24c92488d4080c69c6b850393101.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_50e634f09095ee80a284a7f31bbcac99 = L.marker(\n",
" [53.14734, 8.17902],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_1f681770f7a294ed9cd93b5e85238e4c = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_50e634f09095ee80a284a7f31bbcac99.setIcon(icon_1f681770f7a294ed9cd93b5e85238e4c);\n",
" \n",
" \n",
" var popup_d0ee106330694b3782ea59dd8bc077c5 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_4cb154691b2b6998e1dcf181a6267502 = $(`&lt;div id=&quot;html_4cb154691b2b6998e1dcf181a6267502&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Carl_von_Ossietzky_Universit%C3%A4t_Oldenburg_logo.svg/1200px-Carl_von_Ossietzky_Universit%C3%A4t_Oldenburg_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Uhlhornsweg 49-55&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26129 Oldenburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d0ee106330694b3782ea59dd8bc077c5.setContent(html_4cb154691b2b6998e1dcf181a6267502);\n",
" \n",
" \n",
"\n",
" marker_50e634f09095ee80a284a7f31bbcac99.bindPopup(popup_d0ee106330694b3782ea59dd8bc077c5)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_50e634f09095ee80a284a7f31bbcac99.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_2954498811c96b7fc25224daeb15f0cc = L.marker(\n",
" [52.28268, 8.02501],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_60268d8f24e500758190a2bac846d57f = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_2954498811c96b7fc25224daeb15f0cc.setIcon(icon_60268d8f24e500758190a2bac846d57f);\n",
" \n",
" \n",
" var popup_847936066bf88b10ec472b797b26a7cc = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_a6caa70ee20e4ef77e8c69dbecf3300f = $(`&lt;div id=&quot;html_a6caa70ee20e4ef77e8c69dbecf3300f&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://login.hs-osnabrueck.de/nidp/hsos/images/hsos-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Albrechtstraße 30&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49076 Osnabrück&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_847936066bf88b10ec472b797b26a7cc.setContent(html_a6caa70ee20e4ef77e8c69dbecf3300f);\n",
" \n",
" \n",
"\n",
" marker_2954498811c96b7fc25224daeb15f0cc.bindPopup(popup_847936066bf88b10ec472b797b26a7cc)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_2954498811c96b7fc25224daeb15f0cc.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_819632fd8f9d25558d0cd2e5b5c1e11a = L.marker(\n",
" [52.27137, 8.04454],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_0f5e688fe1ae3bdd8536fa2ffdd92333 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.setIcon(icon_0f5e688fe1ae3bdd8536fa2ffdd92333);\n",
" \n",
" \n",
" var popup_db55dbd402c82e5bc950b06043204006 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b904d5c393bdaa37944892e308817556 = $(`&lt;div id=&quot;html_b904d5c393bdaa37944892e308817556&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.eh-tabor.de/sites/default/files/styles/width980px/public/logo-universitaet-osnabrueck.png?itok=DmZEq9ka&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Neuer Graben 29&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49074 Osnabrück&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_db55dbd402c82e5bc950b06043204006.setContent(html_b904d5c393bdaa37944892e308817556);\n",
" \n",
" \n",
"\n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.bindPopup(popup_db55dbd402c82e5bc950b06043204006)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_0aa26af8a50165c5b798c544a81ea88c = L.marker(\n",
" [52.17683, 10.54865],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7afcd9d8e5ca387b05b81965390855a3 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_0aa26af8a50165c5b798c544a81ea88c.setIcon(icon_7afcd9d8e5ca387b05b81965390855a3);\n",
" \n",
" \n",
" var popup_21973ecf03a4a648ba54b855ae0e6021 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e00610bae66f9d35d9e6055e72b6c9f1 = $(`&lt;div id=&quot;html_e00610bae66f9d35d9e6055e72b6c9f1&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Salzdahlumer Str. 46/48&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38302 Wolfenbüttel&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_21973ecf03a4a648ba54b855ae0e6021.setContent(html_e00610bae66f9d35d9e6055e72b6c9f1);\n",
" \n",
" \n",
"\n",
" marker_0aa26af8a50165c5b798c544a81ea88c.bindPopup(popup_21973ecf03a4a648ba54b855ae0e6021)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_0aa26af8a50165c5b798c544a81ea88c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_f395fc2ef2a7c90a9e3819fb6a181de6 = L.marker(\n",
" [52.42595, 10.78711],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_00957680b287252705d8320d1c79b1d1 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.setIcon(icon_00957680b287252705d8320d1c79b1d1);\n",
" \n",
" \n",
" var popup_d3b02bd6f2aeecf4a50e5cf2b292631a = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_d7e944fa16b6d62f541f895273102abd = $(`&lt;div id=&quot;html_d7e944fa16b6d62f541f895273102abd&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Robert-Koch-Platz 8A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38440 Wolfsburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d3b02bd6f2aeecf4a50e5cf2b292631a.setContent(html_d7e944fa16b6d62f541f895273102abd);\n",
" \n",
" \n",
"\n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.bindPopup(popup_d3b02bd6f2aeecf4a50e5cf2b292631a)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_b34101e33f97d387460c0ee502d90ccf = L.marker(\n",
" [52.89761, 10.44659],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ecb40433e14516752f29368b9be2e56d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_b34101e33f97d387460c0ee502d90ccf.setIcon(icon_ecb40433e14516752f29368b9be2e56d);\n",
" \n",
" \n",
" var popup_ecf74a2050acf927b87610bbf88025fb = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_37debf89b024b004525cc14ce6e0f8e6 = $(`&lt;div id=&quot;html_37debf89b024b004525cc14ce6e0f8e6&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Herbert-Meyer-Straße 7&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;29556 Suderburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_ecf74a2050acf927b87610bbf88025fb.setContent(html_37debf89b024b004525cc14ce6e0f8e6);\n",
" \n",
" \n",
"\n",
" marker_b34101e33f97d387460c0ee502d90ccf.bindPopup(popup_ecf74a2050acf927b87610bbf88025fb)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_b34101e33f97d387460c0ee502d90ccf.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_4271a42edba88951969ea3377e010c04 = L.marker(\n",
" [52.08724, 10.38055],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7a74fa43bdd418eb3315181f2d35edb4 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_4271a42edba88951969ea3377e010c04.setIcon(icon_7a74fa43bdd418eb3315181f2d35edb4);\n",
" \n",
" \n",
" var popup_4ec118262112f33c03af5a735fcaad37 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0c7f75723579958525570032cce8779f = $(`&lt;div id=&quot;html_0c7f75723579958525570032cce8779f&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Karl-Scharfenberg-Straße 55/57&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38229 Salzgitter&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_4ec118262112f33c03af5a735fcaad37.setContent(html_0c7f75723579958525570032cce8779f);\n",
" \n",
" \n",
"\n",
" marker_4271a42edba88951969ea3377e010c04.bindPopup(popup_4ec118262112f33c03af5a735fcaad37)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_4271a42edba88951969ea3377e010c04.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_a6d487b1afcaf87cb7f65945e778641e = L.marker(\n",
" [53.10668, 9.1631],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_172316dbc1eb72bffb262f4ee4c3bbae = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_a6d487b1afcaf87cb7f65945e778641e.setIcon(icon_172316dbc1eb72bffb262f4ee4c3bbae);\n",
" \n",
" \n",
" var popup_7b543113d9fcb7c03766640d71be02c6 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_60b959f669d4f967f1d89d924d32ae4d = $(`&lt;div id=&quot;html_60b959f669d4f967f1d89d924d32ae4d&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Logo_HKS_Ottersberg.svg/1200px-Logo_HKS_Ottersberg.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Große Str. 107&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;28870 Ottersberg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_7b543113d9fcb7c03766640d71be02c6.setContent(html_60b959f669d4f967f1d89d924d32ae4d);\n",
" \n",
" \n",
"\n",
" marker_a6d487b1afcaf87cb7f65945e778641e.bindPopup(popup_7b543113d9fcb7c03766640d71be02c6)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_a6d487b1afcaf87cb7f65945e778641e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_5b9dfd4e639932e7b35349433d04414d = L.marker(\n",
" [52.72125, 8.27891],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_e40806e204419b3a32904b1fd1c9acc2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_5b9dfd4e639932e7b35349433d04414d.setIcon(icon_e40806e204419b3a32904b1fd1c9acc2);\n",
" \n",
" \n",
" var popup_64f9957f57e1c5120ffd7ead3cfecb34 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_c498027afc07986026f6116baedee43b = $(`&lt;div id=&quot;html_c498027afc07986026f6116baedee43b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.phwt.de/wp-content/uploads/2020/09/phwt-logo-free.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Rombergstraße 40&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49377 Vechta&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_64f9957f57e1c5120ffd7ead3cfecb34.setContent(html_c498027afc07986026f6116baedee43b);\n",
" \n",
" \n",
"\n",
" marker_5b9dfd4e639932e7b35349433d04414d.bindPopup(popup_64f9957f57e1c5120ffd7ead3cfecb34)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_5b9dfd4e639932e7b35349433d04414d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_faf302025dd75506bf90992a69475a4e = L.marker(\n",
" [52.61171, 8.36334],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_78293bdddb936abe6b0f2da3019978b9 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_faf302025dd75506bf90992a69475a4e.setIcon(icon_78293bdddb936abe6b0f2da3019978b9);\n",
" \n",
" \n",
" var popup_c3de3dc8416f6d2b1572a59563626d2c = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_88b13c2d3fc37a8ef26096807066e539 = $(`&lt;div id=&quot;html_88b13c2d3fc37a8ef26096807066e539&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.phwt.de/wp-content/uploads/2020/09/phwt-logo-free.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Schlesier Str. 13A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49356 Diepholz&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_c3de3dc8416f6d2b1572a59563626d2c.setContent(html_88b13c2d3fc37a8ef26096807066e539);\n",
" \n",
" \n",
"\n",
" marker_faf302025dd75506bf90992a69475a4e.bindPopup(popup_c3de3dc8416f6d2b1572a59563626d2c)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_faf302025dd75506bf90992a69475a4e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_c60fb5044537be9a044b9b4b3b3f7f99 = L.marker(\n",
" [52.72117, 8.2938],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_23e8efdb4c34d4a5a965632898abb34c = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.setIcon(icon_23e8efdb4c34d4a5a965632898abb34c);\n",
" \n",
" \n",
" var popup_f969af7c9378331d8b4df1dd88f49f1b = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9c3ab8926f62a8d4d8322bc471af21c0 = $(`&lt;div id=&quot;html_9c3ab8926f62a8d4d8322bc471af21c0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/08/Logo_Uni_Vechta-neu.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Driverstraße 22&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49377 Vechta&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_f969af7c9378331d8b4df1dd88f49f1b.setContent(html_9c3ab8926f62a8d4d8322bc471af21c0);\n",
" \n",
" \n",
"\n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.bindPopup(popup_f969af7c9378331d8b4df1dd88f49f1b)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8fc080365a007577a0dcf85d3ee8f100 = L.marker(\n",
" [52.09875, 9.35542],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_5f1b1a0081c06632f938ebb63e0923d2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8fc080365a007577a0dcf85d3ee8f100.setIcon(icon_5f1b1a0081c06632f938ebb63e0923d2);\n",
" \n",
" \n",
" var popup_1e8f74c0263aa22ac8369e0b7c92ecf1 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_fdb2f812611848447a9a6ec825bb46e5 = $(`&lt;div id=&quot;html_fdb2f812611848447a9a6ec825bb46e5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Hochschule_Weserbergland_logo.svg/1200px-Hochschule_Weserbergland_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Am Stockhof 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31785 Hameln&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_1e8f74c0263aa22ac8369e0b7c92ecf1.setContent(html_fdb2f812611848447a9a6ec825bb46e5);\n",
" \n",
" \n",
"\n",
" marker_8fc080365a007577a0dcf85d3ee8f100.bindPopup(popup_1e8f74c0263aa22ac8369e0b7c92ecf1)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8fc080365a007577a0dcf85d3ee8f100.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_e8d5ca2d31d141e61668c21082bf1e7c = L.marker(\n",
" [53.54787, 8.08804],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_36c57030a7a7fdb4092c6a184f1129fb = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.setIcon(icon_36c57030a7a7fdb4092c6a184f1129fb);\n",
" \n",
" \n",
" var popup_d2d39c001d5fa41a1f0dfd53f9838ea3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b3a5f99a6e251a8ab410cab051238859 = $(`&lt;div id=&quot;html_b3a5f99a6e251a8ab410cab051238859&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Friedrich-Paffrath-Straße 101&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26389 Wilhelmshaven&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d2d39c001d5fa41a1f0dfd53f9838ea3.setContent(html_b3a5f99a6e251a8ab410cab051238859);\n",
" \n",
" \n",
"\n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.bindPopup(popup_d2d39c001d5fa41a1f0dfd53f9838ea3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_f1b1ea7d90150f121d75c3514c1667f5 = L.marker(\n",
" [53.14179, 8.20213],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_9702f6e745d12e01f72628f1907a2b56 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.setIcon(icon_9702f6e745d12e01f72628f1907a2b56);\n",
" \n",
" \n",
" var popup_15c9613e4c5d060e5575da0b015643b8 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_34a918837eb14110296f903653cb4792 = $(`&lt;div id=&quot;html_34a918837eb14110296f903653cb4792&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ofener Str. 16/19&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26121 Oldenburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_15c9613e4c5d060e5575da0b015643b8.setContent(html_34a918837eb14110296f903653cb4792);\n",
" \n",
" \n",
"\n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.bindPopup(popup_15c9613e4c5d060e5575da0b015643b8)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3790447b57640fc7c74f94ccb0206bec = L.marker(\n",
" [53.24244, 8.46651],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_623ba5b4591c68d48b94f13f02fcb14d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3790447b57640fc7c74f94ccb0206bec.setIcon(icon_623ba5b4591c68d48b94f13f02fcb14d);\n",
" \n",
" \n",
" var popup_0f0f893e9b506e5022903afe3c444a81 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e898940627576081403202fe3fe86b5e = $(`&lt;div id=&quot;html_e898940627576081403202fe3fe86b5e&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Weserstraße 52&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26931 Elsfleth&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_0f0f893e9b506e5022903afe3c444a81.setContent(html_e898940627576081403202fe3fe86b5e);\n",
" \n",
" \n",
"\n",
" marker_3790447b57640fc7c74f94ccb0206bec.bindPopup(popup_0f0f893e9b506e5022903afe3c444a81)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3790447b57640fc7c74f94ccb0206bec.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_1339619ceb25e27a83935aed7ce5dc18 = L.marker(\n",
" [52.20696, 9.09112],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7f7141ff21e8fb69f9515346d7b23f4d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_1339619ceb25e27a83935aed7ce5dc18.setIcon(icon_7f7141ff21e8fb69f9515346d7b23f4d);\n",
" \n",
" \n",
" var popup_635f63cb7852f58eafdf5f6f7cea1042 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e9fcb518ee93d2aee49f50e380e4b9f9 = $(`&lt;div id=&quot;html_e9fcb518ee93d2aee49f50e380e4b9f9&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.steuerakademie.niedersachsen.de/assets/image/232/85611&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wilhelm-Busch-Weg 29&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31737 Rinteln&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_635f63cb7852f58eafdf5f6f7cea1042.setContent(html_e9fcb518ee93d2aee49f50e380e4b9f9);\n",
" \n",
" \n",
"\n",
" marker_1339619ceb25e27a83935aed7ce5dc18.bindPopup(popup_635f63cb7852f58eafdf5f6f7cea1042)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_1339619ceb25e27a83935aed7ce5dc18.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_cca4181c64dd65e14ed5cc494f057c94 = L.marker(\n",
" [52.23981, 9.10423],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7fe21d2677ab5e140a9d48352ab49342 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_cca4181c64dd65e14ed5cc494f057c94.setIcon(icon_7fe21d2677ab5e140a9d48352ab49342);\n",
" \n",
" \n",
" var popup_7d9d5eafd2f8c759bcd0eefcad2747d0 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_efcb08f08287884547c497633df3b5a0 = $(`&lt;div id=&quot;html_efcb08f08287884547c497633df3b5a0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.steuerakademie.niedersachsen.de/assets/image/232/85611&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bahnhofstraße 5&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31707 Bad Eilsen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_7d9d5eafd2f8c759bcd0eefcad2747d0.setContent(html_efcb08f08287884547c497633df3b5a0);\n",
" \n",
" \n",
"\n",
" marker_cca4181c64dd65e14ed5cc494f057c94.bindPopup(popup_7d9d5eafd2f8c759bcd0eefcad2747d0)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_cca4181c64dd65e14ed5cc494f057c94.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c9f230>"
]
},
"execution_count": 27,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"### BEGIN SOLUTION\n",
"for index, row in df.iterrows():\n",
" pp = popup_factory(\n",
" adr=row['Address'],\n",
" zipc=row['plz'],\n",
" country='Germany, DE',\n",
" pic=row['pic'],\n",
" )\n",
" location = (float(row['lat']), float(row['lon']))\n",
" \n",
" is_public = False\n",
" if row['Sponsorship'] == 'public':\n",
" is_public = True\n",
" \n",
" marker = marker_factory(location, pp, is_public) \n",
" marker.add_to(lower_saxony)\n",
" \n",
"lower_saxony\n",
"### END SOLUTION"
]
},
{
"cell_type": "code",
"execution_count": 28,
"id": "ab37a764-3718-4327-976c-146e5531a048",
"metadata": {
"nbgrader": {
"grade": false,
"grade_id": "cell-49864685eac331d1",
"locked": true,
"schema_version": 3,
"solution": false,
"task": false
}
},
"outputs": [
{
"data": {
"text/html": [
"<div style=\"width:100%;\"><div style=\"position:relative;width:100%;height:0;padding-bottom:60%;\"><span style=\"color:#565656\">Make this Notebook Trusted to load map: File -> Trust Notebook</span><iframe srcdoc=\"&lt;!DOCTYPE html&gt;\n",
"&lt;html&gt;\n",
"&lt;head&gt;\n",
" \n",
" &lt;meta http-equiv=&quot;content-type&quot; content=&quot;text/html; charset=UTF-8&quot; /&gt;\n",
" \n",
" &lt;script&gt;\n",
" L_NO_TOUCH = false;\n",
" L_DISABLE_3D = false;\n",
" &lt;/script&gt;\n",
" \n",
" &lt;style&gt;html, body {width: 100%;height: 100%;margin: 0;padding: 0;}&lt;/style&gt;\n",
" &lt;style&gt;#map {position:absolute;top:0;bottom:0;right:0;left:0;}&lt;/style&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://code.jquery.com/jquery-3.7.1.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js&quot;&gt;&lt;/script&gt;\n",
" &lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.js&quot;&gt;&lt;/script&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/leaflet@1.9.3/dist/leaflet.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap-glyphicons.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.2.0/css/all.min.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css&quot;/&gt;\n",
" &lt;link rel=&quot;stylesheet&quot; href=&quot;https://cdn.jsdelivr.net/gh/python-visualization/folium/folium/templates/leaflet.awesome.rotate.min.css&quot;/&gt;\n",
" \n",
" &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width,\n",
" initial-scale=1.0, maximum-scale=1.0, user-scalable=no&quot; /&gt;\n",
" &lt;style&gt;\n",
" #map_f2217b91f6c745de9a20cb125f2a0232 {\n",
" position: relative;\n",
" width: 100.0%;\n",
" height: 100.0%;\n",
" left: 0.0%;\n",
" top: 0.0%;\n",
" }\n",
" .leaflet-container { font-size: 1rem; }\n",
" &lt;/style&gt;\n",
" \n",
"&lt;/head&gt;\n",
"&lt;body&gt;\n",
" \n",
" \n",
" &lt;div class=&quot;folium-map&quot; id=&quot;map_f2217b91f6c745de9a20cb125f2a0232&quot; &gt;&lt;/div&gt;\n",
" \n",
"&lt;/body&gt;\n",
"&lt;script&gt;\n",
" \n",
" \n",
" var map_f2217b91f6c745de9a20cb125f2a0232 = L.map(\n",
" &quot;map_f2217b91f6c745de9a20cb125f2a0232&quot;,\n",
" {\n",
" center: [52.80639, 9.13511],\n",
" crs: L.CRS.EPSG3857,\n",
" zoom: 7,\n",
" zoomControl: true,\n",
" preferCanvas: false,\n",
" }\n",
" );\n",
"\n",
" \n",
"\n",
" \n",
" \n",
" var tile_layer_c568145958d4a043f916fcfdc24daf2c = L.tileLayer(\n",
" &quot;https://tile.openstreetmap.org/{z}/{x}/{y}.png&quot;,\n",
" {&quot;attribution&quot;: &quot;\\u0026copy; \\u003ca href=\\&quot;https://www.openstreetmap.org/copyright\\&quot;\\u003eOpenStreetMap\\u003c/a\\u003e contributors&quot;, &quot;detectRetina&quot;: false, &quot;maxNativeZoom&quot;: 19, &quot;maxZoom&quot;: 19, &quot;minZoom&quot;: 0, &quot;noWrap&quot;: false, &quot;opacity&quot;: 1, &quot;subdomains&quot;: &quot;abc&quot;, &quot;tms&quot;: false}\n",
" );\n",
" \n",
" \n",
" tile_layer_c568145958d4a043f916fcfdc24daf2c.addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var marker_f6f5f04bb9a24b1b10659d40d11af895 = L.marker(\n",
" [52.2577384, 10.5023145],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_38497f51929aecbf8259adbbc5265d19 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.setIcon(icon_38497f51929aecbf8259adbbc5265d19);\n",
" \n",
" \n",
" var popup_fe5bfb0eb96f63e2c7967805740848a3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_cd79225e836f9077ae4b734e9619683e = $(`&lt;div id=&quot;html_cd79225e836f9077ae4b734e9619683e&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.hbk-bs.de/fileadmin/_processed_/5/1/csm_HBK_Logo_9f3f898a2b.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Johannes-Selenka-Platz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38118 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fe5bfb0eb96f63e2c7967805740848a3.setContent(html_cd79225e836f9077ae4b734e9619683e);\n",
" \n",
" \n",
"\n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.bindPopup(popup_fe5bfb0eb96f63e2c7967805740848a3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f6f5f04bb9a24b1b10659d40d11af895.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_9db590e2322f2b6c2c844aeab0bde89c = L.marker(\n",
" [52.27355, 10.530097],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_87839ce700b2ddb85f64939a06c0faa6 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.setIcon(icon_87839ce700b2ddb85f64939a06c0faa6);\n",
" \n",
" \n",
" var popup_e3ec5a992a09c180e8b9ea04d4500422 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_75614cc6911cf2b3591b0b251d81e5bf = $(`&lt;div id=&quot;html_75614cc6911cf2b3591b0b251d81e5bf&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/9d/Siegel_TU_Braunschweig_transparent.svg/1200px-Siegel_TU_Braunschweig_transparent.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätspl. 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38106 Braunschweig&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_e3ec5a992a09c180e8b9ea04d4500422.setContent(html_75614cc6911cf2b3591b0b251d81e5bf);\n",
" \n",
" \n",
"\n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.bindPopup(popup_e3ec5a992a09c180e8b9ea04d4500422)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_9db590e2322f2b6c2c844aeab0bde89c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_80aec8135ff04072da95b6186ddeb54f = L.marker(\n",
" [53.47765, 9.70465],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_e3c9c9ae4dcab1659dfd95bdf3abe89e = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_80aec8135ff04072da95b6186ddeb54f.setIcon(icon_e3c9c9ae4dcab1659dfd95bdf3abe89e);\n",
" \n",
" \n",
" var popup_ca6b9140fa78a0687a58beddfb526636 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_da14e98fe8b58d62ec39487f095790bc = $(`&lt;div id=&quot;html_da14e98fe8b58d62ec39487f095790bc&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/b/bd/Hochschule_21_logo.svg/2560px-Hochschule_21_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Harburger Str. 6&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;21614 Buxtehude&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_ca6b9140fa78a0687a58beddfb526636.setContent(html_da14e98fe8b58d62ec39487f095790bc);\n",
" \n",
" \n",
"\n",
" marker_80aec8135ff04072da95b6186ddeb54f.bindPopup(popup_ca6b9140fa78a0687a58beddfb526636)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_80aec8135ff04072da95b6186ddeb54f.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_a7b6adde4834cc54f285db7469ff7ad1 = L.marker(\n",
" [51.80484, 10.33411],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_a549ff5e22c8dc9b6d4e3d03c4b39d36 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.setIcon(icon_a549ff5e22c8dc9b6d4e3d03c4b39d36);\n",
" \n",
" \n",
" var popup_611c1bd84e5bfa53084b578beea0d8c3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_01ba834b5fbbdcab321badeb9b2e6d37 = $(`&lt;div id=&quot;html_01ba834b5fbbdcab321badeb9b2e6d37&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.presse.tu-clausthal.de/fileadmin/TU_Clausthal/images/CorporateDesign/Logo/Logo_TUC_en_RGB_gross.gif&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Adolph-Roemer-Straße 2A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38678 Clausthal-Zellerfeld&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_611c1bd84e5bfa53084b578beea0d8c3.setContent(html_01ba834b5fbbdcab321badeb9b2e6d37);\n",
" \n",
" \n",
"\n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.bindPopup(popup_611c1bd84e5bfa53084b578beea0d8c3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_a7b6adde4834cc54f285db7469ff7ad1.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_697e2ac5b070ae2b62aa40bac6259fef = L.marker(\n",
" [53.36816, 7.18141],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7d958ebbf20b19fbb5d62471e346abf8 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.setIcon(icon_7d958ebbf20b19fbb5d62471e346abf8);\n",
" \n",
" \n",
" var popup_453558bd75114cf0b587c9895073728c = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9013f288dd6bb558e68ef0cb2df618dd = $(`&lt;div id=&quot;html_9013f288dd6bb558e68ef0cb2df618dd&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://sta-hisweb.hs-emden-leer.de/QIS/images//logo_el.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Constantiapl. 4&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26723 Emden&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_453558bd75114cf0b587c9895073728c.setContent(html_9013f288dd6bb558e68ef0cb2df618dd);\n",
" \n",
" \n",
"\n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.bindPopup(popup_453558bd75114cf0b587c9895073728c)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_697e2ac5b070ae2b62aa40bac6259fef.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_36a0d8e49e6efd83ca1d00fb6d0ef03d = L.marker(\n",
" [51.53891, 9.93322],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_09c267590a41f5cff23b0605f613aae5 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.setIcon(icon_09c267590a41f5cff23b0605f613aae5);\n",
" \n",
" \n",
" var popup_d2eb1f3411e52821fdc9f3aa88b70389 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_dae9aa29a868185cf29135921f18340a = $(`&lt;div id=&quot;html_dae9aa29a868185cf29135921f18340a&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://goettingen-campus.de/fileadmin/_processed_/d/7/csm_logopfh_20f8eee765.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Weender Landstraße 3-7&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37073 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d2eb1f3411e52821fdc9f3aa88b70389.setContent(html_dae9aa29a868185cf29135921f18340a);\n",
" \n",
" \n",
"\n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.bindPopup(popup_d2eb1f3411e52821fdc9f3aa88b70389)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_36a0d8e49e6efd83ca1d00fb6d0ef03d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_326c870a4335206135cdc646b8dd85e0 = L.marker(\n",
" [51.53407, 9.93785],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_a47515a9678d699501f81fec96a96b43 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_326c870a4335206135cdc646b8dd85e0.setIcon(icon_a47515a9678d699501f81fec96a96b43);\n",
" \n",
" \n",
" var popup_6314f1555505ecbcd88e72a39ad4595e = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_fe37bd9de3760b5506f68b1f95c69340 = $(`&lt;div id=&quot;html_fe37bd9de3760b5506f68b1f95c69340&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/c/c0/Logo_Uni_G%C3%B6ttingen_2022.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wilhelmsplatz 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37073 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_6314f1555505ecbcd88e72a39ad4595e.setContent(html_fe37bd9de3760b5506f68b1f95c69340);\n",
" \n",
" \n",
"\n",
" marker_326c870a4335206135cdc646b8dd85e0.bindPopup(popup_6314f1555505ecbcd88e72a39ad4595e)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_326c870a4335206135cdc646b8dd85e0.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_b7384f482d7e704dc0450b2f7bcbc2f5 = L.marker(\n",
" [52.3662, 9.77247],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_8868677a5e99d812577b2e02b1d203dd = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.setIcon(icon_8868677a5e99d812577b2e02b1d203dd);\n",
" \n",
" \n",
" var popup_a47cb15f6be017719303dd11d270ebb1 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_3e860fa2cb321ff94727a43a3d864694 = $(`&lt;div id=&quot;html_3e860fa2cb321ff94727a43a3d864694&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/5/5c/Fachhochschule_f%C3%BCr_die_Wirtschaft_logo.svg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Freundallee 15&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30173 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_a47cb15f6be017719303dd11d270ebb1.setContent(html_3e860fa2cb321ff94727a43a3d864694);\n",
" \n",
" \n",
"\n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.bindPopup(popup_a47cb15f6be017719303dd11d270ebb1)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_b7384f482d7e704dc0450b2f7bcbc2f5.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_481cd360a1308c219fbff9a3f1afb43a = L.marker(\n",
" [52.35419, 9.72238],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_d795df6a158cfabdb15236d6b5331346 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_481cd360a1308c219fbff9a3f1afb43a.setIcon(icon_d795df6a158cfabdb15236d6b5331346);\n",
" \n",
" \n",
" var popup_93355d756e2699dec14e4cdda484f0fe = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5efaffb7cf25f1bb7cf56832caba5956 = $(`&lt;div id=&quot;html_5efaffb7cf25f1bb7cf56832caba5956&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/0/0e/HsH_Logo.svg/1200px-HsH_Logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ricklinger Stadtweg 120&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30459 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_93355d756e2699dec14e4cdda484f0fe.setContent(html_5efaffb7cf25f1bb7cf56832caba5956);\n",
" \n",
" \n",
"\n",
" marker_481cd360a1308c219fbff9a3f1afb43a.bindPopup(popup_93355d756e2699dec14e4cdda484f0fe)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_481cd360a1308c219fbff9a3f1afb43a.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_d3a0f5bd40af0c5509dbd0356c6deb53 = L.marker(\n",
" [52.37738, 9.75392],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_8cebe23de7b34b5e7e47871f0101d4fa = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.setIcon(icon_8cebe23de7b34b5e7e47871f0101d4fa);\n",
" \n",
" \n",
" var popup_007707fdb4f92fa95b13dab853221f81 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5bd79562669c54c0c5b369fe13b42397 = $(`&lt;div id=&quot;html_5bd79562669c54c0c5b369fe13b42397&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/7/78/HMTM-Logo-2010.svg/1200px-HMTM-Logo-2010.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Neues Haus 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30175 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_007707fdb4f92fa95b13dab853221f81.setContent(html_5bd79562669c54c0c5b369fe13b42397);\n",
" \n",
" \n",
"\n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.bindPopup(popup_007707fdb4f92fa95b13dab853221f81)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_d3a0f5bd40af0c5509dbd0356c6deb53.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_445ab4cbd5f00d614c4492e5c39da935 = L.marker(\n",
" [52.32115, 9.81868],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_f2f8605275ecb577608c06e46a862377 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_445ab4cbd5f00d614c4492e5c39da935.setIcon(icon_f2f8605275ecb577608c06e46a862377);\n",
" \n",
" \n",
" var popup_6248a2516f2018c17f64260260b02a41 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0f6ae17cf599cb02c3bad30e92d9bddb = $(`&lt;div id=&quot;html_0f6ae17cf599cb02c3bad30e92d9bddb&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.visit-hannover.com/var/storage/images/_aliases/image_full/media/01-data-neu/bilder/redaktion-hannover.de/portale/initiative-wissenschaft/leibniz-fh/leibniz-fachhochschule-logo/8135360-1-ger-DE/Leibniz-Fachhochschule-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Expo Plaza 11&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30539 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_6248a2516f2018c17f64260260b02a41.setContent(html_0f6ae17cf599cb02c3bad30e92d9bddb);\n",
" \n",
" \n",
"\n",
" marker_445ab4cbd5f00d614c4492e5c39da935.bindPopup(popup_6248a2516f2018c17f64260260b02a41)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_445ab4cbd5f00d614c4492e5c39da935.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3216d76eb4e401d40108019125ca46f8 = L.marker(\n",
" [52.38405, 9.80603],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_3d334ea5fc733308a2c1527afa6fa0f2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3216d76eb4e401d40108019125ca46f8.setIcon(icon_3d334ea5fc733308a2c1527afa6fa0f2);\n",
" \n",
" \n",
" var popup_9a41b3d8b4de0276f6ac10aaf28a5753 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_adfb18fc1a5921eabf75533f6cfdeef5 = $(`&lt;div id=&quot;html_adfb18fc1a5921eabf75533f6cfdeef5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/3/3d/Medizinische_Hochschule_Hannover_logo.svg/2560px-Medizinische_Hochschule_Hannover_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Carl-Neuberg-Straße 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30625 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_9a41b3d8b4de0276f6ac10aaf28a5753.setContent(html_adfb18fc1a5921eabf75533f6cfdeef5);\n",
" \n",
" \n",
"\n",
" marker_3216d76eb4e401d40108019125ca46f8.bindPopup(popup_9a41b3d8b4de0276f6ac10aaf28a5753)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3216d76eb4e401d40108019125ca46f8.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_6303b3ad6369cce84f3c44f4516cd654 = L.marker(\n",
" [52.35468, 9.79773],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7211e70749780ee90a16e7570739ce99 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_6303b3ad6369cce84f3c44f4516cd654.setIcon(icon_7211e70749780ee90a16e7570739ce99);\n",
" \n",
" \n",
" var popup_fc24df7dd404add2690734332f28f149 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_037c7808a74cd443c38229ca8a2875c5 = $(`&lt;div id=&quot;html_037c7808a74cd443c38229ca8a2875c5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/de/thumb/5/59/Tier%C3%A4rztliche_Hochschule_Hannover_logo.svg/1200px-Tier%C3%A4rztliche_Hochschule_Hannover_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bünteweg 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30559 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fc24df7dd404add2690734332f28f149.setContent(html_037c7808a74cd443c38229ca8a2875c5);\n",
" \n",
" \n",
"\n",
" marker_6303b3ad6369cce84f3c44f4516cd654.bindPopup(popup_fc24df7dd404add2690734332f28f149)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_6303b3ad6369cce84f3c44f4516cd654.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8027560af52ec66ee2d1579f5e03836d = L.marker(\n",
" [52.38225, 9.71777],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_c06b973daf9713b014723e5a80563d3f = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8027560af52ec66ee2d1579f5e03836d.setIcon(icon_c06b973daf9713b014723e5a80563d3f);\n",
" \n",
" \n",
" var popup_fa23b3e454526f96c0f857ba8dcc5228 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_630dde6fcd7c9e7b265595d38794957b = $(`&lt;div id=&quot;html_630dde6fcd7c9e7b265595d38794957b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.uni-hannover.de/fileadmin/_processed_/1/5/csm_luh-logo-3x2_8dea6c08fc.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Welfengarten 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30167 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fa23b3e454526f96c0f857ba8dcc5228.setContent(html_630dde6fcd7c9e7b265595d38794957b);\n",
" \n",
" \n",
"\n",
" marker_8027560af52ec66ee2d1579f5e03836d.bindPopup(popup_fa23b3e454526f96c0f857ba8dcc5228)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8027560af52ec66ee2d1579f5e03836d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8bfc7ec40650d4a4d3059cf91017f680 = L.marker(\n",
" [52.708843, 10.14071],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_d31e125da54aa0f73ac66b72b94f58c5 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.setIcon(icon_d31e125da54aa0f73ac66b72b94f58c5);\n",
" \n",
" \n",
" var popup_98fb4b0ee3ee8822e980be531cb59090 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_22975fbb385d42a82a1c874250e223c5 = $(`&lt;div id=&quot;html_22975fbb385d42a82a1c874250e223c5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://cdn.max-e5.info/damfiles/logo/fh_hermannsburg/fh_hermannsburg/Kopfgrafik/Logo-FIT--weiss.jpg-b5f510cb468ab8840e0f2e62b703208e.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Missionsstraße 3-5&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;29320 Südheide&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_98fb4b0ee3ee8822e980be531cb59090.setContent(html_22975fbb385d42a82a1c874250e223c5);\n",
" \n",
" \n",
"\n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.bindPopup(popup_98fb4b0ee3ee8822e980be531cb59090)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8bfc7ec40650d4a4d3059cf91017f680.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_680718fe8a34fb049358c79b5ddcb0ca = L.marker(\n",
" [52.13401, 9.97469],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_30b8a5837d765e7fad4bf41ed17c2c31 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.setIcon(icon_30b8a5837d765e7fad4bf41ed17c2c31);\n",
" \n",
" \n",
" var popup_2dc8e88cce00be1a7a452d35d078d2f4 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_7d4ae04c337de40c2f5b6069c3b22fbe = $(`&lt;div id=&quot;html_7d4ae04c337de40c2f5b6069c3b22fbe&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.uni-hildesheim.de/media/_processed_/d/8/csm_Bildkombo_Logo_Uni_Hildesheim-1850_8fd99cc21e.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätspl. 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31141 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_2dc8e88cce00be1a7a452d35d078d2f4.setContent(html_7d4ae04c337de40c2f5b6069c3b22fbe);\n",
" \n",
" \n",
"\n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.bindPopup(popup_2dc8e88cce00be1a7a452d35d078d2f4)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_680718fe8a34fb049358c79b5ddcb0ca.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_19875001ed69197d63af732670a00a3e = L.marker(\n",
" [52.14246, 9.95798],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ebdd92edc37d96a1c8586654bf90f870 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_19875001ed69197d63af732670a00a3e.setIcon(icon_ebdd92edc37d96a1c8586654bf90f870);\n",
" \n",
" \n",
" var popup_079a6e1fd62d026edb0f77889644d41f = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_168a2ba37c8e817c5e3d9486717a93cb = $(`&lt;div id=&quot;html_168a2ba37c8e817c5e3d9486717a93cb&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Hohnsen 4&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31134 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_079a6e1fd62d026edb0f77889644d41f.setContent(html_168a2ba37c8e817c5e3d9486717a93cb);\n",
" \n",
" \n",
"\n",
" marker_19875001ed69197d63af732670a00a3e.bindPopup(popup_079a6e1fd62d026edb0f77889644d41f)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_19875001ed69197d63af732670a00a3e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_dd8618ddf51145ceba79a111d4e51be9 = L.marker(\n",
" [51.82726, 9.45069],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_3b05b68902c072d3df50226dbe65d8f7 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_dd8618ddf51145ceba79a111d4e51be9.setIcon(icon_3b05b68902c072d3df50226dbe65d8f7);\n",
" \n",
" \n",
" var popup_33935e54850151922272c959a03cbc2e = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9dca2f7418cf40ccf533ba3dc0c36116 = $(`&lt;div id=&quot;html_9dca2f7418cf40ccf533ba3dc0c36116&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Haarmannpl. 3&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37603 Holzminden&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_33935e54850151922272c959a03cbc2e.setContent(html_9dca2f7418cf40ccf533ba3dc0c36116);\n",
" \n",
" \n",
"\n",
" marker_dd8618ddf51145ceba79a111d4e51be9.bindPopup(popup_33935e54850151922272c959a03cbc2e)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_dd8618ddf51145ceba79a111d4e51be9.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_792241b704ee1f30607417b0b17eb5e6 = L.marker(\n",
" [51.52175, 9.96967],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_586106e8342926ecb3a508381bf0ac16 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_792241b704ee1f30607417b0b17eb5e6.setIcon(icon_586106e8342926ecb3a508381bf0ac16);\n",
" \n",
" \n",
" var popup_14aff97d879ec899390b9acb4db2cfd7 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_91f964478c604a173e8ba991dbb40cb0 = $(`&lt;div id=&quot;html_91f964478c604a173e8ba991dbb40cb0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/02/HAWK-Logo.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Von-Ossietzky-Straße 99&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;37085 Göttingen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_14aff97d879ec899390b9acb4db2cfd7.setContent(html_91f964478c604a173e8ba991dbb40cb0);\n",
" \n",
" \n",
"\n",
" marker_792241b704ee1f30607417b0b17eb5e6.bindPopup(popup_14aff97d879ec899390b9acb4db2cfd7)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_792241b704ee1f30607417b0b17eb5e6.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_72f6a3b8af927550bd210e3123781a45 = L.marker(\n",
" [53.228531, 10.40171],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_9bd7575c4b3adf2fbacefdab0097c7de = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_72f6a3b8af927550bd210e3123781a45.setIcon(icon_9bd7575c4b3adf2fbacefdab0097c7de);\n",
" \n",
" \n",
" var popup_fea5fd2e13c56e6d17b3b76f2a160bb0 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_5b29c917b35baccb9691535fbd8c424b = $(`&lt;div id=&quot;html_5b29c917b35baccb9691535fbd8c424b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/9/93/Leuphana_Universit%C3%A4t_L%C3%BCneburg_Logo_2020.svg/2560px-Leuphana_Universit%C3%A4t_L%C3%BCneburg_Logo_2020.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Universitätsallee 1&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;21335 Lüneburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_fea5fd2e13c56e6d17b3b76f2a160bb0.setContent(html_5b29c917b35baccb9691535fbd8c424b);\n",
" \n",
" \n",
"\n",
" marker_72f6a3b8af927550bd210e3123781a45.bindPopup(popup_fea5fd2e13c56e6d17b3b76f2a160bb0)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_72f6a3b8af927550bd210e3123781a45.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_debd60c23bdaf4c2b4e835c589a471d3 = L.marker(\n",
" [52.14484, 9.94923],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ced456e7c4b35f4e5ef6525b040a85f9 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.setIcon(icon_ced456e7c4b35f4e5ef6525b040a85f9);\n",
" \n",
" \n",
" var popup_95815bb7eedb0708cefb22f6e382110b = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0733c05c68f1f51ef05c40de6a866171 = $(`&lt;div id=&quot;html_0733c05c68f1f51ef05c40de6a866171&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://static.studycheck.de/media/images/institute_logos/small/hr-nord.jpg&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Godehardspl. 6&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31134 Hildesheim&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_95815bb7eedb0708cefb22f6e382110b.setContent(html_0733c05c68f1f51ef05c40de6a866171);\n",
" \n",
" \n",
"\n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.bindPopup(popup_95815bb7eedb0708cefb22f6e382110b)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_debd60c23bdaf4c2b4e835c589a471d3.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3bfa24c92488d4080c69c6b850393101 = L.marker(\n",
" [52.3705, 9.72239],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_1181defc6a7cb36ac1be7b0bcddedfb3 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3bfa24c92488d4080c69c6b850393101.setIcon(icon_1181defc6a7cb36ac1be7b0bcddedfb3);\n",
" \n",
" \n",
" var popup_e0c156f866bc6c3e3b1ec35651d7fab3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_eda375e09be01abb67054c35b5d4dea3 = $(`&lt;div id=&quot;html_eda375e09be01abb67054c35b5d4dea3&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.nsi-hsvn.de/fileadmin/user_upload/02_Studium/big-hsvn_logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wielandstraße 8&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;30169 Hannover&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_e0c156f866bc6c3e3b1ec35651d7fab3.setContent(html_eda375e09be01abb67054c35b5d4dea3);\n",
" \n",
" \n",
"\n",
" marker_3bfa24c92488d4080c69c6b850393101.bindPopup(popup_e0c156f866bc6c3e3b1ec35651d7fab3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3bfa24c92488d4080c69c6b850393101.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_50e634f09095ee80a284a7f31bbcac99 = L.marker(\n",
" [53.14734, 8.17902],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_1f681770f7a294ed9cd93b5e85238e4c = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_50e634f09095ee80a284a7f31bbcac99.setIcon(icon_1f681770f7a294ed9cd93b5e85238e4c);\n",
" \n",
" \n",
" var popup_d0ee106330694b3782ea59dd8bc077c5 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_4cb154691b2b6998e1dcf181a6267502 = $(`&lt;div id=&quot;html_4cb154691b2b6998e1dcf181a6267502&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/Carl_von_Ossietzky_Universit%C3%A4t_Oldenburg_logo.svg/1200px-Carl_von_Ossietzky_Universit%C3%A4t_Oldenburg_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Uhlhornsweg 49-55&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26129 Oldenburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d0ee106330694b3782ea59dd8bc077c5.setContent(html_4cb154691b2b6998e1dcf181a6267502);\n",
" \n",
" \n",
"\n",
" marker_50e634f09095ee80a284a7f31bbcac99.bindPopup(popup_d0ee106330694b3782ea59dd8bc077c5)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_50e634f09095ee80a284a7f31bbcac99.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_2954498811c96b7fc25224daeb15f0cc = L.marker(\n",
" [52.28268, 8.02501],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_60268d8f24e500758190a2bac846d57f = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_2954498811c96b7fc25224daeb15f0cc.setIcon(icon_60268d8f24e500758190a2bac846d57f);\n",
" \n",
" \n",
" var popup_847936066bf88b10ec472b797b26a7cc = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_a6caa70ee20e4ef77e8c69dbecf3300f = $(`&lt;div id=&quot;html_a6caa70ee20e4ef77e8c69dbecf3300f&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://login.hs-osnabrueck.de/nidp/hsos/images/hsos-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Albrechtstraße 30&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49076 Osnabrück&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_847936066bf88b10ec472b797b26a7cc.setContent(html_a6caa70ee20e4ef77e8c69dbecf3300f);\n",
" \n",
" \n",
"\n",
" marker_2954498811c96b7fc25224daeb15f0cc.bindPopup(popup_847936066bf88b10ec472b797b26a7cc)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_2954498811c96b7fc25224daeb15f0cc.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_819632fd8f9d25558d0cd2e5b5c1e11a = L.marker(\n",
" [52.27137, 8.04454],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_0f5e688fe1ae3bdd8536fa2ffdd92333 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.setIcon(icon_0f5e688fe1ae3bdd8536fa2ffdd92333);\n",
" \n",
" \n",
" var popup_db55dbd402c82e5bc950b06043204006 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b904d5c393bdaa37944892e308817556 = $(`&lt;div id=&quot;html_b904d5c393bdaa37944892e308817556&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.eh-tabor.de/sites/default/files/styles/width980px/public/logo-universitaet-osnabrueck.png?itok=DmZEq9ka&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Neuer Graben 29&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49074 Osnabrück&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_db55dbd402c82e5bc950b06043204006.setContent(html_b904d5c393bdaa37944892e308817556);\n",
" \n",
" \n",
"\n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.bindPopup(popup_db55dbd402c82e5bc950b06043204006)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_819632fd8f9d25558d0cd2e5b5c1e11a.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_0aa26af8a50165c5b798c544a81ea88c = L.marker(\n",
" [52.17683, 10.54865],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7afcd9d8e5ca387b05b81965390855a3 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_0aa26af8a50165c5b798c544a81ea88c.setIcon(icon_7afcd9d8e5ca387b05b81965390855a3);\n",
" \n",
" \n",
" var popup_21973ecf03a4a648ba54b855ae0e6021 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e00610bae66f9d35d9e6055e72b6c9f1 = $(`&lt;div id=&quot;html_e00610bae66f9d35d9e6055e72b6c9f1&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Salzdahlumer Str. 46/48&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38302 Wolfenbüttel&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_21973ecf03a4a648ba54b855ae0e6021.setContent(html_e00610bae66f9d35d9e6055e72b6c9f1);\n",
" \n",
" \n",
"\n",
" marker_0aa26af8a50165c5b798c544a81ea88c.bindPopup(popup_21973ecf03a4a648ba54b855ae0e6021)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_0aa26af8a50165c5b798c544a81ea88c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_f395fc2ef2a7c90a9e3819fb6a181de6 = L.marker(\n",
" [52.42595, 10.78711],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_00957680b287252705d8320d1c79b1d1 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.setIcon(icon_00957680b287252705d8320d1c79b1d1);\n",
" \n",
" \n",
" var popup_d3b02bd6f2aeecf4a50e5cf2b292631a = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_d7e944fa16b6d62f541f895273102abd = $(`&lt;div id=&quot;html_d7e944fa16b6d62f541f895273102abd&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Robert-Koch-Platz 8A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38440 Wolfsburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d3b02bd6f2aeecf4a50e5cf2b292631a.setContent(html_d7e944fa16b6d62f541f895273102abd);\n",
" \n",
" \n",
"\n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.bindPopup(popup_d3b02bd6f2aeecf4a50e5cf2b292631a)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f395fc2ef2a7c90a9e3819fb6a181de6.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_b34101e33f97d387460c0ee502d90ccf = L.marker(\n",
" [52.89761, 10.44659],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_ecb40433e14516752f29368b9be2e56d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_b34101e33f97d387460c0ee502d90ccf.setIcon(icon_ecb40433e14516752f29368b9be2e56d);\n",
" \n",
" \n",
" var popup_ecf74a2050acf927b87610bbf88025fb = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_37debf89b024b004525cc14ce6e0f8e6 = $(`&lt;div id=&quot;html_37debf89b024b004525cc14ce6e0f8e6&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Herbert-Meyer-Straße 7&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;29556 Suderburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_ecf74a2050acf927b87610bbf88025fb.setContent(html_37debf89b024b004525cc14ce6e0f8e6);\n",
" \n",
" \n",
"\n",
" marker_b34101e33f97d387460c0ee502d90ccf.bindPopup(popup_ecf74a2050acf927b87610bbf88025fb)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_b34101e33f97d387460c0ee502d90ccf.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_4271a42edba88951969ea3377e010c04 = L.marker(\n",
" [52.08724, 10.38055],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7a74fa43bdd418eb3315181f2d35edb4 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_4271a42edba88951969ea3377e010c04.setIcon(icon_7a74fa43bdd418eb3315181f2d35edb4);\n",
" \n",
" \n",
" var popup_4ec118262112f33c03af5a735fcaad37 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_0c7f75723579958525570032cce8779f = $(`&lt;div id=&quot;html_0c7f75723579958525570032cce8779f&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.ostfalia.de/export/system/modules/de.ostfalia.module.template/resources/images/logo/Ostfalia_German.png_230952558.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Karl-Scharfenberg-Straße 55/57&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;38229 Salzgitter&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_4ec118262112f33c03af5a735fcaad37.setContent(html_0c7f75723579958525570032cce8779f);\n",
" \n",
" \n",
"\n",
" marker_4271a42edba88951969ea3377e010c04.bindPopup(popup_4ec118262112f33c03af5a735fcaad37)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_4271a42edba88951969ea3377e010c04.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_a6d487b1afcaf87cb7f65945e778641e = L.marker(\n",
" [53.10668, 9.1631],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_172316dbc1eb72bffb262f4ee4c3bbae = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_a6d487b1afcaf87cb7f65945e778641e.setIcon(icon_172316dbc1eb72bffb262f4ee4c3bbae);\n",
" \n",
" \n",
" var popup_7b543113d9fcb7c03766640d71be02c6 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_60b959f669d4f967f1d89d924d32ae4d = $(`&lt;div id=&quot;html_60b959f669d4f967f1d89d924d32ae4d&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/e/eb/Logo_HKS_Ottersberg.svg/1200px-Logo_HKS_Ottersberg.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Große Str. 107&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;28870 Ottersberg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_7b543113d9fcb7c03766640d71be02c6.setContent(html_60b959f669d4f967f1d89d924d32ae4d);\n",
" \n",
" \n",
"\n",
" marker_a6d487b1afcaf87cb7f65945e778641e.bindPopup(popup_7b543113d9fcb7c03766640d71be02c6)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_a6d487b1afcaf87cb7f65945e778641e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_5b9dfd4e639932e7b35349433d04414d = L.marker(\n",
" [52.72125, 8.27891],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_e40806e204419b3a32904b1fd1c9acc2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_5b9dfd4e639932e7b35349433d04414d.setIcon(icon_e40806e204419b3a32904b1fd1c9acc2);\n",
" \n",
" \n",
" var popup_64f9957f57e1c5120ffd7ead3cfecb34 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_c498027afc07986026f6116baedee43b = $(`&lt;div id=&quot;html_c498027afc07986026f6116baedee43b&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.phwt.de/wp-content/uploads/2020/09/phwt-logo-free.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Rombergstraße 40&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49377 Vechta&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_64f9957f57e1c5120ffd7ead3cfecb34.setContent(html_c498027afc07986026f6116baedee43b);\n",
" \n",
" \n",
"\n",
" marker_5b9dfd4e639932e7b35349433d04414d.bindPopup(popup_64f9957f57e1c5120ffd7ead3cfecb34)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_5b9dfd4e639932e7b35349433d04414d.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_faf302025dd75506bf90992a69475a4e = L.marker(\n",
" [52.61171, 8.36334],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_78293bdddb936abe6b0f2da3019978b9 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_faf302025dd75506bf90992a69475a4e.setIcon(icon_78293bdddb936abe6b0f2da3019978b9);\n",
" \n",
" \n",
" var popup_c3de3dc8416f6d2b1572a59563626d2c = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_88b13c2d3fc37a8ef26096807066e539 = $(`&lt;div id=&quot;html_88b13c2d3fc37a8ef26096807066e539&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.phwt.de/wp-content/uploads/2020/09/phwt-logo-free.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Schlesier Str. 13A&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49356 Diepholz&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_c3de3dc8416f6d2b1572a59563626d2c.setContent(html_88b13c2d3fc37a8ef26096807066e539);\n",
" \n",
" \n",
"\n",
" marker_faf302025dd75506bf90992a69475a4e.bindPopup(popup_c3de3dc8416f6d2b1572a59563626d2c)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_faf302025dd75506bf90992a69475a4e.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_c60fb5044537be9a044b9b4b3b3f7f99 = L.marker(\n",
" [52.72117, 8.2938],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_23e8efdb4c34d4a5a965632898abb34c = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.setIcon(icon_23e8efdb4c34d4a5a965632898abb34c);\n",
" \n",
" \n",
" var popup_f969af7c9378331d8b4df1dd88f49f1b = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_9c3ab8926f62a8d4d8322bc471af21c0 = $(`&lt;div id=&quot;html_9c3ab8926f62a8d4d8322bc471af21c0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/0/08/Logo_Uni_Vechta-neu.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Driverstraße 22&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;49377 Vechta&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_f969af7c9378331d8b4df1dd88f49f1b.setContent(html_9c3ab8926f62a8d4d8322bc471af21c0);\n",
" \n",
" \n",
"\n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.bindPopup(popup_f969af7c9378331d8b4df1dd88f49f1b)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_c60fb5044537be9a044b9b4b3b3f7f99.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_8fc080365a007577a0dcf85d3ee8f100 = L.marker(\n",
" [52.09875, 9.35542],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_5f1b1a0081c06632f938ebb63e0923d2 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;black&quot;, &quot;markerColor&quot;: &quot;white&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_8fc080365a007577a0dcf85d3ee8f100.setIcon(icon_5f1b1a0081c06632f938ebb63e0923d2);\n",
" \n",
" \n",
" var popup_1e8f74c0263aa22ac8369e0b7c92ecf1 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_fdb2f812611848447a9a6ec825bb46e5 = $(`&lt;div id=&quot;html_fdb2f812611848447a9a6ec825bb46e5&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://upload.wikimedia.org/wikipedia/commons/thumb/0/04/Hochschule_Weserbergland_logo.svg/1200px-Hochschule_Weserbergland_logo.svg.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Am Stockhof 2&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31785 Hameln&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_1e8f74c0263aa22ac8369e0b7c92ecf1.setContent(html_fdb2f812611848447a9a6ec825bb46e5);\n",
" \n",
" \n",
"\n",
" marker_8fc080365a007577a0dcf85d3ee8f100.bindPopup(popup_1e8f74c0263aa22ac8369e0b7c92ecf1)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_8fc080365a007577a0dcf85d3ee8f100.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_e8d5ca2d31d141e61668c21082bf1e7c = L.marker(\n",
" [53.54787, 8.08804],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_36c57030a7a7fdb4092c6a184f1129fb = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.setIcon(icon_36c57030a7a7fdb4092c6a184f1129fb);\n",
" \n",
" \n",
" var popup_d2d39c001d5fa41a1f0dfd53f9838ea3 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_b3a5f99a6e251a8ab410cab051238859 = $(`&lt;div id=&quot;html_b3a5f99a6e251a8ab410cab051238859&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Friedrich-Paffrath-Straße 101&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26389 Wilhelmshaven&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_d2d39c001d5fa41a1f0dfd53f9838ea3.setContent(html_b3a5f99a6e251a8ab410cab051238859);\n",
" \n",
" \n",
"\n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.bindPopup(popup_d2d39c001d5fa41a1f0dfd53f9838ea3)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_e8d5ca2d31d141e61668c21082bf1e7c.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_f1b1ea7d90150f121d75c3514c1667f5 = L.marker(\n",
" [53.14179, 8.20213],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_9702f6e745d12e01f72628f1907a2b56 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.setIcon(icon_9702f6e745d12e01f72628f1907a2b56);\n",
" \n",
" \n",
" var popup_15c9613e4c5d060e5575da0b015643b8 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_34a918837eb14110296f903653cb4792 = $(`&lt;div id=&quot;html_34a918837eb14110296f903653cb4792&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Ofener Str. 16/19&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26121 Oldenburg&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_15c9613e4c5d060e5575da0b015643b8.setContent(html_34a918837eb14110296f903653cb4792);\n",
" \n",
" \n",
"\n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.bindPopup(popup_15c9613e4c5d060e5575da0b015643b8)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_f1b1ea7d90150f121d75c3514c1667f5.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_3790447b57640fc7c74f94ccb0206bec = L.marker(\n",
" [53.24244, 8.46651],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_623ba5b4591c68d48b94f13f02fcb14d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_3790447b57640fc7c74f94ccb0206bec.setIcon(icon_623ba5b4591c68d48b94f13f02fcb14d);\n",
" \n",
" \n",
" var popup_0f0f893e9b506e5022903afe3c444a81 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e898940627576081403202fe3fe86b5e = $(`&lt;div id=&quot;html_e898940627576081403202fe3fe86b5e&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.jade-hs.de/fileadmin/layout2016/assets/jadehs-logo.png&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Weserstraße 52&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;26931 Elsfleth&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_0f0f893e9b506e5022903afe3c444a81.setContent(html_e898940627576081403202fe3fe86b5e);\n",
" \n",
" \n",
"\n",
" marker_3790447b57640fc7c74f94ccb0206bec.bindPopup(popup_0f0f893e9b506e5022903afe3c444a81)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_3790447b57640fc7c74f94ccb0206bec.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_1339619ceb25e27a83935aed7ce5dc18 = L.marker(\n",
" [52.20696, 9.09112],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7f7141ff21e8fb69f9515346d7b23f4d = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_1339619ceb25e27a83935aed7ce5dc18.setIcon(icon_7f7141ff21e8fb69f9515346d7b23f4d);\n",
" \n",
" \n",
" var popup_635f63cb7852f58eafdf5f6f7cea1042 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_e9fcb518ee93d2aee49f50e380e4b9f9 = $(`&lt;div id=&quot;html_e9fcb518ee93d2aee49f50e380e4b9f9&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.steuerakademie.niedersachsen.de/assets/image/232/85611&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Wilhelm-Busch-Weg 29&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31737 Rinteln&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_635f63cb7852f58eafdf5f6f7cea1042.setContent(html_e9fcb518ee93d2aee49f50e380e4b9f9);\n",
" \n",
" \n",
"\n",
" marker_1339619ceb25e27a83935aed7ce5dc18.bindPopup(popup_635f63cb7852f58eafdf5f6f7cea1042)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_1339619ceb25e27a83935aed7ce5dc18.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" var marker_cca4181c64dd65e14ed5cc494f057c94 = L.marker(\n",
" [52.23981, 9.10423],\n",
" {}\n",
" ).addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
" \n",
" var icon_7fe21d2677ab5e140a9d48352ab49342 = L.AwesomeMarkers.icon(\n",
" {&quot;extraClasses&quot;: &quot;fa-rotate-0&quot;, &quot;icon&quot;: &quot;glyphicon-home&quot;, &quot;iconColor&quot;: &quot;white&quot;, &quot;markerColor&quot;: &quot;black&quot;, &quot;prefix&quot;: &quot;glyphicon&quot;}\n",
" );\n",
" marker_cca4181c64dd65e14ed5cc494f057c94.setIcon(icon_7fe21d2677ab5e140a9d48352ab49342);\n",
" \n",
" \n",
" var popup_7d9d5eafd2f8c759bcd0eefcad2747d0 = L.popup({&quot;maxWidth&quot;: &quot;100%&quot;});\n",
"\n",
" \n",
" \n",
" var html_efcb08f08287884547c497633df3b5a0 = $(`&lt;div id=&quot;html_efcb08f08287884547c497633df3b5a0&quot; style=&quot;width: 100.0%; height: 100.0%;&quot;&gt; &lt;p&gt;&lt;img src=&quot;https://www.steuerakademie.niedersachsen.de/assets/image/232/85611&quot; width=&quot;300px&quot; height=&quot;auto&quot;&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Bahnhofstraße 5&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;31707 Bad Eilsen&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;small&gt;Germany, DE&lt;/small&gt;&lt;/p&gt; &lt;/div&gt;`)[0];\n",
" popup_7d9d5eafd2f8c759bcd0eefcad2747d0.setContent(html_efcb08f08287884547c497633df3b5a0);\n",
" \n",
" \n",
"\n",
" marker_cca4181c64dd65e14ed5cc494f057c94.bindPopup(popup_7d9d5eafd2f8c759bcd0eefcad2747d0)\n",
" ;\n",
"\n",
" \n",
" \n",
" \n",
" marker_cca4181c64dd65e14ed5cc494f057c94.bindTooltip(\n",
" `&lt;div&gt;\n",
" Click for more information\n",
" &lt;/div&gt;`,\n",
" {&quot;sticky&quot;: true}\n",
" );\n",
" \n",
" \n",
" tile_layer_c568145958d4a043f916fcfdc24daf2c.addTo(map_f2217b91f6c745de9a20cb125f2a0232);\n",
" \n",
"&lt;/script&gt;\n",
"&lt;/html&gt;\" style=\"position:absolute;width:100%;height:100%;left:0;top:0;border:none !important;\" allowfullscreen webkitallowfullscreen mozallowfullscreen></iframe></div></div>"
],
"text/plain": [
"<folium.folium.Map at 0x7fa660c9f230>"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"# Your Solutions are tested and displayed here..\n",
"lower_saxony"
]
}
],
"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.12.8"
},
"toc-autonumbering": false
},
"nbformat": 4,
"nbformat_minor": 5
}