Մոդուլ:Տեղորոշման քարտեզ/data/ԱՄՆ
name | ԱՄՆ | ||
---|---|---|---|
x | 50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180)) | ||
y | 50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180))) | ||
image | Usa edcp location map.svg
| ||
![]() | |||
image1 | Usa edcp relief location map.png
| ||
![]() |
Մոդուլ:Տեղորոշման քարտեզ/data/ԱՄՆ is a location map definition used to overlay markers and labels on an equidistant conic projection map of the United States. The markers are placed by latitude and longitude coordinates on the default map or a similar map image.
Օգտագործման ձևը
These definitions are used by the following templates when invoked with parameter "ԱՄՆ":
{{Location map | ԱՄՆ | ...}}
{{Location map many | ԱՄՆ | ...}}
{{Location map+ | ԱՄՆ | ...}}
{{Location map~ | ԱՄՆ | ...}}
Map definition
name = ԱՄՆ
- Name used in the default map caption
image = Usa_edcp_location map.svg
- The default map image, without "Image:" or "File:"
top = 49.8
- Latitude at top edge of map, in decimal degrees
bottom = 24.2
- Latitude at bottom edge of map, in decimal degrees
left = -125.5
- Longitude at left edge of map, in decimal degrees
right = -66.5
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 59 degrees.
- At an image width of 200 pixels, that is 0.295 degrees per pixel.
- At an image width of 1000 pixels, that is 0.059 degrees per pixel.
Latitude: from North to South this map definition covers 25.6 degrees.
- At an image height of 200 pixels, that is 0.128 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0256 degrees per pixel.
Examples using location map templates
Location map, using default map (image)
{{Location map | ԱՄՆ | width = 250 | label = Վաշինգտոն ԿՇ | lat_deg = 38.89 | lon_deg = -77.04 }}
Location map many, using relief map (image1)
{{Location map many | USA | relief = yes | width = 250 | caption = Երկու վայր ԱՄՆ-ում | label1 = Վաշինգտոն ԿՇ | lat1_deg = 38.89 | lon1_deg = -77.04 | label2 = Սիեթլ | lat2_deg = 47.61 | lon2_deg = -122.33 }}
Location map+, using AlternativeMap
{{Location map+ | ԱՄՆ | AlternativeMap = Usa edcp relief location map.png | caption = Երկու վայր ԱՄՆ-ում | width = 250 | places = {{Location map~ | ԱՄՆ | label = Վաշինգտոն ԿՇ | lat_deg = 38.89 | lon_deg = -77.04 }} {{Location map~ | ԱՄՆ | label = Սիեթլ | lat_deg = 47.61 | lon_deg = -122.33 }} }}
Տես նաև
- Location map templates
- Կաղապար:Location map, to display one mark and label using latitude and longitude
- Կաղապար:Location map many, to display up to nine marks and labels
- Կաղապար:Location map+, to display an unlimited number of marks and labels
- Infobox templates incorporating (passing values to) the Location map template
Կաղապար:Location map/doc/See also infobox templates
return {
name = 'ԱՄՆ',
x = '50.0 + 124.03149777329222 * ((1.9694462586094064-($1 * pi / 180)) * sin(0.6010514667026994 * ($2 + 96) * pi / 180))',
y = '50.0 + 1.6155950752393982 * 124.03149777329222 * ( 0.02613325650382181 - (1.3236744353715044 - (1.9694462586094064 - ($1 * pi / 180)) * cos(0.6010514667026994 * ($2 + 96) * pi / 180)))',
image = 'Usa edcp location map.svg',
image1 = 'Usa edcp relief location map.png'
}