Awesome Lists

gauge_legend

by AbelVM

JavaScriptpushed over 5 years ago

This simple control adds a dynamic legend component to a MapLibre GL map, where, for a given layer and property, the average value of this property for the features currently rendered is displayed and a tick points to its position in the gauge scale.

AI summary

Legend component

A control component that adds a dynamic legend to a MapLibre GL map, displaying average values of a selected property for the rendered features.

stars
5
forks
1
watching
2
awesome list
1
View on GitHubabelvm.github.io/gauge_legend/example

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/AbelVM/gauge_legend/links.svg)](https://awesome.facts.dev/awesome/AbelVM/gauge_legend)
HTML
<a href="https://awesome.facts.dev/awesome/AbelVM/gauge_legend"><img src="https://awesome.facts.dev/shield/AbelVM/gauge_legend/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/AbelVM/gauge_legend/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.