Service area maps for every location page
Short answer
Townsmith Pro gives each location page its own service area map: pins for the branches customers visit, and a shaded radius or the real county outline for the areas you travel to. Town pages list the nearest branches, and each branch can carry its own phone number, address and opening hours. Maps use OpenStreetMap, with no API key.
How does the map tell branches from travel areas?
There is no separate system for premises. Every town in the plugin already has a place for its coordinates, and what you add alongside them decides how it is drawn:
- Coordinates on their own draw a pin. Somewhere customers come to you.
- Coordinates and a radius draw a shaded circle. Somewhere you travel to, and how far.
- A looked-up outline draws the real boundary. A county or district you cover, instead of a circle that misses half of it.
So two clinics and a mobile service across six counties sit on one map and read differently from each other, which is the point of showing them at all.
Do I have to type in coordinates?
No. Each town has a button that looks it up on OpenStreetMap by name and stores the coordinates, and the outline where one exists, on your own site. A button in Pro settings does the same for every town still missing them, ten at a time, at the one request a second OpenStreetMap asks for. It tells you which place it matched, so you can correct it if it picked the wrong one.
For a branch, type its coordinates into the town’s details instead, because a town with an outline is drawn as that outline rather than a pin. The lookup only runs when you click, sends the town’s name, and the coordinates it finds also go into each page’s structured data.
Where do the maps go?
[townsmith_map]in your blueprint maps each page’s own area, so one line covers every location page.[townsmith_map scope="all"]on a hub page maps everything at once, branches and coverage together.[townsmith_map area="123"]maps one particular town anywhere you want it.
Scroll-wheel zoom is off, so the map never traps someone scrolling past it, and the map files load only on pages that show a map.
How do customers find the nearest branch?
[townsmith_nearby_locations] lists the branches closest to the page’s town, nearest first, with the distance, address, directions and phone number. Pro settings choose how far to look, and whether those branches also appear as pins on the page’s map.
Can each branch have its own number and address?
Yes, with Pro. The free plugin keeps one set of business details for the whole site, which is right for a firm working from one base. Pro adds a contact box to every town for a phone number, an address and opening hours.
- Leave a field empty and that town uses your main details, which is right for an area you travel to.
- Fill in an address and the whole address is used, never mixed with head office’s, so a branch cannot end up with its own street and head office’s postcode.
{{phone}}in your blueprint shows each branch’s own number, and{{address}}and{{opening_hours}}work the same way. When Townsmith writes the page’s business schema, it uses the same details.
If Yoast SEO, Rank Math, All in One SEO or SEOPress is running, that plugin owns the business schema, so give each branch its own entry in its location settings too. Give a town its own details only if it is a real place with real staff: a different number for every town you merely travel to creates the inconsistency the guide to NAP on location pages warns about.
What does a map load from outside my site?
Maps are off until you switch them on. Once they are on, each visitor’s browser loads map tiles from OpenStreetMap, so their IP address reaches openstreetmap.org and your privacy policy should say so. The mapping library ships inside the plugin rather than loading from a CDN, there is no API key or account, and the tile source can point at tiles you host or pay for. You can choose a Google map instead, which loads from Google. The free plugin makes no outside requests at all.
What does it cost?
Maps, nearest branches and per-branch details are part of Pro, with the same features on every plan. Pro runs on top of the free plugin, which builds the location pages themselves with no cap on services or towns, so you can start free and add maps when you want them. See pricing, or start with service area pages or city pages on the free plugin.
Common questions
Is this a service area map generator?
For a WordPress site, in effect yes. You enter your towns and regions once, and every location page draws its own service area map from them, so there is no drawing tool to learn and no map image to redo each time you add a town. The hub page can show every branch and area on one map.
Do I need a Google Maps API key?
No. The maps use OpenStreetMap tiles and a mapping library bundled with the plugin, with no key, account or usage bill. If you choose a Google map instead, Google’s standard embed needs no key either; add one to use Google’s Maps Embed API.
Can I draw my own territory?
Not by hand. A region is drawn from its real outline where OpenStreetMap has one, or as a radius you set. For an irregular patch, several towns with their own outlines or radii build up the shape between them.
Will a map slow my pages down?
Only pages that show a map load the map files, and the map draws from data already in the page rather than asking your server for more. The tiles load from OpenStreetMap as the visitor views the map, as with any web map.
Does the free plugin show maps?
No. The free plugin makes no outside requests, and map tiles are one, so maps are a Pro feature you choose to switch on. Everything else about the location pages, from generation to scoring and schema, is free.