how can i dynamic draw the line from point to point which point(x,y) is stored in a table. (in ArcMap/ publish to service)@
Try XY to Line tool (Data Management)
http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000Here is a webhelp link - http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000
Where you want to draw dynamic line ? whats an API ?
Because i have a several data table to store the bus stop and the bus route, my objective is auto-generate the dynamic line between the related bus stop.
By the way, i want to do the same action in Arcmap as well as after publish to online web service.
There are different ways.
1. create arcobjects tool to generate lines and publish it (you can create windows services and generate dynamic lines) and that service can be used in any API.
see this.. how to create line with arcobjects.
ArcObjects 10 .NET SDK Help (if you need to get data from database, you have to use ADO.NET).
I hope it helps.
Thanks and Regards,
Thanks, it is useful
Retrieving data ...