Hi all
What I'm trying to do is (using WebApp Builder) is to see how a point placed on the map is from the closet vehicle depot. I can get the geometry of the point being placed on the map easily but I can't figure out how to get the geometry of the depot. This is being down through a custom WebApp Builder widget.
What I am trying to do is using a query from the REST endpoint is create an object (that is not displayed on the map) with the geometry (location) and name for all the depots. I will then use the point placed on the map and the object from the JSON query to plug into a closest facility service.