matthew.f.tenold

How to find distinct events and their associated subevents

Discussion created by matthew.f.tenold on Apr 28, 2014
I have events and subevents as json's.  Is there a way to grab all of the events from the map and find subevents related to them.  Each subevent has a heading in the json object with the related event number and the subevent number.  I created an empty array to hold the graphics.   However when I debug I get the map.graphics as a object rather than an array.  How can I get all of the map.graphics and find distinct events and subevents.  Any help would be greatly appreciated.

Thanks

Outcomes