Issue on Loading Required ClusterLayer.js With dojo

المشرف العام

Administrator
طاقم الإدارة
I have js file like this and I have saved the ClusterLayer.js in all directories like

root --> ClusterLayer.jsroot --> extras/ClusterLayer.jsroot -->js/extras/ClusterLayer.jsroot -->js/ClusterLayer.jsand the file is like

require([ "esri/map", "dojo/_base/array", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/geometry/Geometry", "esri/geometry/Point", "esri/geometry/webMercatorUtils", "extras/ClusterLayer", "esri/graphic", "esri/symbols/SimpleMarkerSymbol", "esri/symbols/SimpleLineSymbol", "esri/symbols/SimpleFillSymbol", "esri/Color", "esri/InfoTemplate", "esri/dijit/HomeButton", "esri/dijit/OverviewMap", "dojo/parser", "esri/layers/GraphicsLayer", "esri/SpatialReference", "esri/dijit/PopupTemplate", "dijit/layout/BorderContainer", "dijit/layout/ContentPane", "dojo/domReady!" ], function(Map, arrayUtils, ArcGISDynamicMapServiceLayer, Geometry, Point, webMercatorUtils, ClusterLayer, Graphic, SimpleMarkerSymbol, SimpleLineSymbol, SimpleFillSymbol, Color, InfoTemplate, HomeButton, OverviewMap, parser, GraphicsLayer, SpatialReference, PopupTemplate)but still getting error



Can you please let me know why this is happening?



أكثر...
 
أعلى