I'm using Flattenjs and Plotly to display polygons. The user can draw polygons anywhere with plotly. If the user draws polygons that are overlapping I want the ability to "merge" those polygons and display just one.
Same this request:…
I am trying to do some geometry calculation (e.g distance from point to line) on 2D planar planes.
Currently investigating turfjs to calculate distance from point to line.
Code
distance.js:
// hello
var turf = require('@turf/turf')
init();
//…
I wish to improve the developer experience of the flatten-js library by fixing an issue I encountered with it.
When I do
import { point } from '@flatten-js/core';
I get a TS error that point doesn't exist but if I do
import Flatten from…