<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://spaceonearth.org/index.php?action=history&amp;feed=atom&amp;title=Test%3AManual-GeoJson-Display</id>
	<title>Test:Manual-GeoJson-Display - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://spaceonearth.org/index.php?action=history&amp;feed=atom&amp;title=Test%3AManual-GeoJson-Display"/>
	<link rel="alternate" type="text/html" href="https://spaceonearth.org/index.php?title=Test:Manual-GeoJson-Display&amp;action=history"/>
	<updated>2026-05-02T18:34:26Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in SpaceOnEarth</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://spaceonearth.org/index.php?title=Test:Manual-GeoJson-Display&amp;diff=353&amp;oldid=prev</id>
		<title>Axel: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://spaceonearth.org/index.php?title=Test:Manual-GeoJson-Display&amp;diff=353&amp;oldid=prev"/>
		<updated>2022-04-04T14:35:18Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 4. April 2022, 16:35 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Axel</name></author>
	</entry>
	<entry>
		<id>https://spaceonearth.org/index.php?title=Test:Manual-GeoJson-Display&amp;diff=352&amp;oldid=prev</id>
		<title>h_&gt;Axel am 12. Januar 2020 um 12:42 Uhr</title>
		<link rel="alternate" type="text/html" href="https://spaceonearth.org/index.php?title=Test:Manual-GeoJson-Display&amp;diff=352&amp;oldid=prev"/>
		<updated>2020-01-12T12:42:23Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{#u:css|add-o|/images/m-dir/Test/Manual-GeoJson-Display/leaflet.css}}&lt;br /&gt;
{{#u:js|load-o|/images/m-dir/Test/Manual-GeoJson-Display/leaflet.js}}&lt;br /&gt;
{{#u:js|load-o|/images/m-dir/Test/Manual-GeoJson-Display/sample-geojson.js}}&lt;br /&gt;
{{#u:js|add-o|&lt;br /&gt;
function mOnload() {&lt;br /&gt;
var map = L.map(&amp;#039;map&amp;#039;).setView([39.74739, -105], 13);&lt;br /&gt;
&lt;br /&gt;
	L.tileLayer(&amp;#039;https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpejY4NXVycTA2emYycXBndHRqcmZ3N3gifQ.rJcFIG214AriISLbB6B5aw&amp;#039;, {&lt;br /&gt;
		maxZoom: 18,&lt;br /&gt;
		attribution: &amp;#039;Map data &amp;amp;copy; &amp;lt;a href=&amp;quot;https://www.openstreetmap.org/&amp;quot;&amp;gt;OpenStreetMap&amp;lt;/a&amp;gt; contributors, &amp;#039; +&lt;br /&gt;
			&amp;#039;&amp;lt;a href=&amp;quot;https://creativecommons.org/licenses/by-sa/2.0/&amp;quot;&amp;gt;CC-BY-SA&amp;lt;/a&amp;gt;, &amp;#039; +&lt;br /&gt;
			&amp;#039;Imagery © &amp;lt;a href=&amp;quot;https://www.mapbox.com/&amp;quot;&amp;gt;Mapbox&amp;lt;/a&amp;gt;&amp;#039;,&lt;br /&gt;
		id: &amp;#039;mapbox/light-v9&amp;#039;&lt;br /&gt;
	}).addTo(map);&lt;br /&gt;
&lt;br /&gt;
	var baseballIcon = L.icon({&lt;br /&gt;
		iconUrl: &amp;#039;/images/m-dir/Test/Manual-GeoJson-Display/baseball-marker.png&amp;#039;,&lt;br /&gt;
		iconSize: [32, 37],&lt;br /&gt;
		iconAnchor: [16, 37],&lt;br /&gt;
		popupAnchor: [0, -28]&lt;br /&gt;
	});&lt;br /&gt;
&lt;br /&gt;
	function onEachFeature(feature, layer) {&lt;br /&gt;
		var popupContent = &amp;quot;&amp;lt;p&amp;gt;I started out as a &amp;lt;a href=\&amp;quot;http://Hoxel.org\&amp;quot;&amp;gt;Hoxel&amp;lt;/a&amp;gt; GeoJSON &amp;quot; +&lt;br /&gt;
				feature.geometry.type + &amp;quot;, but now I&amp;#039;m a Leaflet vector!&amp;lt;/p&amp;gt;&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
		if (feature.properties &amp;amp;&amp;amp; feature.properties.popupContent) {&lt;br /&gt;
			popupContent += feature.properties.popupContent;&lt;br /&gt;
		}&lt;br /&gt;
&lt;br /&gt;
		layer.bindPopup(popupContent);&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
	L.geoJSON([bicycleRental, campus], {&lt;br /&gt;
&lt;br /&gt;
		style: function (feature) {&lt;br /&gt;
			return feature.properties &amp;amp;&amp;amp; feature.properties.style;&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
		onEachFeature: onEachFeature,&lt;br /&gt;
&lt;br /&gt;
		pointToLayer: function (feature, latlng) {&lt;br /&gt;
			return L.circleMarker(latlng, {&lt;br /&gt;
				radius: 8,&lt;br /&gt;
				fillColor: &amp;quot;#ff7800&amp;quot;,&lt;br /&gt;
				color: &amp;quot;#000&amp;quot;,&lt;br /&gt;
				weight: 1,&lt;br /&gt;
				opacity: 1,&lt;br /&gt;
				fillOpacity: 0.8&lt;br /&gt;
			});&lt;br /&gt;
		}&lt;br /&gt;
	}).addTo(map);&lt;br /&gt;
&lt;br /&gt;
	L.geoJSON(freeBus, {&lt;br /&gt;
&lt;br /&gt;
		filter: function (feature, layer) {&lt;br /&gt;
			if (feature.properties) {&lt;br /&gt;
				// If the property &amp;quot;underConstruction&amp;quot; exists and is true, return false (don&amp;#039;t render features under construction)&lt;br /&gt;
				return feature.properties.underConstruction !== undefined ? !feature.properties.underConstruction : true;&lt;br /&gt;
			}&lt;br /&gt;
			return false;&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
		onEachFeature: onEachFeature&lt;br /&gt;
	}).addTo(map);&lt;br /&gt;
&lt;br /&gt;
	var coorsLayer = L.geoJSON(coorsField, {&lt;br /&gt;
&lt;br /&gt;
		pointToLayer: function (feature, latlng) {&lt;br /&gt;
			return L.marker(latlng, {icon: baseballIcon});&lt;br /&gt;
		},&lt;br /&gt;
&lt;br /&gt;
		onEachFeature: onEachFeature&lt;br /&gt;
	}).addTo(map);&lt;br /&gt;
}&lt;br /&gt;
window.onload=mOnload;&lt;br /&gt;
}}&lt;br /&gt;
{{#u:html|&amp;lt;div id=&amp;quot;map&amp;quot; style=&amp;quot;width:500px;height:500px&amp;quot;&amp;gt;x&amp;lt;/div&amp;gt;}}&lt;/div&gt;</summary>
		<author><name>h_&gt;Axel</name></author>
	</entry>
</feed>