Open AmeliaBR opened 5 years ago
I was browsing Zach Leatherman's twitter today, and I was reminded of a site that provides a reasonable map experience even with script disabled. It must have taken some excellent server side scripting, but nonetheless is very impressive and worth noting here. https://www.fixmystreet.com/report/1576145?lat=52.479435&lon=-1.889648&zoom=2
This is definitely the best map experience we've seen so far when it comes to having JS disabled!
To summarize their technique, each map tile is served as an image. When JS is disabled, the pan and zoom buttons are actually link elements that change the URL of the page. The page URL takes the lat, long and zoom parameters much like some of the map widgets we've seen so far. A good example of progressive enhancement in action.
I think this section of the document could recognize that
<img usemap="#themap" ...><map name="themap"><area ...></map>
is a JavaScript-less map already supported natively by browsers, albeit without spatial semantics.
In this example, <img>
and <area>
are (abstract) "layers".
This issue is for discussion of the map viewer capability (potential requirement) “Display a basic map without JavaScript”.
From the 2015 use cases report's list of limitations of current tools:
Turning this around, a capability of a web map viewer is its ability to provide at least basic function when JS is disabled or fails for other reasons.