All products

Add map icons in MapLibre with AI

Choose a marker, a sprite sheet or a runtime image for a map symbol. Diagnose missing icons, incorrect image names and road numbers that have lost their shields.

To add map icons in MapLibre with AI, give maplibre-sprites-icons the role of each symbol and the asset the map should display. An exhibition map might repeat the same entrance and information icons across several buildings. A sprite can serve that shared set, while a single highlighted location may need only one runtime image or an interactive marker.

An icon can vanish without its label disappearing. That is a useful diagnostic clue: the font may be loading even though the sprite lacks the requested image. The agent can inspect names, resource paths, image density and the style's references. If you plan to host an existing icon set yourself, check its licence and attribution requirements before copying it.

What it does

  • Choose an approach for repeated or interactive symbols.
  • Connect a sprite's image and metadata to a map style.
  • Use separate sprite identifiers for additional icon sets.
  • Check why a named image fails to appear.
  • Diagnose missing road shields independently of their text.

Install and use

  1. Install the skill in a compatible agent with access to a MapLibre GL JS project. Use a licensed icon source and a host the browser can reach.
  2. Ask “Our exhibition map labels the café but shows no cup icon. Inspect the sprite name, sheet and style reference.”
  3. Review the corrected map at ordinary and high pixel densities and retain any required asset credit.

FAQ

Source

Made by MapLibre contributors. Original skill: maplibre-sprites-icons, published on GitHub under the MIT licence. The files are unchanged.

View on GitHub