Skip to content

Getting started with Mapfolk

After these steps your site has a map with a list and one filter group, running on OpenStreetMap without a key, an account or cookies. Mapfolk needs WordPress 6.5 or later and PHP 8.2 or later.

  1. Install and activate Mapfolk under Plugins. The menu item Mapfolk appears in the admin. As long as no map exists, every page of the menu opens Setup.
  2. In step Template, answer “What is the map for?” with one of four templates: Member directory, Business directory, Store locator or Locations. The template pre-fills the name of the entries, the first filter group and the fields, and you can change all of it later. Click Next.
  3. In step Source, decide where the entries come from:
    • Own post type: Mapfolk keeps the entries in its own post type. Check Name of the entries and First filter group.
    • Existing post type: the entries already exist on the site and stay where they are. Choose the Post type and, if the website of each entry is already stored in a field, pick that field under Link of the entries. Mapfolk shows the link and never changes it.
  4. In step First entries, choose Add by hand, Import or Later, then click Finish. Mapfolk creates the map and shows its shortcode with a Copy button.
  5. Add an entry under All locations with Add entry. Fill in Name, Link, Short text (at most 140 characters), Logo and Address. While you type, geo.admin.ch suggests addresses; the marker can be dragged to the exact spot. Under More fields you switch on Phone, Email, Opening hours, Description and Own text field for the whole map. Pick the terms of the filter group in the sidebar and click Publish.
  6. Put the map on a page with the block Mapfolk map or the shortcode. The article Adding the map with block and shortcode explains both. Which fields and filter groups a directory of members needs is the topic of the guide on adding a member directory with a map.

Addresses outside Switzerland and Liechtenstein

The default service for geocoding is geo.admin.ch (Switzerland and Liechtenstein). For entries in other countries, open Settings, tab Services, and choose Nominatim (OpenStreetMap) under Service for geocoding. Nominatim works worldwide without a key, but it only locates when an entry is saved and gives no suggestions while typing; its usage rules are compared with those of the other services in turning addresses into map coordinates. Mapfolk Pro adds Geoapify, which works worldwide with suggestions; see Radius search outside Switzerland and Liechtenstein with Geoapify.

What else you can set

Under Settings each map has the tabs Services, Display, Filters and Features. In Features you switch on, among others, Single page per entry, Directions link and Load map only after consent. The free plugin shows one filter group and the map and list side by side.

Adding Mapfolk Pro

Mapfolk Pro is a separate plugin from getmapfolk.com and needs Mapfolk installed and active. Upload and activate it, then enter your key under Settings, tab License, field License key, and click Activate. Pro adds up to 50 filter groups, radius search, Google Maps, the import from Excel and CSV, three layouts, five map styles and clustering. Your entries and settings stay as they are. Prices are on the home page.

Back to the documentation