Select to view content in your preferred language

A Point / Line not drawn on map

3858
3
03-10-2015 08:51 AM
ShaningYu
Honored 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
Frequent 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
Honored Contributor

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

0 Kudos