Jump to content

Module:Location map/data/USA Cape Cod/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Grolltech (talk | contribs) at 07:11, 7 May 2013 (links, backgrounds, rearranged). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Template:Location map USA Mass Cape Cod (or simply, Template:Location map Cape Cod) is a location map definition used to overlay markers and labels on an equirectangular projection map of Cape Cod, in the U.S. state of Massachusetts. 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 "Cape Cod":


Map definition

Examples using location map templates

Location map

Barnstable is located in Cape Cod
Barnstable
Barnstable
Barnstable (Cape Cod)
{{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
| label   = Barnstable
}}

Location map many

Location map/data/USA Cape Cod/doc is located in Cape Cod
Barnstable
Barnstable
Provincetown
Provincetown
Eastham
Eastham
Locations on Cape Cod
{{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+

Here is an extremely complex real-world example, showing 17 points in a very small 300px image. Careful experimentation with "|position=" and "|background=" allows us to legibly label each point:

{{Location map+ | Cape Cod
| width   = 300
| caption = The lighthouses of Cape Cod
| places  =
{{Location map~ | Cape Cod
| lat = 41.51639 | long = -70.6575 | label = [[Nobska Light|Nobska]]
}}
{{Location map~ | Cape Cod
| lat = 41.68222 | long = -70.66028 
|background=ivory | label = [[Wing's Neck Light|Wing's Neck]] 
}}
{{Location map~ | Cape Cod
| lat = 41.72278 | long = -70.28111 
| label = [[Sandy Neck Light|Sandy Neck]] |position=top
}}
{{Location map~ | Cape Cod
| lat = 41.636278 | long = -70.2885 
| label = [[Hyannis Harbor Light|Hyannis Harbor]] |position=bottom
}}
{{Location map~ | Cape Cod
| lat = 41.574256 | long = -70.250056 
| label = [[Bishop and Clerks Light|Bishop & Clerks]] |position=bottom
}}
{{Location map~ | Cape Cod
| lat = 41.651733 | long = -70.169186 |background=ivory
| label = [[West Dennis Light|W.Dennis]] |position=top
}}
{{Location map~ | Cape Cod
| lat = 42.021227 | long = -70.1935 
| label =[[Wood End Light|Wood End]] |position=bottom
}}
{{Location map~ | Cape Cod
| lat = 42.033119 | long = -70.168653 | position=top 
| label=[[Long Point Light|     Long
              Pt.]]
}}
{{Location map~ | Cape Cod
| lat = 42.062333 | long = -70.24472 |background=azure
| label = [[Race Point Light|Race<br />Pt.]] |position=left
}}
{{Location map~ | Cape Cod
| lat = 42.039523 | long = -70.060938 
| label = [[Highland Light|Highland]] |position=right
}}
{{Location map~ | Cape Cod
| lat = 41.860139 | long = -69.952944 
| label = [[Nauset Light|Nauset]] |position=right
}}
{{Location map~ | Cape Cod
| lat = 41.559333 | long = -69.993722 
| label = [[Monomoy Point Light|Monomoy Point]] |position=right
}}
{{Location map~ | Cape Cod
| lat = 41.658407 | long = -69.984471 |background=azure
| label = [[Stage Harbor Light|Stage&nbsp;Harbor]] |position=bottom
}}
{{Location map~ | Cape Cod
| lat = 41.9307 | long = -70.0343 
| label = [[Mayo Beach Light|Mayo Beach]] |position=right
}}
{{Location map~ | Cape Cod
| lat = 41.86889 | long = -70.07167 
| label = [[Billingsgate Island Light|Billingsgate Island]]
}}
{{Location map~ | Cape Cod
| lat = 41.845 | long = -69.96 |background=azure
| label = [[Three Sisters of Nauset|Three Sisters]] |position=bottom
}}
{{Location map~ | Cape Cod
| lat = 41.671307 | long = -69.950154 |background=azure
| label = [[Chatham Light|Chatham]] |position=top
}}
}}


Infobox examples

This location map can be used in any infobox that accepts location maps (see the collapsed section below, under "See also"). To use this location map, simply enter "Cape Cod" whenever the location template references a location map name.

{{infobox_nrhp| ... | locmapin=Cape Cod | ... }}
{{Infobox settlement| ... |pushpin_map=Cape Cod | ... }}
{{Infobox lighthouse| ... |pushpin_map=Cape Cod | ... }}


See also

Location map templates
Infobox templates incorporating (passing values to) the Location map template
List