Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a230d21fae48a8fe

Jump to content

Module talk:Location map/data/Africa

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Created

[edit]

The mapper Template:Location map Africa was created by Ukrainian User:Амба on 16 July 2010 to set coordinates for x/y locations on a political map and terrain map of Africa, which have curved lines of latitude & longitude. -Wikid77 (talk) 05:02, 16 October 2010 (UTC)Reply

Testing coordinates x/y

[edit]

The following are some test cases to ensure that the x/y for latitude and longitude are still calculated correctly, after any future updates to the template. The precisions are excessive for small map images, but might apply if maps were vastly enlarged, such as for GPS tracking.

* '''Expected''': x @10/20 = {{#expr: {{Location map Africa|x|10|20}} }} → 54.984191830974
* '''Currently''': x @10/20 = {{#expr: {{Location map Africa|x|10|20}} }} → {{#expr: {{Location map Africa|x|10|20}} }}

* '''Expected''': y @10/20 = {{#expr: {{Location map Africa|y|10|20}} }} → 38.042491930554
* '''Currently''': y @10/20 = {{#expr: {{Location map Africa|y|10|20}} }} → {{#expr: {{Location map Africa|y|10|20}} }}

* '''Expected''': x @15/40 = {{#expr: {{Location map Africa|x|15|40}} }} → 78.82521364981
* '''Currently''': x @15/40 = {{#expr: {{Location map Africa|x|15|40}} }} → {{#expr: {{Location map Africa|x|15|40}} }}

* '''Expected''': y @15/40 = {{#expr: {{Location map Africa|y|15|40}} }} → 31.054613083647
* '''Currently''': y @15/40 = {{#expr: {{Location map Africa|y|15|40}} }} → {{#expr: {{Location map Africa|y|15|40}} }}

Those are some examples, showing high precision. The values of x/y are used by {{Location_map}}, or {{Location_map_many}}, to place marker-images on the map of Africa. The end-digits of the numbers might vary, slightly, depending on the particular wikiserver computer hardware used to run the MediaWiki software for formatting this page to send over the Internet. -Wikid77 (talk) 05:02, 16 October 2010 (UTC)Reply

Template-protected edit request on 27 September 2023

[edit]

Please add another relief map,

image2 = 'Africa_land_cover_location_map.jpg',

They have it on frwiki: fr:Module:Carte/données/afrique. Ponor (talk) 01:03, 27 September 2023 (UTC)Reply

 Done  Martin (MSGJ · talk) 08:20, 27 September 2023 (UTC)Reply