Stack
- leaflet js https://leafletjs.com/
- https://github.com/Leaflet/Leaflet.heat
i've 0 skill and experience for building front-end so please forgive me for the quality
To Do
more dynamic starting point
- support any json provider (half way there)
How to use,
- clone, npm install
- run vscode live server to deploy
- you can skip step 1 and 2 and go here directly lol https://mhdfadlyhasan.github.io/custom-map-heat-map-or-something-whatever-i-dont-know-what-i-am-doing/
- create a coordinate and value json in https://jsonbin.io/quick-store/
[
{
"lat": -7.282103,
"lng": 112.747903,
"value": 1400000
},
{
"lat": -7.282103,
"lng": 112.767903,
"value": 2000000
}
]
- put the Access url on your json the left bottom input
- click anywhere on the map
the heatmap should be created
that red circle actually is an clickbait, sike