HERE maps get circle radius in miles

  here-api, javascript, maps

When I create a circle, the radius is in meters, but I want to get the radius of the circle in miles, is it possible to do that?

I don’t want to convert meters to miles with formulas, I want the value of the circle to already be converted when I get the radius

    theCircle.getRadius() = //result should be in miles 
    theCircle.setRadius(/*  value in miles */ );

Source: Ask Javascript Questions

LEAVE A COMMENT