{"id":348817,"date":"2026-08-10T09:51:19","date_gmt":"2026-08-10T09:51:19","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/japan-clickable-map\/"},"modified":"2026-08-10T12:40:53","modified_gmt":"2026-08-10T12:40:53","slug":"japan-clickable-map","status":"publish","type":"plugin","link":"https:\/\/it.wordpress.org\/plugins\/japan-clickable-map\/","author":23542300,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.3","requires":"6.6","requires_php":"8.1","requires_plugins":null,"header_name":"Japan Clickable Map","header_author":"Plugear","header_description":"Place a clickable map of Japan's 47 prefectures with a shortcode or block. Per-prefecture links, colors and grouped regions.","assets_banners_color":"ebeffe","last_updated":"2026-08-10 12:40:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/plugear.net\/plugins\/japan-clickable-map\/","header_author_uri":"https:\/\/plugear.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":30,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"plugear","date":"2026-08-10 12:40:53"}},"upgrade_notice":{"1.0.0":"<p>First release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3640298,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3640298,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3640298,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3640298,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"plg-jcm\/map":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"plg-jcm\/map","title":"Clickable Map of Japan","category":"widgets","icon":"location-alt","description":"Place a prefecture map (a clickable map of Japan) that you set up under Clickable Maps.","keywords":["map","japan","prefecture","clickable"],"textdomain":"japan-clickable-map","supports":{"html":false,"customClassName":false,"reusable":true},"attributes":{"id":{"type":"integer","default":0}},"editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3640298,"resolution":"1","location":"assets","locale":"","width":1624,"height":1856},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3640298,"resolution":"2","location":"assets","locale":"","width":1624,"height":1856},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3640298,"resolution":"3","location":"assets","locale":"","width":1876,"height":1160},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3640298,"resolution":"4","location":"assets","locale":"","width":1876,"height":1464},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3640298,"resolution":"5","location":"assets","locale":"","width":1920,"height":1448},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3640298,"resolution":"6","location":"assets","locale":"","width":2880,"height":1240},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3640298,"resolution":"7","location":"assets","locale":"","width":2476,"height":1920}},"screenshots":{"1":"A prefecture map on the front end. The 47 prefectures are grouped into Japan's eight standard regions, each with its own fill.","2":"Clicking a region opens a popover carrying its own heading, body text and links.","3":"The map editor. Prefectures are listed by region, and colors and links can be overridden one prefecture at a time.","4":"Colors: a default fill plus a color per region, with your saved presets next to every picker.","5":"The preview modal inside the editor, so you can check a map without leaving the edit screen.","6":"Placing a map with the block. The block stores only the map ID and renders on the server.","7":"Saved color presets, reusable across maps."}},"plugin_section":[],"plugin_tags":[27305,11393,2909,274983,80],"plugin_category":[43,49],"plugin_contributors":[274984],"plugin_business_model":[],"class_list":["post-348817","plugin","type-plugin","status-publish","hentry","plugin_tags-clickable","plugin_tags-japan","plugin_tags-map","plugin_tags-prefecture","plugin_tags-shortcode","plugin_category-customization","plugin_category-maps-and-location","plugin_contributors-plugear","plugin_committers-plugear"],"banners":{"banner":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/banner-772x250.png?rev=3640298","banner_2x":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/banner-1544x500.png?rev=3640298","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/icon-128x128.png?rev=3640298","icon_2x":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/icon-256x256.png?rev=3640298","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-1.png?rev=3640298","caption":"A prefecture map on the front end. The 47 prefectures are grouped into Japan's eight standard regions, each with its own fill."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-2.png?rev=3640298","caption":"Clicking a region opens a popover carrying its own heading, body text and links."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-3.png?rev=3640298","caption":"The map editor. Prefectures are listed by region, and colors and links can be overridden one prefecture at a time."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-4.png?rev=3640298","caption":"Colors: a default fill plus a color per region, with your saved presets next to every picker."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-5.png?rev=3640298","caption":"The preview modal inside the editor, so you can check a map without leaving the edit screen."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-6.png?rev=3640298","caption":"Placing a map with the block. The block stores only the map ID and renders on the server."},{"src":"https:\/\/ps.w.org\/japan-clickable-map\/assets\/screenshot-7.png?rev=3640298","caption":"Saved color presets, reusable across maps."}],"raw_content":"<!--section=description-->\n<p>Japan Clickable Map turns a plain map of Japan into a navigation element. You\nbuild a map in the WordPress admin \u2014 pick which prefectures to show, give them\ncolors and link targets \u2014 and then place it in any post, page or custom post\ntype with a shortcode or a block.<\/p>\n\n<p>The map is rendered as inline SVG on the server. There is no external map\nservice, no API key and no JavaScript library to load: the front end only ships\na small script when a region popover is actually used.<\/p>\n\n<h4>Building a map<\/h4>\n\n<ul>\n<li><strong>Map range<\/strong> \u2014 show all 47 prefectures (<code>full<\/code>), or only the prefectures you\npick (<code>range<\/code>). Any combination of prefectures is allowed.<\/li>\n<li><strong>Detail level<\/strong> \u2014 choose between <code>low<\/code>, <code>mid<\/code> and <code>high<\/code> outline accuracy, so\nyou can trade file size for coastline detail.<\/li>\n<li><strong>Insets<\/strong> \u2014 Okinawa, the Northern Territories and the Ogasawara Islands are\nplaced at fixed positions inside the map frame instead of stretching it.<\/li>\n<li><strong>Grouping (full mode)<\/strong> \u2014 treat each prefecture as its own clickable area, or\ngroup prefectures into regions. Regions can follow Japan's standard eight\nregions, or you can define your own grouping per map.<\/li>\n<li><strong>Region behavior<\/strong> \u2014 a region can link straight to a URL, or open a popover\nlisting the destinations inside it (hover or click).<\/li>\n<li><strong>Colors<\/strong> \u2014 set a default fill for the map and override it per prefecture.<\/li>\n<li><strong>Links<\/strong> \u2014 set a link per prefecture or per region. A prefecture with no link\nis not clickable and does not change the cursor.<\/li>\n<li><strong>Link targets<\/strong> \u2014 enter a URL by hand, or search your site and pick a post,\npage, custom post type entry or taxonomy term, so links keep working when\npermalinks change.<\/li>\n<li><strong>Labels<\/strong> \u2014 prefecture and region names are drawn on the map and exposed to\nscreen readers as <code>aria-label<\/code>. Any label can be overridden per prefecture.<\/li>\n<li><strong>Color presets<\/strong> \u2014 save the palettes you use often and reuse them across\nmaps.<\/li>\n<li><strong>Preview<\/strong> \u2014 check the finished map in a modal without leaving the editor.<\/li>\n<\/ul>\n\n<h4>Placing a map<\/h4>\n\n<p>Shortcode:<\/p>\n\n<pre><code>[plg_jcm_map id=\"123\"]\n<\/code><\/pre>\n\n<p>Optional attributes: <code>level<\/code> (<code>low<\/code> \/ <code>mid<\/code> \/ <code>high<\/code>) to override the detail\nlevel saved on the map, and <code>class<\/code> to add your own CSS class.<\/p>\n\n<p>Or insert the <strong>Clickable Map of Japan<\/strong> block and choose which map to display. The\nblock stores only the map ID and renders on the server, so editing a map updates\nevery place it is embedded.<\/p>\n\n<h4>Prefecture level, without limits<\/h4>\n\n<p>Every option above is available here, and you can create as many prefecture maps\nas you like. What the paid edition adds is a different level of detail:\n<strong>maps at municipality level<\/strong>, where the clickable areas are cities, towns and\nwards rather than prefectures, and where those areas can be grouped across\nprefecture borders.<\/p>\n\n<h4>Map data<\/h4>\n\n<p>The bundled SVG maps in <code>assets\/svg\/<\/code> are derived from the <em>National Land\nNumerical Information (Administrative Zones Data, N03)<\/em> published by the\nMinistry of Land, Infrastructure, Transport and Tourism of Japan (data as of\n1 January 2024).<\/p>\n\n<ul>\n<li>Source: https:\/\/nlftp.mlit.go.jp\/ksj\/gml\/datalist\/KsjTmplt-N03-v3_1.html<\/li>\n<li>Terms: https:\/\/nlftp.mlit.go.jp\/ksj\/other\/agreement_01.html \u2014 the Japanese\nGovernment Standard Terms of Use (version 2.0), which are compatible with\nCC BY 4.0. Modification, redistribution and commercial use are permitted as\nlong as the source is credited.<\/li>\n<\/ul>\n\n<p>Processing applied to the original data: administrative polygons dissolved into\nprefecture outlines, reprojection to Web Mercator (EPSG:3857), Okinawa moved\ninto an inset, vertex simplification, conversion to SVG, and the addition of\nidentifying attributes. See <code>assets\/svg\/japan\/README.md<\/code> for details.<\/p>\n\n<p><strong>If you display these maps, please credit the source<\/strong> somewhere visible on the\npage (a footer or a caption is fine):<\/p>\n\n<blockquote>\n  <p>\u300c\u56fd\u571f\u6570\u5024\u60c5\u5831\uff08\u884c\u653f\u533a\u57df\u30c7\u30fc\u30bf\uff09\u300d\uff08\u56fd\u571f\u4ea4\u901a\u7701\uff09\n  (https:\/\/nlftp.mlit.go.jp\/ksj\/gml\/datalist\/KsjTmplt-N03-v3_1.html) \u3092\u52a0\u5de5\u3057\u3066\u4f5c\u6210<\/p>\n<\/blockquote>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/japan-clickable-map\/<\/code>, or install\nit from <strong>Plugins \u2192 Add New<\/strong> in your dashboard.<\/li>\n<li>Activate it through the <strong>Plugins<\/strong> screen.<\/li>\n<li>Go to <strong>Clickable Maps \u2192 Add New<\/strong>, choose the prefectures, colors and\nlinks, then publish.<\/li>\n<li>Copy the shortcode shown on the edit screen into a post or page, or insert\nthe <strong>Clickable Map of Japan<\/strong> block and pick your map.<\/li>\n<\/ol>\n\n<h4>Building the block from source<\/h4>\n\n<p>The editor script in <code>block\/build\/<\/code> is compiled with\n<a href=\"https:\/\/www.npmjs.com\/package\/@wordpress\/scripts\">@wordpress\/scripts<\/a>. The\nunminified sources ship in <code>block\/src\/<\/code>. To rebuild:<\/p>\n\n<pre><code>npm install &amp;&amp; npm run build:block\n<\/code><\/pre>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20map%20need%20an%20api%20key%20or%20an%20external%20service%3F\"><h3>Does the map need an API key or an external service?<\/h3><\/dt>\n<dd><p>No. The maps are SVG files bundled with the plugin and rendered on your own\nserver. Nothing is requested from a third party, and the plugin makes no\noutbound HTTP requests at all.<\/p><\/dd>\n<dt id=\"can%20i%20show%20only%20part%20of%20japan%3F\"><h3>Can I show only part of Japan?<\/h3><\/dt>\n<dd><p>Yes. Set the map range to <code>range<\/code> and pick the prefectures you want. Only those\nare drawn, and the viewBox is fitted to them.<\/p><\/dd>\n<dt id=\"can%20a%20click%20open%20a%20category%20or%20a%20specific%20post%3F\"><h3>Can a click open a category or a specific post?<\/h3><\/dt>\n<dd><p>Yes. Instead of typing a URL you can search your site and select a post, page,\ncustom post type entry or taxonomy term. The link is resolved at render time, so\nit survives permalink changes.<\/p><\/dd>\n<dt id=\"are%20the%20maps%20accessible%3F\"><h3>Are the maps accessible?<\/h3><\/dt>\n<dd><p>Clickable areas are real links with an <code>aria-label<\/code> carrying the prefecture or\nregion name. Prefectures without a link are inert and are not focusable.<\/p><\/dd>\n<dt id=\"the%20map%20is%20too%20wide%20on%20mobile.\"><h3>The map is too wide on mobile.<\/h3><\/dt>\n<dd><p>The SVG scales to the width of its container. Wrap the shortcode in your own\nelement, or add a class with the <code>class<\/code> attribute and size it in your theme's\nCSS.<\/p><\/dd>\n<dt id=\"what%20happens%20to%20my%20maps%20if%20i%20uninstall%20the%20plugin%3F\"><h3>What happens to my maps if I uninstall the plugin?<\/h3><\/dt>\n<dd><p>Nothing is deleted by default. If you want a clean removal, enable\n<strong>Delete all data for this plugin on uninstall<\/strong> on the plugin's settings screen before you\ndelete the plugin.<\/p><\/dd>\n<dt id=\"what%20does%20the%20paid%20edition%20add%3F\"><h3>What does the paid edition add?<\/h3><\/dt>\n<dd><p>Municipality-level maps: the clickable areas become cities, towns and wards\ninstead of prefectures, and they can be grouped across prefecture borders.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release.<\/li>\n<\/ul>","raw_excerpt":"Place a clickable map of Japan&#039;s 47 prefectures with a shortcode or block. Per-prefecture links, colors and grouped regions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/348817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=348817"}],"author":[{"embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/plugear"}],"wp:attachment":[{"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=348817"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=348817"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=348817"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=348817"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=348817"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/it.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=348817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}