cgeo-wkt
v0.1.0
Published
WKT export for cgeo types
Downloads
2
Readme
cgeo-wkt
Adds WKT export support to cgeo.
This augments all geometry types (in a TypeScript-friendly way)
with a toWKT
method returning a string.
Usage
import * as cgeo from 'cgeo';
import 'cgeo-wkt';
const point = new cgeo.Point(12, 34);
console.log(point.toWKT());
License
Copyright (c) 2017 BusFaster Ltd