Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
lookAt.tilt,
lookAt.azimuth
);
// Shutdown errors cause by firefox bug
mapView.renderer.getContext().getShaderInfoLog = (x: any) => {
return "";
};
const geoJsonDataSource = new OmvDataSource({
decoder: new OmvTileDecoder(),
dataProvider: new GeoJsonDataProvider(
"geojson",
typeof options.geoJson === "string"
? new URL(options.geoJson, window.location.href)
: options.geoJson,
{ tiler: new GeoJsonTiler() }
),
name: "geojson",
styleSetName: "geojson"
});
mapView.addDataSource(geoJsonDataSource);
await waitForEvent(mapView, MapViewEventNames.FrameComplete);
await ibct.assertCanvasMatchesReference(canvas, options.testImageName);
}