-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMapa_JSAPI_327.html
More file actions
35 lines (32 loc) · 851 Bytes
/
Copy pathMapa_JSAPI_327.html
File metadata and controls
35 lines (32 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
<title>Mostrar un mapa con JSAPI 3.27</title>
<link rel="stylesheet" href="https://js.arcgis.com/3.27/esri/css/esri.css">
<script src="https://js.arcgis.com/3.27/"></script>
<style>
html, body, #map {
height: 100%;
padding: 0;
margin: 0;
}
</style>
<script>
var map;
var modulos = ["esri/map", "dojo/domReady!"];
var callback = function(Map) {
map = new Map("mapDiv", {
basemap: "satellite",
center: [-122.45, 37.75],
zoom: 13
});
};
require(modulos, callback);
</script>
</head>
<body>
<div id="mapDiv"></div>
</body>
</html>