Module:Location map/data/Indonesia Sumbawa
Usage
Lua error: expandTemplate: template "coord" does not exist.
Module:Location map/data/Indonesia Sumbawa is a location map definition used to overlay markers and labels on an equirectangular projection map of Sumbawa. 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 Sumbawa":
Map definition
name = Sumbawa
- Name used in the default map caption
image = Sumbawa Topography.png
- The default map image, without "Image:" or "File:"
top = -7.166
- Latitude at top edge of map, in decimal degrees
bottom = -9.5
- Latitude at bottom edge of map, in decimal degrees
left = 116.466
- Longitude at left edge of map, in decimal degrees
right = 119.507
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 3.041 degrees.
- At an image width of 200 pixels, that is 0.0152 degrees per pixel.
- At an image width of 1000 pixels, that is 0.003 degrees per pixel.
Latitude: from North to South this map definition covers 2.334 degrees.
- At an image height of 200 pixels, that is 0.0117 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0023 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
</nowiki>
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
The following parameters are taken by Module:Location map/data/doc:
Parameter | Description |
---|---|
image
|
An additional image to display (other than the one the location map uses) on the right side of the documentation page. If not specified, no additional image is displayed. |
projection
|
The type of projection the location map uses. If not specified, "an [[equirectangular projection]]" is used. |
name
|
The name to display in the map's documentation. If not specified, the actual name of the location map is used. |
examples
|
A section containing examples of the location map's usage. A {{clear}} template is automatically placed at the end of the examples. If not specified, no examples are output. |
see also
|
Additional links to place in the "See also" section. |
All information about the map will be automatically taken from the map's definition itself.
{{#invoke:Location map/data|function_name}}
return { name = 'Sumbawa', top = -7.166, bottom = -9.5, left = 116.466, right = 119.507, image = 'Sumbawa Topography.png', }