Select to view content in your preferred language

Accessing Properties Returned From Geocoding Source in Custom Search Widget

242
0
03-04-2024 07:48 AM
JeffreyThompson2
MVP Regular Contributor

I am attempting to modify a Search Widget that is connected to a geolocator source. I have been able to access the returned geometry by adding the following lines to the onSelectRecord function of result-list.tsx.

const record = ds.getRecordById(recordId)
const record_geometry = record.getGeometry()

The geolocator should be returning a set of attributes about the feature, but I have not been able to access them. Is this possible?

GIS Developer
City of Arlington, Texas
0 Kudos
0 Replies