I am working on an openlayers 3 project, developed using typescript, hence:
let ol = require("openlayers");
I would like to use the transform extension plugin, which is not published on NPM (http://viglino.github.io/ol3-ext/interaction/transforminteraction.js)
I tried the following:
let ol = require("openlayers");
require("<path>/ol/transforminteraction");
however I get the following errors:
ERROR TypeError: ol.interaction.Transform is not a constructor
and
Uncaught ReferenceError: ol is not defined
How am I able include/integrate this resource correctly?