Select to view content in your preferred language

ArcGIS js SDK integrate BIMFace SDK in one page with "multipleDefine" issue

483
2
12-13-2021 11:40 PM
baohuachu2
Emerging Contributor
I want to use ArcGIS js SDK for 2D map and BimFace for 3d BIM model in one page. But get the multipleDefine error. Try to adjust the reference order of the two SDK in the page ,not succeed. Try adding some dojoConfig parameters, this is not solved either.

The local ESRI support can not give me help on this. I guess there are some techniques in loading ArcGIS library if integrate with other framework.

The code is :code pen codes 

 

0 Kudos
2 Replies
AndyGup
Esri Regular Contributor

@baohuachu2for loading multiple frameworks when using the ArcGIS API for JavaScript's AMD modules you might take a look at the esri-loader library: https://github.com/esri/esri-loader.

baohuachu2
Emerging Contributor

Dear @AndyGup  , I will try it. Thanks so much.

0 Kudos