wp-content/plugins/cartogram/cartogram.php
Cartogram
Locations as a real taxonomy, and a map block that loads nothing until someone asks for it.
== Description ==
Location plugins usually make you choose between a real taxonomy and a working map. Cartogram stores locations as a hierarchical taxonomy with coordinates in term meta, so archives, filters and the REST API all work — and the map is a separate, optional block on top.
The map block renders a static placeholder with the location name and a button. Nothing from a tile provider loads until the reader presses it. That is one fewer third party watching every visitor, and about 400KB of JavaScript nobody paid for.
Geocoding is optional and manual: paste coordinates, or click once to geocode a single term. There is no background process sending your address list anywhere.
== Screenshots ==
Numbered the way they ship in /assets/. Click any one to see it full width.
== Installation ==
- Install and activate the plugin.
- Create locations under Posts → Locations and add coordinates.
- Insert the Map block and choose a location, or let it use the post’s own.
A tile provider key is only needed for the interactive map. The taxonomy works without one.
== Frequently asked questions ==
Which tile providers work?
Anything serving standard raster or vector tiles. The readme has configuration for four, including two you can self-host.
Is the click-to-load required?
It is the default and I recommend keeping it. You can set the block to load immediately per instance.
== Changelog ==
= 2.1.0 =
- Static placeholder now shows the location name and a real address, so the map is useful before it loads.
- Coordinates exposed in the REST term response.
= 2.0.0 =
- Locations became a taxonomy. The old custom table is migrated and then dropped.
- Removed the bundled geocoder that phoned home on every save.