locked
AddShape method not showing in a map with a custom tile layer RRS feed

  • Question

  • I am adding a polyline shape to a map with an ESRI custom tile layer by pushing lat/long points into an array as the user clicks the map. When I take out the custom tile layer, the line draws fine. But when I put the custom tile layer back in, the browser's loading icon keeps running and the line is never displayed but the push pin is. Also, if I hardcode the two points and add the polyline in the OnLoad method, that works fine.

    Could this be a bug with dynamicaly adding a shape to a custom tile layer?
    Thursday, May 28, 2009 2:39 AM

Answers