1

I have a web map application set up that's currently testing on a variety of Dynamic Map Service layer types, including points, lines, and polygons. This application includes a tool that makes use of ItentifyTask to allow a user to click on the map and get a popup with attribute information for any visible layers at that point. This tool works perfectly for points, lines, and SOLID polygons, but it does NOT work for polygons that are displayed with a hollow symbology (ex: county polygons displayed to only show the outline of the county). In this case, the execution of the IdentifyTask returns NO results. If I click on the outline of the feature it works fine, but not if I click on the hollow interior.

Is there a good workaround for this? For our needs, we really do need the ability to identify such layers, and the hollow symbology is our standard for such layers.

1 Answer 1

1

instead of null fill, use a completely transparent fill, like this

reference: https://twitter.com/derekswingley/status/487335272825094144

2
  • Is there a way to to this in ArcMap, when the GIS analyst is setting up ther service? Because I'd like for the application coding to be generalized for use with any input map service layer, and not have to change the rendering of the layer through the application coding itself.
    – Beck
    Oct 24, 2014 at 21:39
  • AFAIK, you can't modify the transparency of fill and outline independently in ArcMap. Oct 24, 2014 at 21:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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