Advanced Map Creation
This page describes how the URLs for the maps are created. It exists to aid webmasters in making changes to their existing map code, or for those who want a little more control over how their map is presented.
Maintaining a link from your web site back to the VisitorMap.org web site is required per the Terms of Service.
Map URLs are constructed using parameter name/value pairs. Consider the following example:
The URL begins with
http://www.visitormap.org/map/ - all map URLs start with this.
The rest of the URL consists of colon-separated key/value pairs, with a
.png tacked on at the end. The
.png isn't required for the VisitorMap.org website to serve the map image, but some social networking sites require it as a security precaution.
Let's look at each of the key/value pairs, what they're for, and what the different options for each of them are.
The m parameter is the map ID. The map ID is a unique combination of letters that identifies a specific map. This parameter is required in order to keep track of how many visitors have visited your web site. It's recommended that you don't change the map ID assigned during the map creation process.
The s parameter indicates the map size. There are three possible options, although only two are available via the creation tool on the VisitorMap.org home page. The possible options are:
- 0 - 180 x 90
- 1 - 360 x 180
- 2 - 720 x 360
Note: It is not recommended that you use this size. It will remain available as long as it is not abused.
The y parameter indicates the map style. At the time of this writing, there are seven map styles available, but more may be added periodically. For a current list of available map styles, consult the HTML source of the VisitorMap.org home page. The currently available styles are:
- 0 - Default Map (full color satellite image)
- 1 - Greyscale
- 2 - Rainbow
- 3 - The Blues
- 4 - Night Vision
- 5 - Antique
- 6 - One World
The p parameter specifies the type of visitor marker to be drawn on the map. These are the little dots, stars, etc. that each represent a visitor to your web page. At the time of this writing, there are six markers available, but more may be added periodically. For a current list of available markers, consult the HTML source of the VisitorMap.org home page. The currently available markers are:
The markers noted with an asterisk can be created using any color. Color specification is explained below. If a custom color is specified for a marker that doesn't support custom colors, it will default to red.
- dot - Small Dot*
- lgdot - Large Dot*
- cross - Crosshair*
- star - Star
- tri - Triangle
- pin - Pushpin
The c parameter specifies the color to be used for the image text and the visitor marker (see above). It is specified in lower case, using hexidecimal RGB format. You will recognize this format if you define colors in a stylesheet, or if you use pretty much any graphics program (e.g. Photoshop). At the time of this writing, there are twelve standard colors available, but more may be added periodically. For a current list of standard colors, consult the HTML source of the VisitorMap.org home page. The current standard colors are:
- ff0000 - Red
- 00ff00 - Green
- 0000ff - Blue
- 00ffff - Light Blue
- 808000 - Olive
- ffff00 - Yellow
- ff0080 - Pink
- ff8000 - Orange
- c0c0c0 - Light Grey
- 808080 - Dark Grey
- ffffff - White
- 000000 - Black
If you have any questions about the URL format, or if you believe that any of the information on this page needs further explanation, please don't hesitate to drop us a line.