Module talk:OSM Location map: Difference between revisions

Content deleted Content added
Line 759:
:::Can not help at moment as I suspect the data you are loading is geojson (great) but I have almost always got this into OSM-maps (maplink) using the raw parameter as your solution only works I think with data that justifies an ID number like outline of a lake , river or political boundary or feature (and is available under a compatible license) but not the sort of thing I am interested in mapping like mountain peaks in a range, fault lines and geological formations which stores the data if not inline in [[Wikipedia:Map data]] pages.
:::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)