xlhomme / WCSTerrainProvider

WCS Terrain Provider for Cesium
26 stars 14 forks source link

Uncaught TypeError: Cesium.loadXML is not a function #6

Open deseser opened 6 years ago

deseser commented 6 years ago

I have this problem i cant work around: WCSTerrainProvider.js:63 Uncaught TypeError: Cesium.loadXML is not a function at Object.OGCHelper.WCSParser.generate (WCSTerrainProvider.js:63) at new WCSTerrainProvider (WCSTerrainProvider.js:309) at 9.html:33 Although url generated by WCSTP: .../geoserver/wcs?SERVICE=WCS&VERSION=2.0.1&REQUEST=DescribeCoverage&CoverageId='name' works fine. GeotiffParser.js is included. Could You help me with that ?

hanyingling commented 5 years ago

@deseser ,Since cesium has been released from version 1.43, there is no loadxml function in the documentation, so you can try version 1.43.

xlhomme commented 5 years ago

Hi The WCSTerrainProvider has been build 5 years ago with a previous version of cesium. Some function should be deprecated at this time. You need to check to cesium API to find a way to replace this function.

Best regards

xlhomme

Le jeu. 21 mars 2019 à 02:25, HuZhuangQiang notifications@github.com a écrit :

@deseser https://github.com/deseser ,I also encountered this problem, have you solved it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xlhomme/WCSTerrainProvider/issues/6#issuecomment-475086383, or mute the thread https://github.com/notifications/unsubscribe-auth/ADzU5NorMauETmL2AWn-vpa7DYL7OE8mks5vYt-QgaJpZM4VCSFz .