Home

leaflet

img of Leaflet fog of war
3 min read
js

When I was playing age of empires the map was all in black color at the beginning. As long as you explore the map, the black color is removed discovering what it was hidden behind. I wanted to implement something similar in a leaflet map. I'll describe the callenges I have found in a series of articles.