GeometryType.clazz() & GeoGeometry.headingFromTwoPoints
- new
clazz()
function onGeometryType
to point at the correct Geometry implementation class. Useful for writing custom serializer/deserializer logic for json parsers that don't know what to do with theGeometry
interface. - new
GeoGeometry.headingFromTwoPoints
function that calculates the compass direction a line between two points is headed.