Hello MapLibre

MapLibre is an option version of Mapbox

The demo illustrates:

  • creating a map
  • supporting dark / light mode
  • adding point layers which update depending on zoom level
  • resonding to click mouse events
  • defining a polygon layer
  • responding to mouse enter / leave events for a polygon