Module:Location map/data/USA Cape Cod/doc
This is a documentation subpage for Module:Location map/data/USA Cape Cod. It may contain usage information, categories and other content that is not part of the original module page. |
name | Cape Cod | |||
---|---|---|---|---|
border coordinates | ||||
42.104054 | ||||
-70.84478 | ←↕→ | -69.77812 | ||
41.488985 | ||||
map center | 41°47′47″N 70°18′41″W / 41.7965195°N 70.31145°W | |||
image | USA Mass Cape Cod location map.svg
| |||
Module:Location map/data/USA Cape Cod is a location map definition used to overlay markers and labels on an equirectangular projection map of Cape Cod. 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 Cape Cod":
{{Location map|USA Cape Cod |...}}
{{Location map many|USA Cape Cod |...}}
{{Location map+|USA Cape Cod |...}}
{{Location map~|USA Cape Cod |...}}
Map definition
name = Cape Cod
- Name used in the default map caption
image = USA Mass Cape Cod location map.svg
- The default map image, without "Image:" or "File:"
top = 42.104054
- Latitude at top edge of map, in decimal degrees
bottom = 41.488985
- Latitude at bottom edge of map, in decimal degrees
left = -70.84478
- Longitude at left edge of map, in decimal degrees
right = -69.77812
- Longitude at right edge of map, in decimal degrees
Precision
Longitude: from West to East this map definition covers 1.0667 degrees.
- At an image width of 200 pixels, that is 0.0053 degrees per pixel.
- At an image width of 1000 pixels, that is 0.0011 degrees per pixel.
Latitude: from North to South this map definition covers 0.6151 degrees.
- At an image height of 200 pixels, that is 0.0031 degrees per pixel.
- At an image height of 1000 pixels, that is 0.0006 degrees per pixel.
Examples using location map templates
Location map
{{Location map | Cape Cod | width = 250 | lat_deg = 41 | lat_min = 42 | lat_sec = 0 | lat_dir = N | lon_deg = 70 | lon_min = 18 | lon_sec = 0 | lon_dir = W | caption = [[Barnstable, Massachusetts|Barnstable]] is on [[Cape Cod]], [[Massachusetts]] | label = Barnstable }}
Location map with overlay and linked label
{{Location map | Cape Cod |overlay_image=USA Mass Cape Cod Provincetown overlay.svg |label=[[Provincetown, Massachusetts|Provincetown]] |link=Provincetown, Massachusetts <!-- must use a marker, but with the overlay, a pog is unnecessary, so use clear --> |mark=Clear pog.svg |lat_deg=42.033 |lon_deg=-70.169 |width=250 |float=right |caption=[[Provincetown]] is in [[Barnstable County]], at the very tip of [[Cape Cod]]. |alt=A map of Cape Cod, with the Town of Provincetown colored bright red. }}
Location map many
{{Location map many | Cape Cod | width = 250 | caption = Locations on Cape Cod | lat1 = 41.7 | long1 = -70.3 | label1 = Barnstable | lat2 = 42.0583 | long2 = -70.1792 | label2 = Provincetown | lat3 = 41.830 | long3 = -69.974 | label3 = Eastham }}
Location map+
සැකිල්ල:Cape Cod Lighthouses
Here is a fairly complex real-world example, showing 17 points and linked labels in a small 320px image. Careful experimentation with "|position=
" and "|background=
" allows us to legibly label the points:
Click to expand code for the lighthouse example
|
---|
{{Location map+ | Cape Cod | width = 320 | caption = The lighthouses of Cape Cod |alt=The lighthouses of Cape Cod | places = {{Location map~ | Cape Cod | lat = 41.51639 | long = -70.6575 | link=Nobska Light | label = [[Nobska Light|Nobska]] }} {{Location map~ | Cape Cod | lat = 41.68222 | long = -70.66028 |background=#fefee9 | link=Wing's Neck Light |label=[[Wing's Neck Light|Wing's Neck]] }} {{Location map~ | Cape Cod | lat = 41.72278 | long = -70.28111 |position=top | link=Sandy Neck Light |label=[[Sandy Neck Light|Sandy Neck]] }} {{Location map~ | Cape Cod | lat = 41.636278 | long = -70.2885 |position=bottom | link=Hyannis Harbor Light | label=[[Hyannis Harbor Light|Hyannis Harbor]] }} {{Location map~ | Cape Cod | lat = 41.574256 | long = -70.250056 |position=bottom | link=Bishop and Clerks Light | label=[[Bishop and Clerks Light|Bishop & Clerks]] }} {{Location map~ | Cape Cod | lat = 41.651733 | long = -70.169186 |position=top |background=#fefee9 | link=West Dennis Light | label = [[West Dennis Light|W.Dennis]] }} {{Location map~ | Cape Cod | lat = 42.021227 | long = -70.1935 |position=bottom | link=Wood End Light | label = [[Wood End Light|Wood End]] }} {{Location map~ | Cape Cod | lat = 42.033119 | long = -70.168653 |position=top |link=Long Point Light | label=[[Long Point Light| Long Pt.]] }} {{Location map~ | Cape Cod | lat = 42.062333 | long = -70.24472 |position=left | link=Race Point Light | label = [[Race Point Light|Race<br /> Pt.]] }} {{Location map~ | Cape Cod | lat = 42.039523 | long = -70.060938 |position=right | link=Highland Light | label = [[Highland Light|Highland]] }} {{Location map~ | Cape Cod | lat = 41.860139 | long = -69.952944 |position=right | link=Nauset Light | label = [[Nauset Light|Nauset]] }} {{Location map~ | Cape Cod | lat = 41.845 | long = -69.96 |position=bottom | link=Three Sisters of Nauset | label=[[Three Sisters of Nauset|Three Sisters]] }} {{Location map~ | Cape Cod | lat = 41.559333 | long = -69.993722 |position=right | link=Monomoy Point Light | label = [[Monomoy Point Light|Monomoy Point]] }} {{Location map~ | Cape Cod | lat = 41.658407 | long = -69.984471 |background=#c6ecff |position=bottom | link=Stage Harbor Light | label = [[Stage Harbor Light|Stage Harbor]] }} {{Location map~ | Cape Cod | lat = 41.9307 | long = -70.0343 |position=right | link=Mayo Beach Light | label = [[Mayo Beach Light|Mayo Beach]] }} {{Location map~ | Cape Cod | lat = 41.86889 | long = -70.07167 | link=Billingsgate Island Light | label=[[Billingsgate Island Light|Billingsgate Island]] }} {{Location map~ | Cape Cod | lat = 41.671307 | long = -69.96 |position=right | link=Chatham Light |label = [[Chatham Light|Chatham]] }} }} |
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
- Infobox templates incorporating (passing values to) the Location map template
List
- Template:Infobox aerial lift line
- Template:Infobox airport — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox ancient site — alternative map support: relief
- Template:Infobox artwork
- Template:Infobox Australian road
- Template:Infobox body of water
- Template:Infobox bridge
- Template:Infobox building — alternative map support: relief
- Template:Infobox business park
- Template:Infobox casino
- Template:Infobox castrum — alternative map support: relief (via map_relief)
- Template:Infobox cave — alternative map support: relief
- Template:Infobox cemetery
- Template:Infobox civil conflict
- Template:Infobox climbing area
- Template:Infobox climbing route — alternative map support: relief
- Template:Infobox church — alternative map support: relief
- Template:Infobox concentration camp
- Template:Infobox convention center
- Template:Infobox cycling championship
- Template:Infobox dam — alternative map support: relief
- Template:Infobox desalination plant
- Template:Infobox earthquakes in date
- Template:Infobox Egyptian tomb
- Template:Infobox factory
- Template:Infobox fault
- Template:Infobox forest — alternative map support: relief
- Template:Infobox glacier — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox golf facility — alternative map support: relief
- Template:Infobox Hindu temple
- Template:Infobox historic site — alternative map support: relief (via map_relief)
- Template:Infobox Holocaust event
- Template:Infobox hospital — alternative map support: relief
- Template:Infobox hut — alternative map support: relief
- Template:Infobox islands — alternative map support: relief
- Template:Infobox landform
- Template:Infobox lighthouse — alternative map support: relief
- Template:Infobox military conflict — alternative map support: relief (via map_relief)
- Template:Infobox military installation — alternative map support: relief (via map_relief)
- Template:Infobox military operation
- Template:Infobox mill building
- Template:Infobox mine
- Template:Infobox mining
- Template:Infobox monastery
- Template:Infobox monument
- Template:Infobox motorway services
- Template:Infobox mountain — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox mountain pass — alternative map support: relief (displays relief image unless map_relief=0)
- Template:Infobox museum — alternative map support: relief (via map_relief)
- Template:Infobox New York City Subway station
- Template:Infobox New Zealand suburb
- Template:Infobox observatory
- Template:Infobox oil field — alternative map support: relief
- Template:Infobox oil refinery — alternative map support: relief
- Template:Infobox park — alternative map support: relief
- Template:Infobox port
- Template:Infobox power station — alternative map support: relief
- Template:Infobox prison
- Template:Infobox protected area — alternative map support: relief
- Template:Infobox pyramid
- Template:Infobox reactor
- Template:Infobox religious building — alternative map support: relief
- Template:Infobox residential college
- Template:Infobox restaurant
- Template:Infobox river
- Template:Infobox Russian inhabited locality
- Template:Infobox school
- Template:Infobox Scottish island
- Template:Infobox sedimentary basin
- Template:Infobox settlement — alternative map support: relief (via pushpin_relief) and AlternativeMap (via pushpin_image)
- Template:Infobox ski area
- Template:Infobox Spanish missions in the Americas
- Template:Infobox sports rivalry
- Template:Infobox spring — alternative map support: relief
- Template:Infobox station
- Template:Infobox street
- Template:Infobox superfund
- Template:Infobox terrestrial impact site
- Template:Infobox transmitter
- Template:Infobox tunnel
- Template:Infobox valley — alternative map support: relief
- Template:Infobox waterfall — alternative map support: relief
- Template:Infobox waterlock
- Template:Infobox UNESCO World Heritage Site — alternative map support: relief
- Template:Infobox university
- Template:Infobox urban feature
- Template:Infobox venue
- Template:Infobox wildfire
- Template:Infobox WorldScouting