Select to view content in your preferred language

Map Won't Load in Chrome

3276
1
Jump to solution
05-30-2018 08:40 AM
JohnMax
Occasional Contributor

I can't get a map to load in Chrome.  Works well in IE and Safari and intermittently in Mozilla (must reload several times).  Console errors are attached.  Here's the webpage: https://www.washco.utah.gov/forms/emergency-services/fireworks-restrictions/

Any ideas?  Thanks! 

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

Seems like its because you are loading jquery after the Esri JSAPI. If you move the code that creates the map and loads the Esri JSAPI below the script tags that load jQuery it should be fine. Here's a stack overflow thread with a bit of detail: 

javascript - Error Multiple Define when loading base script - Geographic Information Systems Stack E... 

View solution in original post

1 Reply
KellyHutchins
Esri Frequent Contributor

Seems like its because you are loading jquery after the Esri JSAPI. If you move the code that creates the map and loads the Esri JSAPI below the script tags that load jQuery it should be fine. Here's a stack overflow thread with a bit of detail: 

javascript - Error Multiple Define when loading base script - Geographic Information Systems Stack E...