Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a22525c59b9a51a8

Jump to content

Module:Sandbox/bawolff/programmableMap/doc

From Wikipedia, the free encyclopedia

This is an experiment of having scribunto make maps.

This particular example is probably a bad idea, as the map is 600kb, and this method directly includes the map in the page making the page slow to download. That said, maybe its a quick way to generate maps, that people could right click on to download and then upload to commons.

It might make more sense for smaller maps. One cool aspect is you can customize the image for dark mode (In the example italy will be a different colour in dark mode)

{{#invoke:Sandbox/bawolff/programmableMap|europe
|fr=red
|de=green
|it=light-dark( blue, yellow )
|width=200
}}

makes