FAQ
Inconsistent versions of each dependent package of L7 in the project lead to error reporting
Error: Cannot apply @injectable decorator multiple times.
🌟Solution:
deletenode_modulesDownload all different versions ofL7package, reinstall and start.
Disable map interaction
- During initialization, you can
mapConfiguration item settings
- Gaode map can be viewedhttps://lbs.amap.com/api/javascript-api/reference/map
- mapbox https://docs.mapbox.com/mapbox-gl-js/api/#map
- Set after loading is complete
transfer
sceneofsetMapStatusmethod
webcontext lost
- Browser exists
webglThe upper limit of instances is 16 in general browsers, so the number of map instances that can exist in the browser is limited. - Need to be called after destroying the map
scene.destroy();rightwebglThe instance is destroyed.