GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • by Mindstellar
  • Features
  • Shop beta
  • Docs
  • Blog
  • From Osclass
  • GitHub
  • Live demo
  • Plugins
  • Themes
  • Compare classifieds software
  • Releases
  • Developer docs
  • Security

This view

  • Original page
  • New address

GeezerVison is showing mindstellar.com — Google Maps Geocoder plugin for ShopClass classifieds sites and shops

Google Maps Geocoder

Find the exact map position of a listing from its street address with the Google Geocoding API, for distance search.

Download 0.1.2 Source code
Version
0.1.2
Updated
19 November 2026
Works with
Classifieds and shops
Needs
ShopClass 7.0 or later
PHP
8.0 or later
Tested with
ShopClass 7.0
Category
Integrations
Price
Free
Licence
GPL-3.0+
Downloads
36
Made by
Navjot Tomer

Get it from your admin

In your ShopClass admin, open Plugins → Manage plugins, then the Browse tab, and install Google Maps Geocoder. Updates show up in the same place. You can also upload the zip file.

php oc-cli.php market:install google-geocoder

More about installing plugins

Finds the exact map position of a listing from its street address, using the Google Geocoding API. Distance search then uses that point instead of the city or region centre.

Requirements

  • ShopClass 7.0.0 or later
  • PHP 8.0 or later, with the curl extension
  • A Google Cloud project with billing on and the Geocoding API enabled

Install

  1. Open Plugins → Browse (or upload the zip from the GitHub release).
  2. Install.
  3. Activate.

Set up

  1. In Google Cloud, create an API key, enable the Geocoding API for it, and restrict it by IP address to your server.
  2. Open Plugins → Google Maps Geocoder → Settings (Plugins → Google Maps Geocoder on ShopClass 7.0) and paste the key into Server API key.
  3. Open Settings → General → Maps and choose Google Maps under Address lookup.

Use a separate key, not the Maps JavaScript key from Settings → General. That key is public and limited to your site's web address, so Google refuses it for lookups made by the server.

How it works

  • A lookup runs from the job queue after a listing with a street address is saved. Visitors do not wait for it.
  • Cron (or auto-cron) must be running. A queue worker makes it faster.
  • Nothing runs on a normal page load.

Notes / limits

  • The saved key is never shown again. Leave the box blank to keep it.
  • A quota error, a refused key or an unreachable service makes the lookup fail. ShopClass tries again later.
  • An address Google cannot find is remembered for a day.
  • Positions are kept for 30 days, the longest Google allows.
  • Google's terms want results shown on a Google map. Use this plugin with the Google Maps display, not another map. The plugin prints no attribution.
  • On uninstall, the settings are removed. If Address lookup named this plugin, it is reset to none.
  • Works on shared hosting.

For developers

Run the tests with ./tests/run.sh. They need no network. Core is read from ../shopclass, or from SHOPCLASS_CORE.

Support

https://github.com/mindstellar/shopclass-plugin-google-geocoder/issues

What's new in 0.1.2

Changed

  • Admin pages are under Plugins → Google Maps Geocoder.

Found a problem with Google Maps Geocoder? Open an issue on GitHub.

More plugins

  • CloudflareIntegrations · For classifieds and shopsPurge Cloudflare's cache when listings change, install the recommended cache rules, and view cache analytics.FreeGPL-3.0+v1.3.1
  • LocationIQ GeocoderIntegrations · For classifieds and shopsFind the exact map position of a listing from its street address with LocationIQ, in the background and within a daily limit.FreeGPL-3.0+v0.1.4
  • TaxIntegrations · For shopsTax on every cart and order for any country: default, country and category rates, prices with or without tax, and a tax invoice.FreeGPL-3.0+Needs ShopClass 7.1 betav0.3.1

All plugins

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.