Skip to content
Snippets Groups Projects

feat(submapslinks): add displaying submaps links

16 files
+ 824
13
Compare changes
  • Side-by-side
  • Inline
Files
16
import Polygon, { fromExtent } from 'ol/geom/Polygon';
import Feature from 'ol/Feature';
export const createFeatureFromExtent = ([xMin, yMin, xMax, yMax]: number[]): Feature<Polygon> =>
new Feature({ geometry: fromExtent([xMin, yMin, xMax, yMax]) });
Loading