I am working on a project where I am using the JS API without having a map layer. Essentially, I am looking to have the user enter in an address, and have a result from the geolocated The results are put into a DIV and displayed to the user. Now, what I would also like to do is get the Division that that address falls within. My division layer can be accessed via a REST endpoint.
So, here is what I am wondering. Is it possible to do a spatial join from my geolocated address to a layer whose sources is a REST end point? (i.e. there is no map view).
My script can be found here:
Any help/assistance is greatly appreciated.