Is there an easy way to modify this sample to display the route length? I've been working on this for a couple days and can't seem to get the length to display. Thanks in advance for your help.
Use Tom's approach then and move line 107 to line 103 and also on line 104 replace routeLength[0] with just routeLength
Thanks guys. I just put 'feet' in there as a placeholder as my app will be in feet. I'm not sure about the ESRI sample.
I assume that it's in meters but using the web mercator projection so all the measurements are fubar
It may be a difference between a geodesic measure and planar, but I am only guessing!
Regards,
Tom
Hi Idaho! Me Bronco!
BAXTER Q ANDREWS wrote:
Hi Idaho! Me Bronco!
Go Vandals!