tombatossals/angular-leaflet-directive

Displaying geojson from a list of search results array

rehans516 opened this issue · 0 comments

Hi,
first of all thanks for developing the directive and making it so easy for integrating leaflet into angularjs for the newbies like me.
i have a platform on which whenever i enter a query it returns me an array of objects of the search results and each object has a geojson object within it with a bounding box array also defined. Now my main aim is to display all these geojson objects onto the map. The number of objects in search results array can vary so i cannot define the exact path of each file as you have demonstrated in the examples. is there any other way to display them dynamically?
Thanks