code: function locationToPoint(loc) {
    var lat, lng, radius, cosLat, sinLat, cosLng, sinLng, x, y, z;
  
    lat = loc.lat * Math.PI / 180.0;
    lng = loc.lng * Math.PI / 180.0;
    radius = loc.elv + getRadius(lat);
    cosLng = Math.cos(lng);
    sinLng = Math.sin(lng);
    cosLat = Math.cos(lat);
    sinLat = Math.sin(lat);
    x = cosLng * cosLat * radius;
    y = sinLng * cosLat * radius;
    z = sinLat * radius;
  
    return { x: x, y: y, z: z, radius: radius };
  }
docs: Converts lat, lng, elv to x, y, z
  
  @param {Object} loc
  @returns {Object}