What you’ll need

  • A spreadsheet of your locations (CSV with a header row)

    How to get this: A spreadsheet of your locations
    1. One row per shop or stockist: name, address, and latitude and longitude if you have them.
    2. Save it as CSV (File › Download › CSV in Google Sheets, or Save As › CSV in Excel).
  • Latitude and longitude for each location (a free batch geocoder fills them in from addresses)

    How to get this: Latitude and longitude for each location

    US: the free Census batch geocoder (10,000 addresses per file). Elsewhere: copy coordinates from a map app.

    Open the step-by-step guide (opens in a new tab)

  • The theme editor (to add a Custom Liquid block; no code editing)

    How to get this: The theme editor
    1. Online Store › Themes › Edit theme (on a copy of your theme if you want to test first).
    2. Add section or Add block › Custom Liquid, paste the code, then Save.

    Step-by-step guide (opens in a new tab)

1Load your locations

No list handy?

Making the CSV from Google Sheets or Excel

Put one location per row under a header row. In Google Sheets choose File › Download › Comma-separated values (.csv); in Excel choose File › Save As › CSV UTF-8.

How it works

  1. Your spreadsheet is read in this browser tab; columns are found by their names.
  2. Locations without coordinates get them from the US Census Bureau’s free batch geocoder (you upload the file there) or a map app.
  3. The builder checks every pin: ranges, swapped columns and pins far from the rest.
  4. It writes one Custom Liquid section with your locations, a searchable list and a MapLibre map on OpenFreeMap tiles, with OpenStreetMap attribution.
  5. The map library loads only when the locator scrolls into view, so your page stays fast.

Guides

Questions

Do I need a Google Maps API key?

No. The map uses MapLibre GL JS, an open-source map library, and OpenFreeMap tiles, which are free with no API key, no account and no limit on map views.

Which columns does my spreadsheet need?

A header row with Name and Address (plus City, State and Zip if you have them). Phone, Website, Hours and Note are optional. Latitude and Longitude columns are used as they are; otherwise the builder helps you get them free.

Can it look up coordinates for me?

It prepares the upload file for the US Census Bureau’s free batch geocoder (up to 10,000 addresses per file) and reads the result back in. Addresses are sent only to the Census, by you; this site never sends them anywhere.

Which themes does it work with?

Any Online Store 2.0 theme that has a Custom Liquid section, including Dawn and Horizon. The section uses its own styles and inherits your theme’s fonts and colors.

Is my list uploaded to your server?

No. The spreadsheet is read in this browser tab and the code is written here.

Based on MapLibre GL JS, OpenFreeMap, the US Census Geocoder and Custom Liquid sections.