Philip
Philip
Indeed this is a bug, as the main reason to use the copyFromContent function is exactly to handle delays like this ``` this.apiService.getURL().subscribe( (response: any) => { const ret =...
With `"geotiff": "1.0.0-beta.10"` I have the same problem in Angular 9, but fixed it by importing like this: ```ts import * as GeoTiff from 'geotiff'; ``` I also get this...
I also receive this error on Angular 8, tried #51 but it didn't solve the issue.
@Ilheu How did you manage to solve the error on Angular 8.
I managed to find 2 simple solutions that both work: 1. Import and use it like this in `your.component.ts` ```ts import { fromUrl } from 'geotiff/dist/geotiff.bundle.min.js'; fromUrl('yourtiff') .then(tiff => {...
Tested with latest changes: https://github.com/PacoDu/geotiff.js.git#change-main-entrypoint The problem is that './source.js' is included in "dist-browser/" with these 3 lines: https://github.com/geotiffjs/geotiff.js/blob/2ea5af8642ad1fd01515ff0f8357baf587142b2f/src/source.js#L2-L4 A workaround until now was to add these lines to package.json...
With v.1.0.4 I still get the following errors: - When I import like this it works, but I still get the warning below ```ts import { fromUrl, fromUrls, Pool }...
@xieranmaya Absolutely great. Your hard work and long hours writing this post are absolutely important. I will implement this tomorrow.
@neoman666 This is a pure css implementation, jQuery is for JavaScript stuff. If you append your dom elements dynamically with jQuery, then make sure to set the css properties as...
@simonbland Why put the trigger inside *ngFor and have it duplicated? - Since it's position: fixed it will just create a multitude of empty divs at the top-left page corner...