{"id":13745008,"url":"https://github.com/systemed/radiate","last_synced_at":"2025-05-09T04:33:08.956Z","repository":{"id":11202430,"uuid":"13586362","full_name":"systemed/radiate","owner":"systemed","description":"Heatmap engine in ActionScript 3","archived":true,"fork":false,"pushed_at":"2020-04-06T10:34:13.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-03T05:05:31.782Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"ActionScript","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/systemed.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}},"created_at":"2013-10-15T09:56:26.000Z","updated_at":"2023-08-27T12:41:18.000Z","dependencies_parsed_at":"2022-09-11T16:10:23.244Z","dependency_job_id":null,"html_url":"https://github.com/systemed/radiate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fradiate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fradiate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fradiate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemed%2Fradiate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemed","download_url":"https://codeload.github.com/systemed/radiate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224819742,"owners_count":17375318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-08-03T05:01:20.252Z","updated_at":"2024-11-15T17:31:00.502Z","avatar_url":"https://github.com/systemed.png","language":"ActionScript","readme":"Radiate\n=======\n\nRadiate is a flexible heatmap engine in ActionScript 3. It supports points, polygons and polylines. Each can be applied with varying radius and strength.\n\nGeometries are requested from a server using a simple API. Radius and strength is set via a method which can be called via JavaScript from the embedding page.\n\nYou can see a deployment of this project at www.growingroutes.org.uk.\n\nCompiling\n---------\n\n`mxmlc radiate.as -output=/path/to/radiate.swf`\n\n(as usual, add  `-verbose-stacktraces` for debug information)\n\nJavaScript interface\n--------------------\n\nCall refreshLayers from JavaScript\n\n`mapswf.refreshLayers(obj);`\n\nwith an object containing settings for each layer:\n\n`{ name1: { radius: 5, strength: 50, enabled: true },\n   name2: { radius: 1, strength: 100, enabled: false } }`\n\nDatabase API\n------------\n\nRadiate expects to call an API located at `/api`: you can change API_URL in HeatMap.as to alter this. The API should provide two calls:\n\n`/bbox`\n\nCall with `bbox`, a JSON array of [bottom,left,top,right] latitudes and longitudes; and `layers`, a JSON array of layer names requested.\n\nReturns a hash of areas, lines, routes, and accommodations (points) found in that bbox. Accommodations are returned as id, name, category, and a lat/lon pair: all others are returned as id, name, type only.\n\nTODO: rationalise accommodation into generic 'point' type.\n\n`/multiple`\n\nCall with `requests`, a hash of lines, routes, and areas for which the geometry is desired.\n\nReturns geometries for each object.\n\nSee `server/` for excerpts from a Ruby implementation of this API.\n\nUm, Flash?\n-----------\n\nAt the time of initially developing this code, native browser support for filters was less than ideal. The situation is continually improving and I'd anticipate that, in time, this will be ported to become an SVG overlay to Leaflet.\n\nLicence and credits\n-------------------\n\nWTFPL.\n\nHeatmap code by Richard Fairhurst, @richardf, richard@systemeD.net. Slippy map code adapted from Potlatch 2 (also WTFPL).\n","funding_links":[],"categories":["Unsorted"],"sub_categories":["Other API"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fradiate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemed%2Fradiate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemed%2Fradiate/lists"}