Jump to content

User:Shaundd/mapshape-commons

From Wikivoyage

{{#if:|

 {{#switch:

|page=

maplink: Title "{{{commonsmap}}}" is not a valid map data page
  |#default={{#tag:maplink
   |
   {
     "type": "Feature",
     "properties": {
       
       "fill": "#555555",
       "stroke-width": 1,
       "fill-opacity": 0.5
     },
     "geometry": {
        "type": "Polygon",
        "coordinates": [
         {{#switch:
          |#default=[[360,-180],[360,180],[-360,180],[-360,-180],[360,-180]],
          |geoshape=
         }}
         Lua error: bad argument #1 to "get" (not a valid title).
        ]
     }
   }
   | text=""
   | group=other
   | class=no-icon
   }}
 }}

|

maplink: Couldn't parse JSON: Syntax error

}}