Beautiful Vector Maps for Hugo

I’ve been working on a module that makes it easier to include beautiful, interactive vector maps into any Hugo page and I thought it might be useful for others too!
hugo-maps provides a simple shortcode and uses MapLibre GL JS to render the maps. You can either use a commercial map server (e.g., Maptiler) or a self-hosted map server (e.g., Tileserver GL) to generate the vector map tiles.

Please feel free to reach out if you gave any questions!

Features:

  • :earth_africa: High-quality interactive vector maps.
  • :art: Comes with lots of styles. You can also use your own custom style if you want.
  • :a: Glyphs for all included styles are included in the module.
  • :round_pushpin: Support for custom markers.

Documentation & Examples:

Code:

Example:

7 Likes