Handling Popups in Leaflet with Overlapping Features

المشرف العام

Administrator
طاقم الإدارة
I am new to Leaflet as well as Javascript, and I'm looking for some advice on a basic topic.

Currently, I am trying to create a spatial index of library holdings for old topographic maps that people can access and download online. The source of the features is a GeoJSON file.

Sample Map

The problem is that the school library has multiple types of the same map over the years, but when I click on a map, only one popup shows up. I want the option to cycle through multiple maps, but I am unsure on how to approach the problem. Is there a special term in the local jargon for cycling through overlapping polygons, or is there a stronger approach to this problem?

Any advice on the direction I should take is appreciated. Thanks!



أكثر...
 
أعلى