Filtering Workshop map using function

In workshop, I have polygons based upon a GeoJSON file I imported. The ontology has geospatial data set up as a geometry. I’m looking for assistance with building a function that will do the following actions. When I place a pin on a map it will filter to only show the overlapping polygons. The resulting outputs will show a the table below the map.
I was told that the only way to accomplish this is to write a function in typescript. After some research I found that Typescript can only look at GeoJSON files. I need help understanding if Typescript can filter the geoshape file that Ontology uses for geospatial date.

Hey Scott, I believe the solution may be easier than what you’ve described. If the polygons are now in the ontology, then you should be able to simply use the “Selected Objects” object set under the desired object layers. Rather than dropping a pin, you can select a location on the map. Any overlapping objects should populate the object set, which can then be used in an “Object table” widget.

Let me know if I’m oversimplifying your use-case or if there’s something else I can help with!