Aller au contenu

Module:Lmi

Cette page fait l’objet d’une mesure de semi-protection étendue.
Une page de Wikipédia, l'encyclopédie libre.

 Documentation[créer] [purger]
local Tools = require('Module:Outils')
local Geo = require("Module:Géoréférencement")
local p = {}


function p.lmi(frame)
	local args = Tools.extractArgs(frame)
	local desc = args.desc or args.description or 'Visualisation'
	local zoom = args.zoom or 8
	local lat, lon = Geo.setRadCoord(args)
	local X, Y = Geo.lambert(lat, lon, 65, 64.25, 65.75, -19, 500000, 500000)
	local header = '[https://kortasja.lmi.is/mapview/?application=kortasja&lang=is&center='
	local url_coord = X ..',' .. Y
	local url = header .. url_coord .. '&zoom=' .. zoom .. '&layers=217,232,225,286,221 ' .. desc ..'] sur Landmælingar Íslands.' .. Geo.footer(args['consulté le'])
	local url = Geo.noCoord(args) or url
	return url
end

return p
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy