Tuesday, April 20, 2021

Walk The Map


Here is some other fun piddling Mapbox GL demo. The Walk Map allows you lot to navigate roughly a map using your cursor keys. That may non audio similar a lot of fun exactly it is a rather swell demonstration of the Mapbox GL rotate event.

Using the upwards as well as downward buttons you lot tin john deed forwards as well as backwards on the map, spell the left as well as correct buttons let you lot to rotate the map. The map rotation is fired past times assigning a '+' or '-' value to the map heading every fourth dimension the user clicks on the left or correct mouse button.

This is the 3rd Mapbox GL map I've seen since the introduction of Mapbox's novel mapping library. You powerfulness too similar to banking venture gibe out the Van Gogh Map (which uses images for map tile textures) as well as the birthplaces of Liverpool Football Club players map (which is a overnice illustration of how to add together markers as well as text labels).

No comments:

Post a Comment