AboutUsMaps

AboutUsMaps refers to a variety of technologies at AboutUs to provide different maps on article and category pages. These include:

DomainBox Maps

DomainBoxMap.jpg
Maps in the AboutUs DomainBox are a great way to provide readers a visual idea of the location of your business. However, because the maps are seeded with information from the domain's WHOIS record, occasionally the address is old or just plain wrong.

Fortunately, changing (or taking out the map) is relatively easy and only takes a few minutes.

Basics

DomainBox Maps are generated via one of two methods:

  • An appropriately formatted Address section on a DomainPage
  • The latitude/longitude coordinates for the location

To view (and change) the DomainBox Map code, click the brown "edit" option at the top of the domain page just below the Find!/search bar to edit the entire page. The DomainBox is generally at the top or near the top of any Aboutus page code.

Depending on the method, the code will look something like this:

  • map = <map section="Address"></map> | 
  • map = <map latitude="42.5454"  longitude="-83.2139"></map> | 

(NOTE: If you want to switch the method the map is generated, just copy the appropriate code above and replace the other one.)

Address formatting

For most usage, having the map generate from the Address section is the easiest and simplest way. Assuming the
map = <map section="Address"></map> | 
is already in the DomainBox, just find the Address section under the "edit wiki" option. It will look something like this:
==Address==
:107 SE Washington Street
:Portland, OR 97214

Simply change the address and you're set to go.

Multiple Address Support

DomainBoxMap2.jpg
The DomainBox map even allows for multiple addresses, although the formatting is a bit trickier:
==Address==
'''AboutUs'''
:107 SE Washington Street
:Portland, OR 97214

'''Apple Computer'''
:1 Infinite Loop
:Cupertino, CA 95014

'''Microsoft Corporation'''
:One Microsoft Way
:Redmond, WA 98052-6399

Each address needs to be formatted with a return between them. The titles are optional, but if you include them, they will show up on the map when you click the map point.

Address Formatting Limitations

Some international addresses don't map correctly, and you'll need to experiment a little (or use the latitude/longitude mapping method). Often simply removing the street address (just having city, state, country) works.

Using Latitude/Longitude for Maps

If you have an international address that doesn't want to map correctly using the "Address Section" option OR you want to eliminate that section while still showing a map, you can always have the map generate using latitude/longitude.

To review, the code under "edit wiki" will look something like this:

map = <map latitude="42.5454"  longitude="-83.2139"></map> | 

Simply replace the latitude and longitude numbers for the coordinates you want. There are a variety of different websites that will convert addresses into latitude/longitude:

Changing Map Zoom Level

For both the "Address Section" and "Latitude/Longitude" mapping methods, you can change the zoom level of the map by adding a parameter of code:

map = <map zoom="12" section="Address"></map> 

A smaller number will zoom out, and a larger number will zoom in further.

Forcing maps to turn off on a page

If you don't want the map to show in the AboutUs DomainBox, you can remove the whole map tag or (recommended) give it a nomap tag for section (making it easier to add the map back later).

map = <map section="nomap"></map> | 

Google Maps

Instructions are at googlemap

Following the example on John's page, linked above, you will need to insert the correct lat and lon coordinates for your location. I found this map, which will pop up your lat and lon. Just put your address in below the map, when you've found your location then copy and paste the info from the boxes on the right of the map. WillyP | talk

Category Intersect Maps

Instructions coming.



Retrieved from "http://aboutus.com/index.php?title=AboutUsMaps&oldid=19710685"