Difference between revisions of "Template:Countryonmap"

From blackwiki
Jump to navigation Jump to search
imported>John of Reading
m (Typo fixing, replaced: Calulation → Calculation using AWB (8097))
imported>Magioladitis
m (clean up, removed: </noinclude><noinclude> using AWB (8275))
Line 70: Line 70:
 
{{ {{FULLPAGENAME}}|1100|{{FULLPAGENAME}}|Corner px                                |5|    749|    1100|px}}
 
{{ {{FULLPAGENAME}}|1100|{{FULLPAGENAME}}|Corner px                                |5|    749|    1100|px}}
  
</div></noinclude><noinclude>
+
</div>
  
 
[[Category:Map-related templates]]
 
[[Category:Map-related templates]]
 
</noinclude>
 
</noinclude>

Revision as of 08:20, 20 August 2012

Country on the map as used on Template:countrymap, based on plot_point() (CC BY-SA 2.5).

Parameters:

  1. Size of the map (720: displays a map with size about 720x491px)
  2. Link
  3. Description
  4. Size of the bullet in pixels (optional, default 10)
  5. Latitude (default in degrees) (optional, default: 0)
  6. Longitude (default in degrees) (optional, default: 0)
  7. Calculation in pixels (faster) or in degrees (optional, px =in pixels)

The SVG-rendered map uses the Mercator projection on a 1100×750 pixels surface covering longitudes from 168.5°W to 191.5°E (with a eastward offset of 11.5° for the prime meridian of Greenwich) and latitudes from 74.9°S to 77.9°N (with a southward offset of 13.5° for the equator), plus an external border of about 0.1° on each side.

Examples and tests :

Events