Map:Main Page: Difference between revisions
Swap the live {{#map}} embed for a link to yezur.xyz (embed didn't initialise client-side); keep #map syntax as docs |
Rebuild as a landing: open-the-map CTA + start-here gateways over the reference docs |
||
| Line 1: | Line 1: | ||
<div style="border:1px solid #a2a9b1; background:# | __NOTOC__ | ||
<div style="font-size: | <div style="border:1px solid #a2a9b1; background:#2a4b6b; color:#ffffff; padding:1.4em 1.2em; text-align:center;"> | ||
<div style="font- | <div style="font-size:210%; font-weight:bold; line-height:1.1;">The Map of Yezur</div> | ||
<div style="font-size:110%; color:#dbe6f2; margin-top:0.4em;">the atlas of the world — and the workings behind it</div> | |||
</div> | </div> | ||
<div style="border:1px solid #a2a9b1; background:#eef3f8; padding:1.1em; text-align:center; margin:1.1em 0;"> | |||
<div style="font-size:120%; font-weight:bold;">[https://yezur.xyz Open the interactive map of Yezur →]</div> | |||
<div style="font-size:92%; color:#54595d; margin-top:0.3em;">Pan, zoom, search, and query the whole world at yezur.xyz.</div> | |||
</div> | |||
This is the home of Yezur's map. It holds the world as geography — coastlines, cities, roads, and borders — all editable and queryable through an OpenStreetMap-style stack. These pages document how the map is built and how the rest of the wiki links into it. | |||
== Start here == | |||
<div style="display:flex; flex-wrap:wrap; gap:1em; margin-top:0.6em;"> | |||
<div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> | |||
'''[[#Linking to the map from an article|Linking to the map]]'''<br> | |||
Point an article at a feature with <code><nowiki>{{Node}}</nowiki></code>, <code><nowiki>{{Way}}</nowiki></code>, <code><nowiki>{{Relation}}</nowiki></code>, or <code><nowiki>{{Coordslink}}</nowiki></code>. | |||
</div> | |||
<div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> | |||
'''[[#Embedding a live map|Embedding a map]]'''<br> | |||
Drop a live, interactive map into any page with the <code><nowiki>{{#map:}}</nowiki></code> parser function. | |||
</div> | |||
<div style="border:1px solid # | <div style="flex:1 1 16em; border:1px solid #c8d4e0; border-top:3px solid #2a4b6b; background:#f8f9fa; padding:0.8em 1em;"> | ||
'''[[#The data model|The data model]]'''<br> | |||
Nodes, ways, and relations — the three kinds of thing every map feature is built from. | |||
</div> | </div> | ||
</div> | |||
== Linking to the map from an article == | == Linking to the map from an article == | ||
| Line 53: | Line 72: | ||
Every feature carries a stable ID — that is what the linking templates above point to, and what an Overpass query returns. | Every feature carries a stable ID — that is what the linking templates above point to, and what an Overpass query returns. | ||
---- | |||
'''[[Main Page|The encyclopedia]]''' describes the world in prose; '''[[Dictionary:Main Page|the Dictionary]]''' records its tongues. | |||
Revision as of 13:24, 15 July 2026
This is the home of Yezur's map. It holds the world as geography — coastlines, cities, roads, and borders — all editable and queryable through an OpenStreetMap-style stack. These pages document how the map is built and how the rest of the wiki links into it.
Start here
Linking to the map
Point an article at a feature with {{Node}}, {{Way}}, {{Relation}}, or {{Coordslink}}.
Embedding a map
Drop a live, interactive map into any page with the {{#map:}} parser function.
The data model
Nodes, ways, and relations — the three kinds of thing every map feature is built from.
Linking to the map from an article
Articles point at real map features with these templates:
| Template | Points to | Example |
|---|---|---|
{{Node|id|label}} |
a single point (a place, a peak) | City centre |
{{Way|id|label}} |
a line or area (a road, a lake) | Coast road |
{{Relation|id|label}} |
grouped features (a country, a route) | Andusia |
{{Coordslink|lat|lon|zoom|label}} |
a point by coordinates | Old Harbour |
Embedding a live map
The {{#map:}} parser function drops an interactive map into a page. Working parameters:
| Parameter | Meaning | Example |
|---|---|---|
zoom |
initial zoom level | zoom=6
|
center |
centre point, as lat,lon |
center=12.34,56.78
|
layer |
base layer name | layer=satellite
|
query |
an Overpass query to draw | query=[out:json];node(60117);out;
|
For example, {{#map:zoom=5|center=12.34,56.78}} embeds a map centred on those coordinates.
The data model
Yezur's map follows the familiar three-part model:
- Nodes — single points (a well, a summit, a village centre).
- Ways — ordered runs of nodes, forming roads and rivers or the outlines of areas.
- Relations — groups of nodes and ways that together make something larger, such as an administrative border or a numbered route.
Every feature carries a stable ID — that is what the linking templates above point to, and what an Overpass query returns.
The encyclopedia describes the world in prose; the Dictionary records its tongues.