1,300
edits
(Created page with "-- <nowiki> local hc = require('Module:Paramtest').has_content local p = {} local zoomSizes = { { 3, 8 }, { 2, 4 }, { 1, 2 }, { 0, 1 }, { -1, 1/2 }, { -2, 1/4 }, { -3, 1/8 } } -- Default size of maps (to calc zoom) local default_size = 800 -- 800px for full screen -- Map feature (overlay) types local featureMap = { none = {}, square = { square=true }, rectangle = { square=true }, polygon = { polygon=true }, line = { line=true }, lines = { line=true }, cir...") |
No edit summary |
||
Line 436: | Line 436: | ||
width = args.width or 300, | width = args.width or 300, | ||
height = args.height or 300, | height = args.height or 300, | ||
mapID = args.mapID or 0, -- | mapID = args.mapID or 0, -- Near-Reality Surface | ||
plane = tonumber(args.plane) or 0, | plane = tonumber(args.plane) or 0, | ||
zoom = args.zoom or 2, | zoom = args.zoom or 2, |