I would like to create a simple ArcGIS Online web-map or ArcGIS JSAPI application that contains one polygon layer with attributes and a locator. I would like to drop a pin or point on my geocode result and display the attributes of the polygon that it falls within. Are there any examples of this available? The best that I could do was the point in polygon selection, but I would like to create a feature layer from my geocoded location and give it the same attributes of the polygon it falls within. I am using this for voting districts. So if I am at 1000 N. Broadway Blvd. and geocode that then, the point that appears on the map should be given the attributes of District 1, for example.
Solved! Go to Solution.
I figured out the error with this, there was a typo in line 141.