<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Simple Map</title> <link rel="stylesheet" type="text/css" href="http://axxlserver/arcgis_js_api/library/2.6/jsapi/js/dojo/dijit/themes/tundra/tundra.css"> <script type="text/javascript" src="http://axxlserver/arcgis_js_api/library/2.6/jsapi/"></script> <script type="text/javascript"> dojo.require("esri.map"); function init() { var myMap = new esri.Map("mapDiv"); //note that if you do not have public Internet access then you will need to point this url to your own locally accesible cached service. var myTiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer"); myMap.addLayer(myTiledMapServiceLayer); } dojo.addOnLoad(init); </script> </head> <body class="tundra"> <div id="mapDiv" style="width:900px; height:600px; border:1px solid #000;"></div> </body> </html>
Version 2.6 of the ArcGIS API for JavaScript released today. View the blog post for details:http://esriurl.com/3428For those who need the local download it will be available in a few days. I'll post back on this thread once it is ready.
Network Error (dns_unresolved_hostname) Your requested host "helpdev.arcgis.com" could not be resolved by DNS.For assistance, contact your network support team.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.