Use case - Get the geopoint from Elastic Seach (data source) based on Bounding box of the map. and then those geopoint render as marker in the map.
Context- As the map first time load , we get the markers on the map based on the available bounding box. But as the user start panning/zooming the map , size of the bounding box changes and so the list of markers It is becasue we retrive markers based on the bounding box of the map.
Problem - As user starts panning/zooming the map we need the markers just for the area which had changed due to his panning/zooming , not for the entire bounding box but right now we are getting markers for entire bounding box and hence lot of duplicates markers in the map. We need markers just for incremental bounding box (increment bounding box means area of the map which is just increased due to panning/zooming of the map)
let know if i am able to explain else we can connect online .
what is Bounding box -
bounding box is nothing but visible area of the map
Please note that I am using Mapbox.js and RestAPI to implement this