Maps4HTML / HTML-Map-Element-UseCases-Requirements

Use cases and requirements for Maps on the Web
https://maps4html.org/HTML-Map-Element-UseCases-Requirements/
Other
22 stars 12 forks source link

Is the fundamental D3 Geographies example doing too much, or too little? #204

Open Malvoz opened 4 years ago

Malvoz commented 4 years ago

The D3 Geo example of creating a basic web map have added custom controls (zoom buttons) to the map viewer. That helps in making the web map "interactive", however since the API doesn't come with default controls to enable, I think it can be a good thing to showcase that not all tools do. Adding custom controls is otherwise better suited in the add-custom-control.html example.

Note that if you'd rather keep the zoom buttons: their accessible names are literally "+" and "-", not "Zoom in" and "Zoom out" respectively. Additionally, there's no way to pan the map using only the keyboard. Not sure if that is bothering anyone since these are "just" example pages, but I thought I'd point it out.