I,m looking for a closest facility sample that:
1- we can use a button to call mouse event, now the tools works by any mouse click but I,m going to have a button to push it and then can add new incident points...
2- Sample tools don't return length(Meters or km) and don't return time of direction!
3- I need a button to add new facility points by user click and by coordinate or feature select.
4- I need a text area to set cutoff
5- need accumulative length and time of direction.
6- The sample code return facility name with "location1", "location 2" and more..., I need setting to define name for facility and incident.
my email: email@example.com