Jump to content

Module:Mapframe KML

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Frietjes (talk | contribs) at 12:25, 1 October 2019 (testing a different method for loading mapframe data). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
local p = {}

function p.main(frame)
	local args = frame.args
	if args['KML'] then
		args['raw'] = frame:expandTemplate{title = 'Wikipedia:Map data/Wikipedia KML/' .. args['KML']}
	end
	
	return require('Module:Mapframe')._main(args)
end

return p