

A prefecture map on the front end. The 47 prefectures are grouped into Japan's eight standard regions, each with its own fill.
Japan Clickable Map turns a plain map of Japan into a navigation element. You
build a map in the WordPress admin — pick which prefectures to show, give them
colors and link targets — and then place it in any post, page or custom post
type with a shortcode or a block.
The map is rendered as inline SVG on the server. There is no external map
service, no API key and no JavaScript library to load: the front end only ships
a small script when a region popover is actually used.
full), or only the prefectures yourange). Any combination of prefectures is allowed.low, low-smooth, mid and high outlinelow-smooth keeps thelow outline but joins its points with curves for a softer coastline.aria-label. Any label can be overridden per prefecture.Shortcode:
[plg_jcm_map id="123"]
Optional attributes: level (low / low-smooth / mid / high) to override
the detail level saved on the map, and class to add your own CSS class.
Or insert the Clickable Map of Japan block and choose which map to display. The
block stores only the map ID and renders on the server, so editing a map updates
every place it is embedded.
Every option above is available here, and you can create as many prefecture maps
as you like. What the paid edition adds is a different level of detail:
maps at municipality level, where the clickable areas are cities, towns and
wards rather than prefectures, and where those areas can be grouped across
prefecture borders.
The bundled SVG maps in assets/svg/ are derived from the National Land
Numerical Information (Administrative Zones Data, N03) published by the
Ministry of Land, Infrastructure, Transport and Tourism of Japan (data as of
1 January 2024).
Processing applied to the original data: administrative polygons dissolved into
prefecture outlines, reprojection to Web Mercator (EPSG:3857), Okinawa moved
into an inset, vertex simplification, conversion to SVG, and the addition of
identifying attributes. See assets/svg/japan/README.md for details.
If you display these maps, please credit the source somewhere visible on the
page (a footer or a caption is fine):
「国土数値情報(行政区域データ)」(国土交通省)
(https://nlftp.mlit.go.jp/ksj/gml/datalist/KsjTmplt-N03-v3_1.html) を加工して作成