Sorry, this page is a work in progress…
Description
Maps are in principle interactive images. Interactivity is created using html Canvas which renders e.g. areas, labels, objects/icons on top of a background image. Using Canvas’ API isPointInPath() method click and hover position can be determined. Using html Canvas also offers significantly more technical options over e.g. using html image area maps.
On click, a infobox with more information about the element will be shown and if applicable a link to a related post will be provided.
Internal Wiki Post Type is optimized to link with maps.
Functionality
Maps can work as independent posts and support the classic editor to give more context to your map posts. However, map types only support the classic editor.
If you want to use Gutenberg or any other editor to embed your maps, use the Map Block. Inside the editor, its call sign is: CNS Map . Inside the right hand menu block inspector, you can link a map to your CNS Map block. Please note that the map block does not render inside the editor, but only on frontend.
CNS Map Block
The CNS Map Block takes content width to the maximum set on the individual map. Infoboxes are rendered on top of your page. If you are familiar with CSS and want to change the Infobox design on your site you can do so targeting the following tags. Note that simple color adjustments can be done inside the global CNS Map settings and on individual Infobox level.
#clouansp-map-drawer -> Infobox container, fixed on top of the page
.clouansp-map-drawer__backdrop ->Invisible backdrop, on click outside of the infobox, closes infobox
-----
.clouansp-map-drawer__panel -> The actual infobox
.clouansp-map-drawer__header -> Infobox header and title section
.clouansp-map-drawer__body -> Infobox contents outer
.clouansp-map-drawer__infobox -> Infobox contents inner
.clouansp-map-drawer__link -> Read more link
I don’t recommend doing non-cosmetic edits if you are not familiar with HTML/CSS/JS. As e.g. toggle functionality may break.
Settings
Inside the CNS menu you can set the base setup for your maps.

Options
- Admin menu visibility – Display “Maps” in the admin sidebar. Purely cosmetical option. You can always access your Map Post editor via the individual map screen.
- Map Controls – Colors for your map control elements (Toggles, Fullscreen, zoom). Global control colors can be overwritten on a per map basis.
- Danger Zone – Deactivating the plugin is no issue, however deletion will always delete all your map data. This is a current technical limitation, as maps use a custom database table. To comply with WordPress cleanup rules, there is currently no good way to leave the option of keeping Map tables but deleting the Plugin, as you would be left with a large amount of unusable data in your database. Current top priority is to create backup functionality for map tables.
Map Creation and Editing
1. Settings Tab

Inside each map you can do the following settings:
- Map Title
- MasterMap Toggle
- Mastermaps are relay maps, that link to other maps rather than contents. Imagine it as a zoom in functionality to go from a global map to a regional map.
- Aspect Ratio
- Aspect Ratio of your Map Canvas. Note that your Map Canvas Does not necessarily have to perfectly coincide with your map image.
- 1 = Square Mode
- 1 > Portrait Mode
- 1< Landscape Mode
- Aspect Ratio works in conjunction with image width, and image x/y offset to setup your canvas.
- Aspect Ratio of your Map Canvas. Note that your Map Canvas Does not necessarily have to perfectly coincide with your map image.
- Max Width of your canvas inside e.g. posts. The canvas will always take 100% of the content width, however to avoid e.g. having your map look bad on a large screen it is recommend to set a max width for your map canvas to display in the best ratio possible.
- Base Map Image – Your main map image you want to link with your contents.
- Map Background
- The layer rendered behind your map image. This is mainly for when you want give your map a nice frame or some extra space to set other linked objects e.g. flags and legends.
- Map Backgrounds can be images or single colors
- Thumbnail – Post thumbnail
- Set custom controls color
- Overwrite the global control elements color for this map (Toggles, fullscreen, zoom)
- Frontend layers
- Set the areas/objects/labels display default settings. Readers can always toggle them on/off in live frontend.
- Status (Draft/Published/Private)
- Publishing status runs along the same lines of regular WordPressPosts.
- Note that maps that are not published may not be fully discoverable in other use cases or may cause issues when linked or uses in other places.
2.Description Tab

Classic Editor panel to write the map description to be displayed underneath a map in the map single post. Best for quick edits, but for extensive edits, you should use the WordPress editor screen.
3. Map Objects Tab

Objects are single icon anchors on a map. On click they open an infobox, which can either be set manually or be derived from a connected Wiki’s Infobox.
Map Canvas
The central image area is the editing canvas. Use it to add or place map objects
- Click an object to pick it up — it will follow the cursor.
- Click again or press Enter to place object.
- Press Esc to cancel current placement.
- Click empty canvas to place a new object at position.
- Edit object contents it in the side panel.
- While object is seleted:
- Enter – pick up
- Arrow keys – nudge
- Ctrl/⌘ + C & V – copy & paste
- Ctrl/⌘+D – duplicate
- Delete – remove
Object list
List of all map objects on your map and quick actions.
Pro tip: Rather than clicking an object on the map to select an object, select it by pressing the edit button on the object list. This way you can edit its contents straight without going into placement mode (Which you can also cancel with esc, without overwriting your current object position).
Object Editor
Edit an objects display, its infobox and its linked content. Remember to press save to save your individual object edits.
- Display Setting Modes
- Round/Square/Diamond – Standard icons. Edit their appearance in the the Design section.
- Icon
- Select or upload an icon to the CNS icon library. SVG compatible. Normal design options still apply. To display no background color set opacity to 0%.
- For SVGs – Fill and Stroke properties can be set, but compatibility depends on your SVG file.
- Display Object Title as label on the map. Functionally it is similar to the Label element. Use it when you want to group labels together with objects. Design functions can be used together with font design options.
- Details
- Set object title
- Set object type (*Functionality is underdeveloped and has no deeper functionality as of V.1.0.0)
- X/Y coordinates for fine tuned object nudging
- Infobox
- Connected Post: Link the object element to any published post. The system will query for an infobox inside your post. If available it can be used as the infobox sidebar content source.
- If a post is connected, you will see a “read more” link underneath the infobox.
- Sidebar content source:
- Manual – Type the infobox contents yourself.
- Connected post – Synce the infobox contents withs the infobox inside your connected post.
- Unchecking “Display infobox” enables you to connect a post without using its infobox.
- You can individually toggle on/off the connected posts Title/Excerpt/Thumbnail to display along the infobox inside the sidebar.
- Connected Post: Link the object element to any published post. The system will query for an infobox inside your post. If available it can be used as the infobox sidebar content source.