I need to allow the user to specify two points on a roadway which will represent the part of the roadway that's closed. Can anyone suggest a way to do this within the graphical model of MapPoint? I could assume a mouse click marks the first point of closure and the second mouse click defines the second point. But this method will surely cause user errors and frustrations, when the user is unsure of what to do next. Suggestions are welcome.
Next, I need to be able to determine if the given route, which I step through in the MapPoint.Route.Directions DataSet, has any segment which crosses over the road closure. I think the easiest would be to compare each street name in the DataSet with the road name(s) that are closed. Then if I find a match I could get fancy with GPS coordinates. But I'd love to hear any ideas about how to approach this.
Another approach would be to ask the user for the last house's address before the road closure. Then the same thing on the other end. And I will have a stretch of roadway between the addresses they defined as closed. Any suggestions about how to match this information with the streets as returned by the MapPoint.Rout.Directions DataSet?
Thanks for the help.
I'm determined to get past this shortcoming of MapPoint!