require([ "esri/map", "esri/dijit/BasemapToggle", "esri/dijit/HomeButton", "esri/config", "esri/dijit/Popup", "dijit/dijit", // optimize: load dijit layer "dijit/layout/BorderContainer", //HTML CONTAINER "dijit/layout/ContentPane", //CONTAINER "dijit/TitlePane", //CONTAINER "esri/arcgis/utils", //Elements "dijit/form/ToggleButton", //HTML "dijit/form/Button", //HTML "dijit/Dialog", //Required for Custom Splash Page "esri/dijit/BasemapGallery", // Required for Basemap Gallery "dijit/layout/AccordionContainer", "dojo/fx", // needed if use jsapi 3.0 "agsjs/dijit/TOC", "dojo/ready", "dojo/domReady!" ], function( Map, BasemapToggle, HomeButton, esriConfig, Popup ) {
var djConfig = { parseOnLoad: false, async: true, packages: [{ "name": "agsjs", "location": location.pathname.replace(/\/[^/]+$/, "") + '/agsjs' }] };
require([ "dojo/parser", "esri/map", "esri/dijit/BasemapToggle", "esri/dijit/HomeButton", "esri/config", "esri/dijit/Popup", "dijit/dijit", // optimize: load dijit layer "dijit/layout/BorderContainer", //HTML CONTAINER "dijit/layout/ContentPane", //CONTAINER "dijit/TitlePane", //CONTAINER "esri/arcgis/utils", //Elements "dijit/form/ToggleButton", //HTML "dijit/form/Button", //HTML "dijit/Dialog", //Required for Custom Splash Page "esri/dijit/BasemapGallery", // Required for Basemap Gallery "dijit/layout/AccordionContainer", "dojo/fx", // needed if use jsapi 3.0 "agsjs/dijit/TOC", "dojo/ready", "dojo/domReady!" ], function( parser, Map, BasemapToggle, HomeButton, esriConfig, Popup ) { parser.parse(); // parse the page before the map is initialized.
l SCRIPT438: Object doesn't support property or method 'require' identifyMultiple.js, line 4 character 1 dojo/parser::parse() errorError: Unable to resolve constructor for: 'dojox.grid.DataGrid' Error parsing in _ContentSetter#undefinedError: Unable to resolve constructor for: 'dojox.grid.DataGrid' Error undefined running custom onLoad code: This deferred has already been resolved LOG: [object Object] LOG: toggle[Widget esri.dijit.BasemapToggle, BasemapToggle] TypeError: Unable to set value of the property 'canSort': object is null or undefined LOG: message:Unable to set value of the property 'canSort': object is null or undefined LOG: description:Unable to set value of the property 'canSort': object is null or undefined LOG: number:-2146823281 LOG: info:Unable to set value of the property 'canSort': object is null or undefined LOG: name:TypeError LOG: . LOG: TOC loaded
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.