
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@appearhere/hexgrid-heatmap
Advanced tools
A hexgrid-based heatmap layer for your Mapbox GL JS map
See the examples directory for an example of usage. You will need to provide your own Mabox access token to view the map.
Here's how it works:
HexgridHeatmap
. It will automatically add the necessary layer and events to the specified map:var heatmap = new HexgridHeatmap(map, "hexgrid-heatmap", "waterway-label");
heatmap.setIntensity(15);
heatmap.setSpread(0.3);
FeatureCollection
full of points to mapheatmap.setData(sightseeingPOIs);
update()
after changing settings. The heatmap will automatically call update() when moving and zooming the map.heatmap.update();
heatmap.setColorStops([
[0, "rgba(0,185,243,0)"],
[50, "rgba(0,185,243,0.5)"],
[130, "rgba(255,223,0,0.6)"],
[200, "rgba(255,105,0,0.6)"]
]);
FAQs
A hexgrid-based heatmap layer for your Mapbox GL JS map
The npm package @appearhere/hexgrid-heatmap receives a total of 1 weekly downloads. As such, @appearhere/hexgrid-heatmap popularity was classified as not popular.
We found that @appearhere/hexgrid-heatmap demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.