Difference between revisions of "Template:Countryonmap"
Jump to navigation
Jump to search
imported>Ramesh Ramaiah (←Created page with '<includeonly><!-- *** RED MARKER *** -->{{#ifexist:{{{2}}}|<!-- requested page does exist --><div style="position:absolute;z-index:100;top:{{#ifeq:{{{7}}}|px|<!-...') |
imported>Varnent m (Category:Dynamic map templates) |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 33: | Line 33: | ||
# Latitude (default in degrees) (optional, default: 0) | # Latitude (default in degrees) (optional, default: 0) | ||
# Longitude (default in degrees) (optional, default: 0) | # Longitude (default in degrees) (optional, default: 0) | ||
| − | # | + | # Calculation in pixels (faster) or in degrees (optional, px =in pixels) |
<!-- | <!-- | ||
# Latitudinal offset in pixels (optional, default: 0) | # Latitudinal offset in pixels (optional, default: 0) | ||
| Line 70: | Line 70: | ||
{{ {{FULLPAGENAME}}|1100|{{FULLPAGENAME}}|Corner px |5| 749| 1100|px}} | {{ {{FULLPAGENAME}}|1100|{{FULLPAGENAME}}|Corner px |5| 749| 1100|px}} | ||
| − | </div | + | </div> |
| − | [[Category: | + | [[Category:Dynamic map templates]] |
</noinclude> | </noinclude> | ||
Latest revision as of 03:51, 15 April 2013
Country on the map as used on Template:countrymap, based on plot_point() (CC BY-SA 2.5).
Parameters:
- Size of the map (720: displays a map with size about 720x491px)
- Link
- Description
- Size of the bullet in pixels (optional, default 10)
- Latitude (default in degrees) (optional, default: 0)
- Longitude (default in degrees) (optional, default: 0)
- 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 :