{"id":20218278,"url":"https://github.com/z3ut/leaflet-smooth-heatmap","last_synced_at":"2026-05-27T23:32:27.476Z","repository":{"id":143885450,"uuid":"117019916","full_name":"z3ut/leaflet-smooth-heatmap","owner":"z3ut","description":"Serverless smooth and unbroken heatmap tile layer","archived":false,"fork":false,"pushed_at":"2018-02-28T14:00:59.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-17T09:54:01.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z3ut.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-10T22:41:27.000Z","updated_at":"2018-01-10T22:42:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3aeec04-0b71-4d9c-8578-609b2f819a14","html_url":"https://github.com/z3ut/leaflet-smooth-heatmap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z3ut/leaflet-smooth-heatmap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ut%2Fleaflet-smooth-heatmap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ut%2Fleaflet-smooth-heatmap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ut%2Fleaflet-smooth-heatmap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ut%2Fleaflet-smooth-heatmap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z3ut","download_url":"https://codeload.github.com/z3ut/leaflet-smooth-heatmap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z3ut%2Fleaflet-smooth-heatmap/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33588345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T06:37:53.165Z","updated_at":"2026-05-27T23:32:27.441Z","avatar_url":"https://github.com/z3ut.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leaflet Smooth Heatmap\n\nServerless smooth and unbroken heatmap tile layer.\n\n[Live Demo](https://z3ut.github.io/leaflet-smooth-heatmap/)\n\n## Description\n\nCanvas tile layer. Each tile filled with grid of rectangles. Rectangle color requested by coordinates of it center.\n\nNot intended for use on low-performance devices.\n\n## Installation\n\n1. Install with [npm](https://www.npmjs.com)\n\n```\nnpm install leaflet-smooth-heatmap\n```\n\n2. Import JS dependencies\n\n```\nimport SmoothHeatmapLayer from 'leaflet-smooth-heatmap';\n```\n\nor include src/index.js to your bundle and use plugin through global L variable\n\n## Usage\n\n```\nconst options = {\n  canvasSize: 5,\n  getColorForLatLng: (lat, lng) =\u003e `rgba(${90 + lat}, ${180 + lng}, 100, .5)`\n};\nmap.addLayer( new SmoothHeatmapLayer(options) );\n```\n\nExample with data point interpolation in ./docs\n\n### Options\n\nName | Description | Type | Default\n--- | --- | --- | ---\ncanvasSize | Size of rectangles in canvas (low values influence on performance) | Number | 3\ngetColorForLatLng | Return color for point coordinates. Arguments - lat, lng | Function | function() { return 'rgba(0, 0, 0, 0);' }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz3ut%2Fleaflet-smooth-heatmap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz3ut%2Fleaflet-smooth-heatmap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz3ut%2Fleaflet-smooth-heatmap/lists"}