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 23:23, 6 May 2013 (creating). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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+

Location map/data/USA Cape Cod/doc is located in Cape Cod
Nobska
Nobska
Wing's Neck
Wing's Neck
Sandy Neck
Sandy Neck
Hyannis Harbor
Hyannis Harbor
Bishop & Clerks
Bishop & Clerks
W. Dennis
W. Dennis
Wood End
Wood End
     Long        Pt.
     Long        Pt.
Race Pt.
Race
Pt.
Highland
Highland
Nauset
Nauset
Monomoy Pt.
Monomoy Pt.
Stage Harbor
Stage Harbor
Mayo Beach
Mayo Beach
Billingsgate Island
Billingsgate Island
Three Sisters
Three Sisters
Chatham
Chatham
The lighthouses of Cape Cod

Here is an extremely complex real-world example, showing 17 points in a very small 300px image. Careful experimentation with the |position= parameter 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
 }}
 {{Location map~ | Cape Cod
 | lat = 41.68222 | long = -70.66028 | label = Wing's Neck 
 }}
 {{Location map~ | Cape Cod
 | lat = 41.72278 | long = -70.28111 | label = Sandy Neck |position=top
 }}
 {{Location map~ | Cape Cod
 | lat = 41.636278 | long = -70.2885 | label = Hyannis Harbor |position=left
 }}
 {{Location map~ | Cape Cod
 | lat = 41.574256 | long = -70.250056 | label = Bishop & Clerks |position=bottom
 }}
 {{Location map~ | Cape Cod
 | lat = 41.651733 | long = -70.169186 | label = W. Dennis|position=top
 }}
 {{Location map~ | Cape Cod
 | lat = 42.021227 | long = -70.1935 | label = Wood End |position=bottom
 }}
 {{Location map~|Cape Cod|lat = 42.033119|long = -70.168653|position=top|label={{nowrap|     Long}} {{nowrap|       Pt.}}}}
 {{Location map~ | Cape Cod
 | lat = 42.062333 | long = -70.24472 | label = Race
Pt.|position=left }} {{Location map~ | Cape Cod | lat = 42.039523 | long = -70.060938 | label = Highland |position=right }} {{Location map~ | Cape Cod | lat = 41.860139 | long = -69.952944 | label = Nauset |position=right }} {{Location map~ | Cape Cod | lat = 41.559333 | long = -69.993722 | label = Monomoy Pt. |position=right }} {{Location map~ | Cape Cod | lat = 41.658407 | long = -69.984471 | label = Stage Harbor |position=bottom }} {{Location map~ | Cape Cod | lat = 41.9307 | long = -70.0343 | label = Mayo Beach |position=right }} {{Location map~ | Cape Cod | lat = 41.86889 | long = -70.07167 | label = Billingsgate Island }} {{Location map~ | Cape Cod | lat = 41.845 | long = -69.96 | label = Three Sisters |position=bottom }} {{Location map~ | Cape Cod | lat = 41.671307 | long = -69.950154 | label = 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