Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

NF Map Demo: Difference between revisions

From North Forge
Created page with "{{#display_map: 80,80~popup title~popup text~Testtool.png; 50,50~popup title~popup text |image layers=1st Floor Plan.png |height=740 |width=450 |zoom=2 }}"
 
No edit summary
Line 1: Line 1:
The wiki has built-in funtionality that lets us display a map with parametric coordinates.
{{#display_map:
{{#display_map:
80,80~popup title~popup [[text]]~Testtool.png;
80,80~Test tool~The [[Test tool]] is a cool tool;
50,50~popup title~popup [[text]]
50,50~popup title~popup [[text]]
|image layers=1st Floor Plan.png
|image layers=1st Floor Plan.png
Line 7: Line 8:
|zoom=2
|zoom=2
}}
}}
This means we could store the coordinates once and then show a full floor map with many markers with hovers and pop-ups somewhere prominent, and a map with the location of the tool on the tool's page. I have set this up on a different wiki before. However, right now there is some bug with the cargo extension that would pull the coordinates. I have [https://www.mediawiki.org/wiki/Extension_talk:Cargo#getting_error_%22Identifier_must_not_contain_quote,_dot_or_null_characters%22_when_trying_to_use_Concatenate bug reported the bug] and will work on this some more when it is fixed.

Revision as of 20:39, 2024 August 15

The wiki has built-in funtionality that lets us display a map with parametric coordinates.

Loading map...

This means we could store the coordinates once and then show a full floor map with many markers with hovers and pop-ups somewhere prominent, and a map with the location of the tool on the tool's page. I have set this up on a different wiki before. However, right now there is some bug with the cargo extension that would pull the coordinates. I have bug reported the bug and will work on this some more when it is fixed.