Select to view content in your preferred language

A Point / Line not drawn on map

3830
3
03-10-2015 08:51 AM
ShaningYu
Frequent Contributor

I have an JS application, which could add queried point / line on the map.  But now, the point / line queried does not display on the map.  It means it is not drawn.  What is the possible reason to cause the problem?  Thanks if you can share your experience.

0 Kudos
3 Replies
KenBuja
MVP Esteemed Contributor

Please post your code to help us assist you

0 Kudos
OwenEarley
Regular Contributor

If this is the result of a QueryTask then you need to handle adding the results to the map. Check out this sample - specifically how the addPointsToMap function is used to add the results to the map.

ShaningYu
Frequent Contributor

Problem found to be projection related.  Thanks to the reviewers.

0 Kudos