Luke,
If I am not misunderstanding the question than I need to explain how things really work in web mapping.
The map is just an image most of the time (now like ArcMap where the map is actually layered features). This means until you run an identify or query or something that returns graphics or you use featureLayers instead of dynamic or tiled layers, the type of info you want is not available on the client.
Let me know if I don't understand your question.