JSTS Integration
main.js import 'ol/ol.css'; import GeoJSON from 'ol/format/GeoJSON'; import LinearRing from 'ol/geom/LinearRing'; import Map from 'ol/Map'; import OSM from 'ol/source/OSM'; import VectorSource from 'ol/source/Vector'; import View from 'ol/View'; import { LineString, MultiLineString, MultiPoint, MultiPolygon, Point, Polygon, } from 'ol/geom'; import {Tile as TileLayer, Vector as VectorLayer} from 'ol/layer'; import {fromLonLat} from
https://openlayers.org/en/master/examples/jsts.html?q=jsts