<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://queva.eu/index.php?action=history&amp;feed=atom&amp;title=Maps</id>
	<title>Maps - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://queva.eu/index.php?action=history&amp;feed=atom&amp;title=Maps"/>
	<link rel="alternate" type="text/html" href="https://queva.eu/index.php?title=Maps&amp;action=history"/>
	<updated>2026-04-13T06:02:58Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.35.10</generator>
	<entry>
		<id>https://queva.eu/index.php?title=Maps&amp;diff=21583&amp;oldid=prev</id>
		<title>Jms : Page créée avec « Maps supports embedding of dynamic maps using the free and open source [https://leafletjs.com Leaflet library].  == Basic syntax ==  Displaying maps is done with the &lt;code... »</title>
		<link rel="alternate" type="text/html" href="https://queva.eu/index.php?title=Maps&amp;diff=21583&amp;oldid=prev"/>
		<updated>2021-02-10T23:55:41Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « Maps supports embedding of dynamic maps using the free and open source [https://leafletjs.com Leaflet library].  == Basic syntax ==  Displaying maps is done with the &amp;lt;code... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Maps supports embedding of dynamic maps using the free and open source [https://leafletjs.com Leaflet library].&lt;br /&gt;
&lt;br /&gt;
== Basic syntax ==&lt;br /&gt;
&lt;br /&gt;
Displaying maps is done with the &amp;lt;code&amp;gt;#display_map&amp;lt;/code&amp;gt; parser function. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#display_map:center=Brandenburg Gate, Berlin, Germany}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:center=Brandenburg Gate, Berlin, Germany|scrollzoom=off|zoom=15}}&lt;br /&gt;
&lt;br /&gt;
== Customization ==&lt;br /&gt;
&lt;br /&gt;
Leaflet maps can be customized using various parameters. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#display_map:center=Berlin|width=400|height=250}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:center=Berlin|width=400|height=250|scrollzoom=off|zoom=11}}&lt;br /&gt;
&lt;br /&gt;
See [[Customizing Leaflet Maps]] for a full overview of customization parameter, including examples.&lt;br /&gt;
&lt;br /&gt;
== Displaying data ==&lt;br /&gt;
&lt;br /&gt;
=== Markers ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#display_map:Brandenburg Gate, Berlin, Germany}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:Brandenburg Gate, Berlin, Germany|scrollzoom=off}}&lt;br /&gt;
&lt;br /&gt;
You can display multiple locations by separating them with semicolons. And it is possible to use [[coordinates]] instead of location names.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
{{#display_map:Berlin; Brussel; 40° 42' 46.02&amp;quot; N, 74° 0' 21.39&amp;quot; W}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:Berlin; Brussel; 40° 42' 46.02&amp;quot; N, 74° 0' 21.39&amp;quot; W|scrollzoom=off}}&lt;br /&gt;
&lt;br /&gt;
You can customize the markers per location. The syntax is:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;Location~Popup title~Popup text~File:CustomIcon~Group~Inline label~File:VisitedIcon&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Location''': the location where to display the marker. Both [[coordinates]] and addresses are supported&lt;br /&gt;
* '''Popup title''' and '''Popup text''': optional content for a popup shown when the marker is clicked. No popup is shown if both are empty&lt;br /&gt;
* '''File:CustomIcon''': optional name of an image to display instead of the default marker&lt;br /&gt;
* '''Group''': &lt;br /&gt;
* '''Inline label''': optional label shown next to the marker. Currently only shown when using Google Maps&lt;br /&gt;
* '''File:VisitedIcon''': optional name of an image to display as marker when the marker is clicked&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#display_map:&lt;br /&gt;
  Berlin~The city Berlin~Berlin is a really nice city and there is plenty of Club Mate~Red-marker.png;&lt;br /&gt;
  Amsterdam~The city Amsterdam~Amsterdam is the capital of The Netherlands~Green-marker.png&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:&lt;br /&gt;
  Berlin~The city Berlin~Berlin is a really nice city and there is plenty of Club Mate~Red-marker.png;&lt;br /&gt;
  Amsterdam~The city Amsterdam~Amsterdam is the capital of The Netherlands~Green-marker.png&lt;br /&gt;
| scrollwheelzoom=off&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Lines ===&lt;br /&gt;
&lt;br /&gt;
Via the &amp;lt;code&amp;gt;lines&amp;lt;/code&amp;gt; parameter you can display lines on the map. Each line has at least two locations. As with markers you can specify a popup title and text. You can also specify the looks of the line. The syntax is:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
First address:Second address:Optional third address:etc&lt;br /&gt;
~Popup title~Popup text~Line color~Line opacity~Line thickness&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#display_map:lines=&lt;br /&gt;
  Berlin:Brussels:London;&lt;br /&gt;
  Amsterdam:Paris~Amsterdam to Paris line~I am a text~green~0.42~10&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:lines=&lt;br /&gt;
  Berlin:Brussels:London;&lt;br /&gt;
  Amsterdam:Paris~Amsterdam to Paris line~I am a text~green~0.42~10&lt;br /&gt;
| scrollwheelzoom=off&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Polygons ===&lt;br /&gt;
&lt;br /&gt;
Via the &amp;lt;code&amp;gt;polygons&amp;lt;/code&amp;gt; parameter you can display polygons on the map. Each polygons has at least two locations. As with markers you can specify a popup title and text. You can also specify the looks of the polygon. The syntax is:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;pre&amp;gt;&lt;br /&gt;
First address:Second address:Optional third address&lt;br /&gt;
~Popup title~Popup text~Border color~Border opacity~Border thickness~Fill color~Fill opacity&lt;br /&gt;
~Show only on hover&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#display_map:polygons=&lt;br /&gt;
  Berlin:Brussels:London;&lt;br /&gt;
  Amsterdam:Paris:Frankfurt~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:polygons=&lt;br /&gt;
  Berlin:Brussels:London;&lt;br /&gt;
  Amsterdam:Paris:Frankfurt~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
| scrollwheelzoom=off&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Circles ===&lt;br /&gt;
&lt;br /&gt;
Via the &amp;lt;code&amp;gt;circles&amp;lt;/code&amp;gt; parameter you can display circles on the map. Each circles has a center and a diameter. You can specify the popup title and text and the looks of the circle. The syntax is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;Address of the center:Diameter~Popup title~Popup text~Border color~Border opacity~Border thickness~Fill color~Fill opacity&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#display_map:circles=&lt;br /&gt;
  Amsterdam:500;&lt;br /&gt;
  Amsterdam:100~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
| zoom=14&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:circles=&lt;br /&gt;
  Amsterdam:500;&lt;br /&gt;
  Amsterdam:100~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
| scrollwheelzoom=off&lt;br /&gt;
| zoom=14&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Rectangles ===&lt;br /&gt;
&lt;br /&gt;
Via the &amp;lt;code&amp;gt;rectangles&amp;lt;/code&amp;gt; parameter you can display rectangles on the map. Each rectangle has a North East location and a South West location. You can specify the popup title and text and the looks of the rectangle. The syntax is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
North East location:South West location&lt;br /&gt;
~Popup title~Popup text~Border color~Border opacity~Border thickness~Fill color~Fill opacity&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{#display_map:rectangles=&lt;br /&gt;
  Berlin:Brussels;&lt;br /&gt;
  Amsterdam:London~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{#display_map:rectangles=&lt;br /&gt;
  Berlin:Brussels;&lt;br /&gt;
  Amsterdam:London~I am a title~And I am a description~green~0.7~10~blue~0.5&lt;br /&gt;
| scrollwheelzoom=off&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== GeoJSON ===&lt;br /&gt;
&lt;br /&gt;
As of version 5.6, Maps supports display of [https://en.wikipedia.org/wiki/GeoJSON GeoJSON] via the &amp;lt;code&amp;gt;geojson&amp;lt;/code&amp;gt; parameter. See [[Leaflet_GeoJSON#GeoJSON_files|Leaflet GeoJSON files]].&lt;br /&gt;
&lt;br /&gt;
== Alternative syntax ==&lt;br /&gt;
&lt;br /&gt;
When you have many customized markers, using the &amp;lt;code&amp;gt;#display_map&amp;lt;/code&amp;gt; parser function can get unwieldy. For this reason you can also use the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;display_map&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tag. It has all the same parameters as the parser function, the only difference is the syntax. Each location goes own its own line and they do not need to be separated with a semicolon.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;display_map height=&amp;quot;150px&amp;quot; scrollwheelzoom=&amp;quot;off&amp;quot; service=&amp;quot;leaflet&amp;quot;&amp;gt;&lt;br /&gt;
  Gent, Belgie~The city Ghent~Ghent is awesome~ ~ ~Ghent&lt;br /&gt;
  Brussel~The city Brussel~The capital of Belgium~ ~ ~Brussels&lt;br /&gt;
  Antwerp~The city Antwerp~ ~ ~ ~Antwerp&lt;br /&gt;
&amp;lt;/display_map&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;display_map height=&amp;quot;150px&amp;quot; scrollwheelzoom=&amp;quot;off&amp;quot; service=&amp;quot;leaflet&amp;quot;&amp;gt;&lt;br /&gt;
  Gent, Belgie~The city Ghent~Ghent is awesome~ ~ ~Ghent&lt;br /&gt;
  Brussel~The city Brussel~The capital of Belgium~ ~ ~Brussels&lt;br /&gt;
  Antwerp~The city Antwerp~ ~ ~ ~Antwerp&lt;br /&gt;
&amp;lt;/display_map&amp;gt;&lt;/div&gt;</summary>
		<author><name>Jms</name></author>
	</entry>
</feed>