Module:Location map/data/USA Florida Manatee County
Jump to navigation
Jump to search
This module is rated as beta, and is ready for widespread use. It is still new and should be used with some caution to ensure the results are as expected. |
Usage
name | Manatee County | |||
---|---|---|---|---|
border coordinates | ||||
27.87 | ||||
-82.83 | ←↕→ | -81.29 | ||
27.16 | ||||
map center | 27°30′54″N 82°03′36″W / 27.515°N 82.06°W | |||
image | Manatee County Florida No Highlights.svg
| |||
Module:Location map/data/USA Florida Manatee County is a location map definition used to overlay markers and labels on an equirectangular projection map of Manatee County. 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 "USA Florida Manatee County":
{{Location map|USA Florida Manatee County |...}}
{{Location map many|USA Florida Manatee County |...}}
{{Location map+|USA Florida Manatee County |...}}
{{Location map~|USA Florida Manatee County |...}}
Map definition
name = Manatee County
- Name used in the default map caption
image = Manatee County Florida No Highlights.svg
- The default map image, without "Image:" or "File:"
top = 27.87
- Latitude at top edge of map, in decimal degrees
bottom = 27.16
- Latitude at bottom edge of map, in decimal degrees
left = -82.83
- Longitude at left edge of map, in decimal degrees
right = -81.29
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 1.54 degrees.
- At an image width of 200 pixels, that is 0.0077 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0015 degrees per pixel.
Latitude: from North to South this map definition covers 0.71 degrees.
- At an image height of 200 pixels, that is 0.0036 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0007 degrees per pixel.
Examples using location map templates
Example labeling "Bradenton":
{{Location map | USA Florida Manatee County | label=Bradenton | position=top | label_size=90 <--percent 0-900% | caption=Show "Bradenton" on map | lat_deg=27 | lat_min=29 | lat_dir=N | lon_deg=82 | lon_min=35 | lon_dir=W | background=#FFFF99 | float=right | width=260 <!--DON'T add "px"--> }}
Example for orange "Palmetto" at right:
{{Location map | USA Florida Manatee County | label=Palmetto | position=right | label_size=90 <--percent 0-900%--> | caption=Show "Palmetto" on map | lat_deg=27 | lat_min=31 | lat_dir=N | lon_deg=82 | lon_min=34 | lon_dir=W | background=<!--orange-->#FFCC66 | float=right | width=260 <!--DON'T add "px"--> | AlternativeMap=<!-- none (default)--> }}
Example for green "Lakewood Ranch" at bottom:
{{Location map | USA Florida Manatee County | label=Lakewood Ranch | position=bottom | label_size=90 <!-- percent 0-900% --> | caption=Show "Lakewood Ranch" on map | lat_deg=27 | lat_min=27 | lat_dir=N | lon_deg=82 | lon_min=25 | lon_dir=W | background=<!--green-->#33DD44 | float=right | width=260 | AlternativeMap=<!-- none (use default map) --> }}
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
{{#invoke:Location map/data|function_name}}
return {
name='Manatee County',
top = 27.87,
bottom = 27.16,
left = -82.83,
right = -81.29,
image = 'Manatee County Florida No Highlights.svg'
}