I have tried to use 1.6.2 version in IE11. But my page is breaking.
Sample code what i am using...
My helper.js file
const jsts = require('jsts');
// import * as jsts from 'jsts'; --tried this as well
const googleMaps2JTS = boundaries => {
const coordinates = [];
for (let i = 0; i < boundaries.getLength(); i += 1) {
coordinates.push(
new jsts.goem.Coordinate(
boundaries.getAt(i).lat(),
boundaries.getAt(i).lng(),
),
);
}
coordinates.push(coordinates[0]);
return coordinates;
};
In react component i am trying import
import {
googleMaps2JTS ,
} from './_helper';
when i am using the above './_helper' import the react page is breaking...Please help me