Template:Locate address: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
(Added type parameter)
(Another trick)
 
Line 17: Line 17:
<nowiki>{{</nowiki>Locate_address | address = 710+20th+St+N <nowiki>}}</nowiki>
<nowiki>{{</nowiki>Locate_address | address = 710+20th+St+N <nowiki>}}</nowiki>


Keep in mind that pointers based on a street address are approximate and occasionally wildly incorrect.  You are encouraged to use the "Show preview" button and open the link in a new window or tab to confirm the location displays as desired.  Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.
Keep in mind that pointers based on a street address are approximate and occasionally wildly incorrect.  You are encouraged to use the "Show preview" button and open the Google Maps link in a new window or tab to confirm the location displays as desired.
 
It is also possible to sometimes use a name rather than an actual street address.  For example, Google Maps has [[Tannehill Ironworks Historical State Park]] defined as Tannehill State Park, West Blocton, ALTherefore, "Tannehill State Park" can be used as the address with a city of West Blocton.
 
Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.


[[Category:Mapping_templates|Locate address]]
[[Category:Mapping_templates|Locate address]]
</noinclude>
</noinclude>

Latest revision as of 12:40, 18 June 2010

Locate with
Google Maps





Parameters:

  • address (spaces must be replaced with "+")
  • city (defaults to "Birmingham")
  • state (defaults to "AL")
  • zoom (0-17, recommended 10-16, defaults to 15)
  • type ("m" for map (default), "k" for satellite, "h" for hybrid)

Locate with
Google Maps

Example:
{{Locate_address | address = 710+20th+St+N }}

Keep in mind that pointers based on a street address are approximate and occasionally wildly incorrect. You are encouraged to use the "Show preview" button and open the Google Maps link in a new window or tab to confirm the location displays as desired.

It is also possible to sometimes use a name rather than an actual street address. For example, Google Maps has Tannehill Ironworks Historical State Park defined as Tannehill State Park, West Blocton, AL. Therefore, "Tannehill State Park" can be used as the address with a city of West Blocton.

Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.