This javascript app will show you how to calculate the slope of the surface specified by three latitude/longitude coordinates.
We will use the Vexcel Platform 2.0 ortho/elevations service to get the height in meters for each of the coordinates. Then we'll convert the
coordinates to mercator so that we have x, y, z for each coordinate in meters. Finally, we'll do the math to calculate the slope
of the face they form.