working with multiple maps in one page

925
1
03-14-2017 12:56 PM
DaveSouthern
New Contributor II

I'm trying to get two maps to work on one page and so far haven't been successful.  The best I have been able to obtain is one map having the basemap loaded and the other map having all the layers loaded.  I've put unique id's on all the div's associated with the maps.  Is there something else that needs to be done to make sure esri can distinguish between them?

0 Kudos
1 Reply
DaveSouthern
New Contributor II

Opps!  nevermind.  I discovered that the original code I had copied had a global map variable (eek!).  Once I changed that, everything was fine.

0 Kudos