Skip to content

Radius search outside Switzerland and Liechtenstein with Geoapify

In Switzerland and Liechtenstein the radius search of Mapfolk Pro finds places out of the box, with no key. With Geoapify as geocoding service, it finds places and postcodes in every country. Visitors type a place or postcode, choose a radius, and the list shows the entries in that radius sorted by distance.

Why Geoapify

The radius search turns what a visitor types into a point, using the geocoding service of the map. geo.admin.ch, the default, only finds places in Switzerland and Liechtenstein. Nominatim may not be used for searches by visitors under the usage rules of OpenStreetMap, so with Nominatim set, Mapfolk looks up the visitor’s place with geo.admin.ch as well. Geoapify works worldwide and also suggests addresses while you type an entry.

Get a Geoapify key

  1. Create a free account at myprojects.geoapify.com. No credit card is needed.
  2. Click Create project. Geoapify creates the first API key of the project automatically.
  3. Copy the key from the project.

Geoapify’s Free plan includes 3,000 credits a day, and one geocoding request costs one credit. The terms of Geoapify, version 5 of 2 February 2024, read on 6 December 2026, allow commercial use of the Free plan in development and, with some limitations, in production, and refer to Geoapify for the details. On the Free plan the same terms make Geoapify attribution mandatory, which Mapfolk shows on the map as “Powered by Geoapify”.

Set up Mapfolk

  1. Open Mapfolk, Settings, tab Services. Under Geocoding, choose Geoapify as Service for geocoding.
  2. Paste the key into Key for Geoapify and click Save services. The key applies to the whole site; the service is chosen per map.
  3. Open the tab Features. Under Search, switch on Radius search. Radius selectable is on by default and shows visitors the radius selection. Visitor location adds a button that uses the visitor’s location, after the browser asks for permission.
  4. Click Save features.

On the page, a field Place or postcode and a radius selection from 5 to 100 km now sit above the list, with the Default radius preselected (25 km out of the box, set under Features). With Radius selectable switched off, the selection is not shown and the map searches within the default radius. Each entry shows its distance.

Good to know

  • Entries keep the coordinates they already have. Changing the service only affects new entries and entries you locate again, under All locations with Locate all or in the entry with Locate again.
  • Mapfolk stores every searched place for one day, so a repeated search does not reach Geoapify again.
  • One IP address can send at most 30 new searches to the service in ten minutes; after that the map asks the visitor to wait a moment.
  • If the search finds no place, the visitor sees a note to try a postcode or a place name.

Entries need coordinates to appear in the radius search. The article Importing entries explains how to bring addresses in and locate them in a batch.

Back to the documentation