4 min read
js Leverage the power of the QuadTree to avoid printing repeated points in a leaflet map
Leverage the power of the QuadTree to avoid printing repeated points in a leaflet map
Following up from the previous article about implementing the fog of war in leaflet, I want to be able to load a GPX file and display it in the map
I want to add some markers to the map and to create a polygon that joins them to display them nicely in a leaflet map
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.