cgeo-wkt
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

cgeo-wkt

npm version

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

The MIT License

Copyright (c) 2017 BusFaster Ltd

Readme

Keywords

Package Sidebar

Install

npm i cgeo-wkt

Weekly Downloads

1

Version

0.1.0

License

MIT

Last publish

Collaborators

  • jjrv