Skip to main content

Maps and places

Members can add a place to a post and show where they are on their profile. Maps and places decides whether they see a map for it, and which service draws the map and finds the places they type. Nothing is sent to any map service until you choose one here.

Services, Maps and places: OpenStreetMap chosen, place search through Nominatim with a contact email, and the place the map starts at
Settings → Services → Maps and places

Choosing a map service​

Go to Poly Community → Settings → Services → Maps and places and choose the Map service:

  • Names only, no map: members type the name of a place. Nothing is sent to any map service, and no map is shown.
  • OpenStreetMap: the map and place search of OpenStreetMap itself, free and run by volunteers for light use. It suits a site with few members.
  • Your own map server: a tile server of yours or a paid one, such as MapTiler, Stadia Maps or Thunderforest, and a place search that answers as Nominatim or Photon does.

Press Save changes, then Test the service. The test asks the map and the search once, and says what works and what fails.

Then switch places on where members use them: Places on posts under Settings → Posts, and Member locations under Settings → Members.

OpenStreetMap​

With OpenStreetMap, choose the Place search:

  • Nominatim finds an address or a place by its name when a member presses Enter. Enter a Contact email: it is sent with each search, so the Nominatim team can write to you before they block the site.
  • Photon searches as members type, after a pause, and lists places nearby.
  • No search: members move the pin and name the place themselves.

Places nearby lets the picker list what is around the pin.

These servers are free and run by volunteers, and each has rules for the sites that use them. The screen lists them under Its usage rules, with what your site does to keep to them: the attribution stays on every map, browsers keep the tiles they got, Nominatim is asked one search at a time and never as you type, and every answer is kept a week. Once many members add places, choose a map server of your own or a paid one.

Your own map server​

  1. Map pictures: the address of its tiles, with {z}, {x} and {y}, and {key} where the key goes, such as https://api.maptiler.com/maps/streets/{z}/{x}/{y}.png?key={key}.
  2. Attribution and Attribution link: the words its terms ask on every map, such as © MapTiler © OpenStreetMap contributors.
  3. Closest zoom: how far its maps zoom in.
  4. Place search: one that asks as Nominatim does, one that asks as Photon does, or no search, with its Search address.
  5. Key: the key of the service, where its addresses hold {key}. The key reaches the browsers of members, so limit it to the domain of your site at the service.
Maps and places with Your own map server: Map pictures, Attribution, Attribution link, Closest zoom, Place search and Key
Your own map server

Where the map starts​

The map starts at takes a latitude and a longitude. Empty, it is the city of the time zone of your site.

What is sent where​

The place search always goes from your site, never from the browser of a member, so their address never reaches it. The map pictures go from the browser of the member to the map service, which sees their address, their browser, your site as the referrer and the part of the map they look at.

The exact spot of a member is kept only when they choose Exact spot. Area is the default, rounded to about a kilometre by your site. What is sent where, on the screen, lists each service with what it gets, for your privacy policy.