Yes i know.I use your example code with my value of spatial referencethis is the code
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=7,IE=9, IE=10">
<!-- Sets whether a web application runs in full-screen mode. -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<!-- Sets the style of the status bar for a web application. -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<title>Mobile Gallery</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css" />
<link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.5/js/esri/css/esri.css" />
<link rel="stylesheet" href="vendors/appcropolis/app-reset.css" />
<link rel="stylesheet" href="resources/css/custom-buttons.css" />
<style>
html, body {
height: 100%;
margin: 0px;
padding: 0px;
width: 100%;
}
.ui-content {
padding: 0 !important;
}
#map {
height: 100%;
width: 100%;
position: absolute;
z-index: 0;
}
</style>
<script src="http://code.jquery.com/jquery-1.9.0.min.js"></script>
<script src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
<script src="http://serverapi.arcgisonline.com/jsapi/arcgis/3.5compact/"></script>
<script>var dojoConfig = { parseOnLoad:true };</script>
<script>
dojo.require("esri.map");
dojo.require("esri.arcgis.utils");
dojo.require("esri.dijit.Legend");
dojo.require("esri.geometry.Extent");
var map;
function init(){
var webmapid = "6eb589248e684df282db5bcd993d1ebe";
esri.arcgis.utils.createMap(webmapid, "map",{
mapOptions: {
extent: new Extent({
xmin:1577660.2638056062,
ymin::5056615.1691762265,
xmax::1604566.0977619751,
ymax:5120210.7767094625,
spatialReference:{wkid:102100}
})
}
}).then(function(response){
map = response.map;
});
}
dojo.ready(init);
</script>
</head>
<body>
<div data-role="page" id="page">
<!-- header -->
<div data-theme="a" data-role="header" data-position="fixed">
<h3>Mappa</h3>
<a href="#featureDialog" data-role="button" data-theme="reset" class="ios black">Layer</a>
</div>
<!-- content -->
<div data-role="content">
<div id="map"></div>
</div>
</div>
<div data-role="page" id="featureDialog">
<div data-role="header" data-position="fixed" data-theme="a">
<h1>Layer</h1>
<a href="#page" data-role="button" data-theme="reset" class="ios black">Mappa</a>
</div>
<form>
<fieldset data-role="controlgroup" data-inset="true">
<legend></legend>
<input type="checkbox" id="checkbox-v-2a" class ="custom" value="0" data-mini="true" onchange="updateOPPLLayerVisibility()">
<label for="checkbox-v-2a">Geologia</label>
<input type="checkbox" name="checkbox-v-2b" id="checkbox-v-2b" data-mini="true" onchange="updateOPPLLayerVisibility()">
<label for="checkbox-v-2b">Two</label>
<input type="checkbox" name="checkbox-v-2c" id="checkbox-v-2c" data-mini="true">
<label for="checkbox-v-2c">Three</label>
</fieldset>
</form>
</div>
</body>
</html>
but don't work.In your opinion is there any error?Thanks