HOW do you determine Map feature type?

You didn't show an example of your FeatureCollection. If you did you would notice parts of the json uses a keyword polygon and it probably named each of them if only by a number suffix. Similarly Makers are id'ed as marker

This snippet might be of uses. It tells the app to differentiate (color them differently as needed) the individual polygons.

So you might make a List of Polygons and then traverse the JSON list.

1 Like