0

I have copied the whole code of Find widget and added it into another widget. First widget is working fine and highlighting the feature(creating feature from geometry), second widget is also working fine. i.e. it is returning me the accurate and proper number of results, and same zoom extent but it is not drawing the feature, which are return by the query.

1 Answer 1

1

Check your map service to ensure it is including the geometry in the response for the FindTask. You can do this by executing the FindTask via the REST API. If there is no geometry included in the response, most likely the "SHAPE" field was not included when the Map Service is published.

1
  • I am using same map services in my both find widgets.. Same queries too...v Commented Dec 29, 2015 at 2:09

Your Answer

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

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