Buildings of MVTlayer and icons of Iconlayer are not rendering properly after upgrading to deck.gl version 9.1.8 from 8.9.36 #9568
gireeshbhogireddy
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Working code with deck.gl 8.x


Everything is working fine in my application with deck.gl version 8.9.36. Below are the screenshots.
Dependencies in package,json for working one:
"dependencies": {
"@deck.gl/extensions": "^8.9.36",
"@deck.gl/geo-layers": "^8.9.36",
"@deck.gl/layers": "^8.9.36",
"@deck.gl/mapbox": "^8.9.36",
"@mapbox/mapbox-gl-geocoder": "^5.0.2",
"@turf/bbox": "^7.2.0",
"@turf/bbox-polygon": "^7.2.0",
"@turf/boolean-intersects": "^7.2.0",
"@turf/buffer": "^7.2.0",
"@turf/nearest-point-to-line": "^7.2.0",
"@turf/point-to-line-distance": "^7.2.0",
"@turf/union": "^7.2.0",
"crypto-js": "^4.2.0",
"events": "^3.3.0",
"fingerprintjs2": "^2.1.4",
"mapbox-gl": "^2.15.0",
"moment": "^2.30.1",
"nextnavsdk": "file:",
"terraformer-wkt-parser": "^1.2.1",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"turf-featurecollection": "^1.0.1",
"turf-point": "^2.0.1"
}
Not Working code with deck.gl 9.x

After upgrading to deck.gl version 9.1.8, Buildings are not rendering properly and icons are disappeared. Below is the screenshot.
This is the warning i am getting: loaders.gl: MVTLoader: "options.gis" is deprecated, use "options.mvt.shape" instead
Tried to fix that warning with code changes of object creation in MVTLayer but nothing worked.
Dependencies in package,json which is not working, change of packages from the working code are highlighted:
"dependencies": {
"@deck.gl/extensions": "^9.1.8",
"@deck.gl/geo-layers": "^9.1.8",
"@deck.gl/layers": "^9.1.8",
"@deck.gl/mapbox": "^9.1.8",
"@mapbox/mapbox-gl-geocoder": "^5.0.2",
"@turf/bbox": "^7.2.0",
"@turf/bbox-polygon": "^7.2.0",
"@turf/boolean-intersects": "^7.2.0",
"@turf/buffer": "^7.2.0",
"@turf/nearest-point-to-line": "^7.2.0",
"@turf/point-to-line-distance": "^7.2.0",
"@turf/union": "^7.2.0",
"crypto-js": "^4.2.0",
"events": "^3.3.0",
"fingerprintjs2": "^2.1.4",
"mapbox-gl": "^3.1.0",
"moment": "^2.30.1",
"nextnavsdk": "file:",
"terraformer-wkt-parser": "^1.2.1",
"terser-webpack-plugin": "^5.3.10",
"ts-loader": "^9.5.1",
"turf-featurecollection": "^1.0.1",
"turf-point": "^2.0.1"
}
Please let me know what else I am missing when I am upgrading to latest version of Deckgl.
Beta Was this translation helpful? Give feedback.
All reactions