Jump to content

Template:Eventonmap/sandbox

From Wikipedia 10

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

Parameters:

  1. Zoom size of the map (default 1: displays a map with size about 720x491px)
  2. Link
  3. Description
  4. Size of the bullet in pixels (optional, default 10)
  5. Latitude in degrees (optional, default: 0)
  6. Longitude in degrees (optional, default: 0)
  7. Latitudinal offset in pixels (optional, default: 0)
  8. Longitudinal offset in pixels (optional, default: 0)
    The offset parameters affect the "slop area" around and under the marker, which is a circle whose diameter is twice the bullet size.

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
Int. DL (77.9000°N 180.0000°W)
Int. DL (77.9000°N 180.0000°W)
Map corner (77.9000°N 168.5000°W)
Map corner (77.9000°N 168.5000°W)
Prime Meridian (77.9000°N 0.0000°E)
Prime Meridian (77.9000°N 0.0000°E)
Int. DL (77.9000°N 179.9999°E)
Int. DL (77.9000°N 179.9999°E)
Map corner (77.9000°N 191.4999°E)
Map corner (77.9000°N 191.4999°E)
Greenwich (51.4791°N 0.0000°W)
Greenwich (51.4791°N 0.0000°W)
Int. DL ( 0.0000°N 180.0000°W)
Int. DL ( 0.0000°N 180.0000°W)
Map Equator West Limit ( 0.0000°N 168.5000°W)
Map Equator West Limit ( 0.0000°N 168.5000°W)
Origin ( 0.0000°N 0.0000°W)
Origin ( 0.0000°N 0.0000°W)
Int. DL ( 0.0000°N 179.9999°E)
Int. DL ( 0.0000°N 179.9999°E)
Map Equator East Limit ( 0.0000°N 191.4999°E)
Map Equator East Limit ( 0.0000°N 191.4999°E)
Map corner (74.9000°S 168.5000°W)
Map corner (74.9000°S 168.5000°W)
Int. DL (74.9000°S 180.0000°W)
Int. DL (74.9000°S 180.0000°W)
Prime Meridian (74.9000°S 0.0000°W)
Prime Meridian (74.9000°S 0.0000°W)
Int. DL (74.9000°S 179.9999°E)
Int. DL (74.9000°S 179.9999°E)
Map corner (74.9000°S 191.4999°E)
Map corner (74.9000°S 191.4999°E)