Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function geoJsonTest(options: GeoJsoTestOptions) {
const ibct = new RenderingTestHelper(options.mochaTest, { module: "mapview" });
const canvas = document.createElement("canvas");
canvas.width = 400;
canvas.height = 300;
mapView = new MapView({
canvas,
theme: options.theme,
preserveDrawingBuffer: true,
pixelRatio: 1
});
const defaultLookAt: LookAtParams = {
latitute: 53.3,
longitude: 14.6,
distance: 200000,
tilt: 0,