Angular 4: If I have a module with a component that shows a 4.x map, can I use that component more than once in another component? Getting errors related to "the API is already loaded" and only one map is shown...
Are you using the Angular-Esri-Loader? It sounds like each instance of your component is calling EsriLoaderServive.load(). You could try putting the map creation code into an angular service, instead of loading the API in the component file itself.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.