Hello,
I have a web app hosted in a server that when i use chrome i have the following error.
login.js:20 Uncaught TypeError: Cannot read property 'GraphicsLayer' of undefined
If i tried in m.edge, the app shows w/o problems.
I installed the arcgisapi file in the server, modifying the path (localhost:443 for www.myserverdomain.net)
on dojo.js and init.js
Also my index file is like this.
<!DOCTYPE HTML>
<html lang="es">
<head>
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" >
<link rel="shortcut icon" href="">
<title>Login</title>
<link rel="stylesheet" type="text/css" href="arcgis_js_api/library/3.16/3.16/dijit/themes/tundra/tundra.css" />
<link rel="stylesheet" type="text/css" href="arcgis_js_api/library/3.16/3.16/esri/css/esri.css" />
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="stylesheet" href="js/vendor/font-awesome/css/font-awesome.min.css" />
</head>
<body>
<div class="login_wrapper">
<section id="myLogin" class="myLogin"></section>
<footer class="login_footer">
<h4 class="notification-login"></h4>
<div class="login_footer__div">
<img class="login_footer__img" src="css/images/chq_i.png" />
<p class="footer__div__p">© 2016 Planificación y Gestión de la Información Operacional</p>
</div>
</footer>
</div>
<script src="arcgis_js_api/library/3.16/3.16/init.js"></script>
<script src="js/vendor/jquery-2.2.1.min.js"></script>
<script src="js/vendor/prefixfree.min.js"></script>
<script src="js/login.js"></script>
</body>
</html>
What im doing wrong or what is is happening?
Im using legacy mode to load the code that i need. (like: var graphiclayer = new esri.layers.GraphicLayers())