Hello, I want to change the units for my map from metric units (meters) to imperial (miles). I have a feature for my app that returns the distance from your location to another selected point. However, I'm not sure how to change the units from meters to miles. I know this is a relatively simple question, I just can't seem to figure it out.
DistanceToFeature returns distance in meters.
To convert meters to miles multiply meters by 0.000621371
To convert meters to feet multiply meters by 3.28084
using the Math Blocks.
dora showed how to change the map scale that displays on the map. That only changes the scale. To convert the units returned in your app by the DistanceToFeature Block in your app use the Math Blocks to display the distance in miles or feet or whatever Imperial distance measure you want to convert to.
2 Likes