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

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


Location map of Cape Cod
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 / 41.7965195; -70.31145
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":

Map definition

  • name = Cape Cod
    Name used in the default map caption
  • 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/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 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:

See also

Location map templates

Creating new map definitions

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.