DavidSpriggs/ConfigurableViewerJSAPI — pull request #158 by friendde (2014-08-14 15:50:44+00:00)
Title: added checkboxes to Directions widget using current location ast start/stop points

The recently added right click functionality is handy. Look and feel is similar to Google which allows easy transition for new users. But some of the users may not know where they are going and therefore can't right-click the feature to obtain the route.

This addition allows the user to set the current location as a start/stop point before adding destinations. Logic will clear stops entered if trying to use current location for both the Start and Stop points.

It may be better to add logic to allow the above scenario if more than two addresses are entered.