AnsweredAssumed Answered

Embedding Multiple Maps - Contention Issues

Question asked by csgeosol1 Champion on Jun 22, 2015
Latest reply on Jul 12, 2015 by csgeosol1

Hello,

 

I am using the .NET framework, combined with the HTML5/JavaScript ArcGIS API, and have encountered issues when embedding multiple maps as a user control (.ascx).

 

One map embedded within a container worked fine after isolating and resolving contention issues with global JavaScript already on the page. However, embedding multiple maps results in contention within the ArcGIS JavaScript API, and I am unsure how to resolve/encapsulate.

 

As a resolution, I ended-up converting the user control to a web page and loading via iFrame. This works well for our current needs, but I would like to explore a method that does not utilize iFrames... I have encountered contention issues previously across js frameworks and resolved by encapsulating two versions of jQuery on the same page by using noConflict (http://api.jquery.com/jQuery.noConflict/) - what's the best way to do something like this with the ArcGIS API?

 

Any architecture/design help would be appreciated! A demo app would be welcomed!

 

Thanks!

Outcomes