I have over 3 million points. I cannot have my server displaying all these points on a map a the same time.
What I want to do is when a building is selected, show all points within that polygon.
I know about this example:
Select with Feature Layer | ArcGIS API for JavaScript
I am not sure that will work because I don't want a buffer I want to use another Layer.
Thank you