This template is used to create the specific service station maps, such as at Map:Strensham, and should be used as follows, and like all templates most of the variables aren't necessary:
{{Map
|overall-lat - if more than one marker is being displayed on the map, you'll need to specify the centre of the map with this
|overall-lon - as above, but for the longitude
|lat1 - the latitude of the services (where the marker should be)
|lon1 - as above, but for the longitude
|dir1 - if the services are direction-specific, put "north"/"south"/"west"/"east" here. Each one is short for northbound and so on, not the services location relative to the road
|lat2 - if there are two sides to the services, but the latitude of the second marker here
|lon2 - as above, but for the longitude
|dir2 - the side of the services this marker applies to
|directions - simple directions from the motorway to the services
}}
The latitude and longitude is widely available from online services. Note that we need the location to be previse, because this data may be used by sat navs. The icon should point to the slip road leading in to the service area, at the last possible point before the user needs to pick which parking area or facility they want (in other words, at any point before a sat nav might pick up another road on its map that it could send you down).
Note that the map guesses what colour icon should be used by looking for the appropriate Template:Services, so the page name should be the same. This creates a bug, where truckstops will be shown in their road colour, rather than their more common black.
This template adds dedicated map pages for each service area.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the service area, if it's not obvious from the page name.
| String | optional |
Latitude | lat1 | The latitude of the service area entrance (where it leaves the road). If there are two sides, use the north or westbound side.
| Number | required |
Longitude | lon1 | The longitude of the service area entrance (where it leaves the road). If there are two sides, use the north or westbound side. Remember longitudes are often negative!
| Number | required |
Direction | dir1 | If there are two sides to the service area, explain which one the first one was.
| String | optional |
Latitude 2 | lat2 | If there is a second side to the services, give the latitude to its entrance (where it leaves the road) here.
| Number | optional |
Longitude 2 | lon2 | If there is a second side to the services, give the longitude to its entrance (where it leaves the road) here. Remember longitudes are often negative!
| Number | optional |
Direction 2 | dir2 | If the service area has two sides, explain what the second side was.
| String | optional |
Overall Latitude | overview-lat | If there are two sides to the service area, define a central point that the map can focus on.
| Number | optional |
Overall Longitude | overview-lon | If there are two sides to the service area, define a central point for the map to focus on. Remember longitudes are often negative!
| Number | optional |
Directions | directions | Give directions of how to get to the service area from each approach (excluding minor roads). | Content | required |
Type | type | If set to closed or planned, it will change the structure of the page. Embed disables many features.
| String | optional |
Class | class | For embedded pages, set the road type.
| String | optional |
Grid Reference | gridref | For embedded pages - the OS grid reference.
| String | suggested |
Country | country | If this page is about a service area in Ireland, it needs to be stated, as different maps will be provided.
| String | optional |