Help talk:Interactive Maps

Feedback
This feature is absolutely awesome and very handy! Here are some things I noticed.
 * General - the map page is often not displayed correctly (see transclusion below) and requires a refresh (F5) in the browser
 * Keyboard shortcut -  +   +   - non-functional in
 * Moving pages - Moving  to   will cause: something like  . The page producing a "redirect" must be deleted otherwise   will be a broken page. This is really fatal here the entire   page will be knocked out for an indefinite period of time as long as any map page works as a redirect!
 * Sub-page - a sub-page like  works fine if it was created without redirection or if it was just created from scratch. However, no previous page (main page) such as   is displayed as is normally the case.
 *   - Category tags cannot be integrated into JSON. Each map page is accordingly listed in.
 * Map categories - cannot currently be sorted alphabetically. If a new category is added (visual editor), it will appear at the last position, its impossible to "drag & drop" categories in visual editor. However, in the Source Editor, the "category" can be moved as desired, despite its "id". It seem not to interfer with JSON.
 * Markers - Appearance; using images, emoji, text as a map marker would be very appreciated. Especially different images. It would be very helpful if map markers could act as a  too.
 * Popup - Accepts emojis but links aren't supported.
 * Embedding images into the popup window would be a nice feature too. Similar to this map here: https://eldenring.wiki.fextralife.com/Interactive+Map
 * URL and label - Works for  links BUT [ Interwiki links]  and external links can't be used. A workaround is to create a redirect page with an interwiki link.
 * Visual Editor - Far better to create an interactive map in seconds but some errors can occur, errors such as: When creating map markers and switching to "Source Editor", ALL the progress will be lost.
 * Source Editor - Progress made can be previewed of course BUT, without saving, can't be progressed in the visual editor, e.g. when changing mid-work.
 * Its impossible to change the image to an uploaded image, the box forces to "reupload" everytime. having a box to search for files on the local wiki would very appreciated.
 * Embedding a Map - The box size seems fixed, the size of the map changes perfectly fine, can be streched etc. in its zoom BUT the map box cannot be enlarged. Any workaround?!
 * Transclusion - If  is transcluded, when hovering over the map the cursor is stuck in the "grabbing" animation, thus can't change visually. The cursor works perfectly fine in in the Map:Namespace itself though.
 * Transcluded content is sometimes not displayed correctly, i.e. the frame of the interactive map is visible but the map and its legend, markers etc. are not.

Thanks! WasteTheLand 04:51, 22 April 2022 (UTC)
 * You may want to notify staff about all these things over at zendesk so they can more reassuringly check them and bring some fixes to them in the near future. 05:50, 22 April 2022 (UTC)
 * Thanks for the hint, already done! I still think it is helpful if others see what is documented so far (regarding technical issues). WasteTheLand 15:49, 22 April 2022 (UTC)
 * Just chiming in to confirm that WasteTheLand sent me a message yesterday to show me the feedback here, so we know about it! - Brandon Rhea (talk) 23:01, 22 April 2022 (UTC)

Addendum
Here are a few things I've noticed over the past few weeks:


 * Used files – even though images are used in "interactive maps" they are flagged as "unused files" and appear in
 * Sub-pages – If sub-pages e.g.  are used, these won't show a "back" marker on the sub-page itself, e.g.   div class =
 * Marker grouping – It would be handy to link markers, attach a line to them. So that map markers will be connected. This would be e.g. helpful for marking a track, path to explain a route etc. (i assume its the same example like polygons section below).
 * Map marker – Having the option to check/uncheck markers by default in "Filters" would be very handy.
 * Map marker are especially useful when the map transcludes to an article which only is about one filter check mark and not all check marks. E.g. "article Y" is about "filter X" and when "Map:Foo" transcludes to "article Y" only "filter X" will be checked by default.
 * Editing filter On/Off – check/uncheck fitlers when using the visual editor.
 * Background color – Current default color is:  and cannot be changed via fandom theme designer (dark/light).
 * In Fandomdesktop.css this can be used to change the background color:
 * Wikitext – Please insert a text field above and/or below in page  simply to describe the content.
 * Link – When adding a link which includes special signs such as  the page cannot be landed. Thus an empty page (address/link not known) is displayed.
 * Map preview – The "Interactive Maps" image previews on special page  are of low quality, its minor but maybe there is way to allow for better quality?

Thx for reading. WasteTheLand (talk) 07:02, 3 May 2022 (UTC)

Area vs Marker
I understand the initial development being very specific. As an initial deployment, this is well needed and will help avoid the SVG nightmare for plotting points on a picture; and 9/10 rating for having a Google Maps "like" interface.

I hope that there are plans to integrate Area (Polygon) structures as well. I do a lot of Game-based Wiki here and there are a lot of content that is not very spot specific but more area-based.

Feature List: - Have the ability to add Area based coordinates (Polygon); should be easy to implement on the JSON side, not so easy on the backend parsing side - Much like On-Hover preview card on links to articles, treat the pins as these mini-previews with a click behavior on the popup or a specific link location.