Closed 8byr0 closed 6 years ago
Hi, I've found an issue with the GeoImage source: the getImage() function overwrite the Image source function. Just change it to getGeoImage() solves the problem. I've pushed a new commit on master branch. If you're using npm just replace the source/GeoImage.js in the node module with the one of the git. It will be included in the next version. Thanks for the feedback!
Great, it works very well ! Thanks for your work, your library is awesome !
Hi, I am facing same issue. I am using CDN "https://cdn.jsdelivr.net/npm/ol@v7.1.0/dist/ol.js". Is that issue is updated in Hosted CDN?
Good morning, It seems that the following issue has not been reported at all.
I tried to implement the following code in an angular(4) application http://viglino.github.io/ol-ext/examples/layer/map.geoimage.html
But it always results in an error when trying to launch the browser.
First of all, my imports:
`
Please find the code I used below : (this part properly works) `
And then I attempted to display a georeferenced image : `
`
It always resulted in the same issue :
So regarding this report I tried to use a ol.source.Image object instead of url but not more successful.
Have you already been noticing this kind of issue ? I apologize if it's not really an issue.
Best regards,
Hugues
PS: I've also tried SnapGuides lines example and it went properly well so your API integration sounds good !