Content deleted Content added
→Add compatibility for use with wdqs within mapframe: raw in sandbox |
|||
Line 760:
:::If you gave me a raw parameter as used in {{T|Maplink}} or {{T|mapframe}} I could understand and do good things, with data already in Wikipedia:Map data which is compatible with Wikipedia's CC-BY-SA-3.0 licencing (e.g. as CC-BY licences) which are far less restrictive. [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 20:38, 20 June 2025 (UTC)
::::Great idea @[[User:ChaseKiwi|ChaseKiwi]]. I had not realised there was such a wealth of geoJson content out there. It can now be accessed (currently just in the sandbox module) using 'map-raw='. The main difference to its use on maplink is that it doesn't like the square brackets that you used for multiple items. They can still be strung together as comma-separated 'templates'. You can now see an example at the [[https://en.wikipedia.org/wiki/Template:OSM_Location_map/ModuleSandbox/doc moduleSandbox/doc]] page. I am not sure why it looks different to its use on [[Solomon Sea plate]], but you may be able to unravel that. [[User:RobinLeicester|RobinLeicester]] ([[User talk:RobinLeicester|talk]]) 18:42, 23 June 2025 (UTC)
:::::Looks exciting. Its probably just a processing issue now we are interacting with lua directly as those square brackets and commas are allowed json and the rendering of all the options with the Solomons plate logic is hopefully just due to the sandbox having a name I had not expected and default renders most things. I will try it out in the sandbox when time. [[User:ChaseKiwi|ChaseKiwi]] ([[User talk:ChaseKiwi|talk]]) 21:52, 23 June 2025 (UTC)
|