Module:Location map/data/Indonesia Medan
< Module:Location map
Jump to navigation
Jump to search
Revision as of 00:03, 28 March 2018 by blackwiki>Plastikspork (Plastikspork moved page Module:Location map/data/Medan to Module:Location map/data/Indonesia Medan without leaving a redirect: Naming convention)
| This module is rated as alpha. It is ready for third-party input, and may be used on a few pages to see if problems arise, but should be watched. Suggestions for new features or changes in their input and output mechanisms are welcome. |
Contents
Usage
| name | Medan | |||
|---|---|---|---|---|
| border coordinates | ||||
| -3.595196 | ||||
| 98.672223 | ←↕→ | 98.40200028 | ||
| -3.35427056 | ||||
| map center | Lua error: callParserFunction: function "#coordinates" was not found. | |||
| image | Location map Medan.png
| |||
| ||||
Module:Location map/data/Indonesia Medan is a location map definition used to overlay markers and labels on an equirectangular projection map of Medan. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Usage
These definitions are used by the following templates when invoked with parameter "Indonesia Medan":
{{Location map | Indonesia Medan | ...}}{{Location map many | Indonesia Medan | ...}}{{Location map+ | Indonesia Medan | ...}}{{Location map~ | Indonesia Medan | ...}}
Map definition
name = Medan- Name used in the default map caption
image = Location map Medan.png- The default map image, without "Image:" or "File:"
top = -3.595196- Latitude at top edge of map, in decimal degrees
bottom = -3.35427056- Latitude at bottom edge of map, in decimal degrees
left = 98.672223- Longitude at left edge of map, in decimal degrees
right = 98.40200028- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 359.7298 degrees.
- At an image width of 200 pixels, that is 1.7986 degrees per pixel.
- At an image width of 1000 pixels, that is 0.3597 degrees per pixel.
Latitude: from North to South this map definition covers -0.2409 degrees.
- At an image height of 200 pixels, that is -0.0012 degrees per pixel.
- At an image height of 1000 pixels, that is -0.0002 degrees per pixel.
See also
Location map templates
- Template:Location map, to display one mark and label using latitude and longitude
- Template:Location map many, to display up to nine marks and labels
- Template:Location map+, to display an unlimited number of marks and labels
Creating new map definitions
return {
name = 'Medan',
top =-3.595196,
bottom =-3.35427056,
left = 98.672223,
right = 98.40200028,
image = 'Location map Medan.png',
}
