Select to view content in your preferred language

Spatial Intersection of geocoded points in JSAPI

4172
20
Jump to solution
03-10-2016 04:55 PM
GeoffreyWest
Frequent Contributor

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.

Tags (1)
0 Kudos
20 Replies
GeoffreyWest
Frequent Contributor

I figured out the error with this, there was a typo in line 141.    

0 Kudos