Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I will create an application that using my water pipes, electric cables, gas pipes service in a city. All of streets and roads including water pipes. My service is publishing pipes. My service like following.

Pipe Service

  • domain.com/arcgis/rest/services/Water/MapServer
  • domain.com/arcgis/rest/services/Electric/MapServer
  • domain.com/arcgis/rest/services/Gas/MapServer

Feature Layers

  • Pipe Lines (Polyline): domain.com/arcgis/rest/services/Water/MapServer/0
  • Water Valves (Point): domain.com/arcgis/rest/services/Water/MapServer/1

I wanna show pipes on map and users can click on pipes and get features about pipe. Which way can be make sense for this solution? I think use FeatureLayers on map and on click method. How does it affect the performance. If I use ArcgisDynamicMapServiceLayer, I can not click pipes.

share|improve this question
    
You can use a map service but you will have to get the feature info with something like a QueryTask. –  blah238 Aug 20 '13 at 14:29
add comment

1 Answer

I think the attribute inspector dijit, is what you're searching for.
I suggest looking at this sample, all the code you need should be there.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.