Spatial Join to REST without map layer

471
0
06-03-2021 11:48 AM
awgeezrick
New Contributor III

Good Afternoon,

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:

https://codepen.io/awgeezrick/pen/abpLEoz

Any help/assistance is greatly appreciated.

Mark

Tags (3)
0 Kudos
0 Replies