<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ipyleaflet Archives - Creatronix</title>
	<atom:link href="https://creatronix.de/tag/ipyleaflet/feed/" rel="self" type="application/rss+xml" />
	<link>https://creatronix.de/tag/ipyleaflet/</link>
	<description>My adventures in code &#38; business</description>
	<lastBuildDate>Thu, 10 Feb 2022 21:49:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How to visualize geo coordinates with ipyleaflet</title>
		<link>https://creatronix.de/visualize-geo-coordinates-with-ipyleaflet/</link>
		
		<dc:creator><![CDATA[Jörn]]></dc:creator>
		<pubDate>Thu, 18 Nov 2021 12:10:47 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[geo coordinates]]></category>
		<category><![CDATA[ipyleaflet]]></category>
		<category><![CDATA[jupyter]]></category>
		<guid isPermaLink="false">https://creatronix.de/?p=4126</guid>

					<description><![CDATA[<p>As mentioned in Curriculum Vitae for Data Scientists it can be a good idea to visualize your skills and work experience. I&#8217;ve also tried to visualize the location of my work places with geopandas but I came across a more fancy solution called ipyleaflet Installation pip install ipyleaflet Visualizing geo coordinates from ipyleaflet import Map,&#8230;</p>
<p>The post <a href="https://creatronix.de/visualize-geo-coordinates-with-ipyleaflet/">How to visualize geo coordinates with ipyleaflet</a> appeared first on <a href="https://creatronix.de">Creatronix</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>As mentioned in <a href="https://creatronix.de/curriculum-vitae-for-data-scientists/">Curriculum Vitae for Data Scientists</a> it can be a good idea to visualize your skills and work experience. I&#8217;ve also tried to visualize the location of my work places with geopandas but I came across a more fancy solution called <a href="https://ipyleaflet.readthedocs.io/en/latest/">ipyleaflet</a><span id="more-4126"></span></p>
<h2>Installation</h2>
<pre>pip install ipyleaflet</pre>
<h2>Visualizing geo coordinates</h2>
<pre>from ipyleaflet import Map, Marker, basemaps, basemap_to_tiles

m = Map(
    basemap=basemaps.OpenStreetMap.Mapnik,
    center=(52, 8),
    zoom=5
)
cities = {  "Bad Oeynhausen":
              { "latitude":52.207851, "longitude":8.804030},
            "Detmold":
              { "latitude":51.936284, "longitude":8.879153},
            "Coburg":
              { "latitude":50.258112, "longitude":10.964463},
            "Bochum":
              { "latitude":51.481811, "longitude":7.219664},
            "Karlsbad":
               { "latitude":48.881417, "longitude":8.507199},
            "Nürnberg":
               { "latitude":49.447537, "longitude":11.102352},
             "Erlangen - Tennenlohe":
               { "latitude":49.547055, "longitude":11.015774}
          }

for city, coordinates in cities.items():

    m.add_layer(Marker(location=(coordinates["latitude"], coordinates["longitude"])))

m</pre>
<p>The result:</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-4133 size-full" src="https://creatronix.de/wp-content/uploads/2021/11/ipyleaflet_map.png" alt="" width="995" height="417" srcset="https://creatronix.de/wp-content/uploads/2021/11/ipyleaflet_map.png 995w, https://creatronix.de/wp-content/uploads/2021/11/ipyleaflet_map-300x126.png 300w, https://creatronix.de/wp-content/uploads/2021/11/ipyleaflet_map-768x322.png 768w" sizes="(max-width: 995px) 100vw, 995px" /></p>
<p>The post <a href="https://creatronix.de/visualize-geo-coordinates-with-ipyleaflet/">How to visualize geo coordinates with ipyleaflet</a> appeared first on <a href="https://creatronix.de">Creatronix</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
