Hi Everyone, Im hoping this is an easy one. So, Im just getting started on a simple little webpage using 4.3, and using some sample code from the getting started API webpage (see below) and I can't get even an unmodified sample working locally in IE 11.
When i first load it i get a popup sauing blocked content for active X control. So I click to allow the content, then i get nothing. Debugger shows "Access is denied." on line 18 of file 4.3.So im not getting far.
Any ideas? Thanks in advance.
Heres the example html from the getting started, unmodified as im trying to load it.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Get started with MapView - Create a 2D map</title>
<style>
html, body, #viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
</style>
<link rel="stylesheet" href="https://js.arcgis.com/4.3/esri/css/main.css">
<script src="https://js.arcgis.com/4.3/"></script>
<script>
require([
"esri/Map",
"esri/views/MapView",
"dojo/domReady!"
], function(Map, MapView){
var map = new Map({
basemap: "streets"
});
var view = new MapView({
container: "viewDiv", // Reference to the scene div created in step 5
map: map, // Reference to the map object created before the scene
zoom: 4, // Sets the zoom level based on level of detail (LOD)
center: [15, 65] // Sets the center point of view in lon/lat
});
});
</script>
</head>
<body>
<div id="viewDiv"></div>
</body>
</html>