this.initExtent = new esri.geometry.Extent({"xmin":-14734647,"ymin":5119940,"xmax":-5862275,"ymax":8219011,"spatialReference":{"wkid":102100}}); this.map = new esri.Map( "Core_Map" ,{ "wrapAround180": true ,"extent": this.initExtent } ); var basemap = new esri.layers.ArcGISTiledMapServiceLayer("http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"); this.map.addLayers([basemap]);
From the 3.0 successful map: http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/1 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/1 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/1 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/2 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/2 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/2 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/3 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/3 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/3 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/4 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/4 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/4 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/5 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/5 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/5 From unsuccessful 3.2 map: http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/2 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/2 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/2 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/3 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/3 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/3 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/4 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/4 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/4 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/4/5 http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/5/5 http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/4/6/5
<link rel="stylesheet" type="text/css" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.2/js/esri/css/esri.css" />
You should also add this new CSS reference to the "Build your first application" concept ... <snip>
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.