Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dojo]

Dojo Toolkit is an open source modular JavaScript library (or more specifically JavaScript toolkit) designed to ease the rapid development of cross-platform, JavaScript/Ajax-based applications and web sites.

0
votes
0answers
25 views

Configurable map viewer cannot display non-cached basemap?

I download the sample from github. Then I tried to add a custom basemap at the mapOption section. I have followed the instruction given in here. Also, I followed this post as well. But none worked, no ...
0
votes
1answer
26 views

Configurable Map Viewer css.JS problem on Chrome

I have a problem in displaying my map. It runs fine on IE, but it cant even load on Chrome (blank white page as if nothing is executed). I find the problem in some css files : load-css.js and css.js. ...
1
vote
1answer
31 views

Configurable Map Viewer custom basemap in viewer.js

I have a problem in configuring basemap in viewer.js. I want to use a completely offline basemap for my app. I have read the instruction here but can't make it work. Here is what i have tried : ...
0
votes
0answers
20 views

JavaScript for Configurable Map Viewer loaded from incorrect directory?

I have a problem with the reference of some JS files for Configurable Map Viewer (ver 1.3.4). I have a file called index.html which load certain config file depending on the option chosen. I call my ...
1
vote
1answer
87 views

Constrain Moveable DND Dojo Popup Window to Map Element

I have a ArcGIS Enterprise (Portal) Web AppBuilder template that I've customized to allow for my pop-up windows to be dragged around the screen, largely using the example located here. The issue I'm ...
0
votes
1answer
73 views

Can't get Dijit layout to work in Javascript API (BorderContainer/ContentPane)

EDIT: Well this is probably a big part of the issue, it appears my parser is not working. How do I fix that? I'm using the Javascript API 3.23. For whatever reason, when I create a BorderContainer ...
0
votes
1answer
118 views

asynchronous execution javascript dojo (return a variable result of a query)

I would like to know if it's possible to return a variable in a function after finding the result in a queryTask. Apparently this is an asynchronous execution but, to be honest, I really need to ...
0
votes
1answer
120 views

Placing a widget inside a DIV

I have a div. <div class="left_panel box animate fadeInLeft three" id="layers" style="display:none;"> <div class="sidebar-head"> <h2>layers</h2> ...
1
vote
2answers
248 views

Need dojo array.map to wait for feature layer query to complete

I am executing an IdentifyTask and then using dojo array.map to create an array of Features to pass to an InfoWindow. The stripped down version of my code follows. var deferred = ...
0
votes
0answers
52 views

how focus a widget on screen?

I'm open a lot of widgets programmatically. So I need focus a widget when it's opened. The first time that widget it's open, automatically set focus, but the second time it doesn't. updated Code to ...
0
votes
1answer
222 views

How folded a widget on screen in Web App Builder?

I want make that a window like this Has the foldable behaviour, like this foldable window: I need a window foldable, moveable and resizable, any idea?
1
vote
1answer
612 views

How open Web AppBuilder widget programmatically?

I'm trying open a widget from other widget: _open: function () { var config = WidgetManager.getInstance().appConfig.getConfigElementById("widgets_IdentifierRed_Widget"); WidgetManager....
0
votes
1answer
41 views

How to configure my custom network in the Directions dijit?

I'm making a CMV app and trying to make the directions widget work with my own network dataset. I replaced ESRI's street route network service with my own service, so viewer.js looks something like ...
0
votes
1answer
78 views

ArcGIS API Dojo problem to activate a button for a function

I'm trying to connect (re-connect) a function to a panel button the dom by id is ok, if I use a function like : on(selectPoly, "click", function(){ html.set(dom.byId("drawToolTips"),"Autre message ...
0
votes
2answers
417 views

how to handle keyboard and click event

I am using ArcGIS JavaScript API and I want to show a message in console's log when I hold down "e" and click on a graphic drawn by a user. this.map.graphics.on ("click", lang.hitch(this, function(...
2
votes
1answer
45 views

Dojo private modules use them?

I need help with ArcGIS API for JavaScript, I need to use private modules in code for my tools, but I can't figure out how use them in my app like on click launch this module. I'm lost in DoJo... ...
1
vote
1answer
15 views

How to activate a FeatureLayer operation from a button using dojo/on function?

this is the setup of the FeatureLayer: on(MallaFeatureLayer.getFeatureLayer(), "before-apply-edits", lang.hitch(this, this.asignarUnidadLecturaMalla)); how could I link it to a button?
1
vote
0answers
276 views

Cascade filtering with ArcGIS API for JavaScript?

I want to populate my dropdown with attributes of shapefile for example in one dropdown on loading name of states given then after selecting the specific state next drop down loads its counties and ...
0
votes
1answer
221 views

Floating pane CMV?

I have a menubar (Search, Find, Draw, Measure) in my layout. By clicking on the respective buttons I would like to display the widgets.I am using the CMV widgets in my app.Based on the widgets ...
2
votes
0answers
80 views

Access SharePoint data via ArcGIS Web AppBuilder Custom Widget

I need to read and write data from/to SharePoint site via ArcGIS Web AppBuilder Custom Widget. Does anybody any experiences how to do it? I tried SharePoint REST API and putting a code from this ...
0
votes
1answer
117 views

'geometryService' argument is missing

I am using 'queryTask.execute' to get features from a layer. And have change the geometry-paths of the features(polyline), trying to save the changes using 'applyEdits'. This is throwing error 'esri....
3
votes
0answers
88 views

Unresponsive Script ArcGIS Online [closed]

I'm receiving the following 'unresponsive script' error within all major browsers when viewing a particular map hosted on ArcGIS Online: Text: https://cdn.arcgis.com/cdn/10175/js/jsapi/dojo/dojo.js:...
1
vote
0answers
305 views

Zooming to selected record in enhanced data grid using DOJO?

I developed a webgis find tool using ArcGIS javascript api 3.17. users search a keyword and find points on map. the find tool result show in an enhanced datagrid and works correctly. What i want to do ...
1
vote
0answers
525 views

Refreshing values of data grid of Dojo?

I developed a webgis tool to find some features on map using Find task of ArcGIS javascript api and show the attribute in a grid using enhanced grid dojo. Everything work fine at the first time and ...
1
vote
1answer
526 views

Display Legend on my legend div

I am trying to display legends of all layers of map service in my legend div, for that I have written and tried some code. But not displaying, please suggest someone where is problem in my code. <!...
3
votes
1answer
409 views

Customizing ArcGIS API for JavaScript widget?

The default ESRI search dijit doesn't have all the functionality I need. Is it possible to get the default search dijit code and extend it and if so are there any guides on doing this? I couldn't find ...
2
votes
1answer
109 views

ArcGIS JS API: Basic map not loading inside dojo BorderContainer

I am facing this issue while loading the simple basic arcgis map inside dojo BorderContainer. Following is the code that I am trying, this.mapContainer = new BorderContainer({ region: 'center', ...
0
votes
1answer
89 views

Modifying a map object parameter for ArcGIS JavaScript API printTask?

I want to change the extent and operational layers of a map for several printTasks. The goal is to take a group of polygons, and create a map of each one separately, changing the basemap and some ...
2
votes
0answers
87 views

ESRI ARCGIS Flex - Javascript migration

We have a current architecture of FlexViewer and part ArcGIS Flex API based custom tool that's sitting on a IIS server to draw zones. ESRI is migrating to ESRI Javascript API and we have two options ...
2
votes
0answers
142 views

How to create a dojox.grid.DataGrid

I am fairly new in creating a web app builder, and I am trying to find a way to create a DataGrid using dojo. In one of the in panel customized widgets, I have a combobox that has a list of ...
2
votes
2answers
356 views

Using Multiple Versions of ArcGIS API for JS in Same Application

We've a large web based GIS application running which uses an older version of ArcGIS API (v3.7) for JS. The ArcGIS JSAPI v3.7 is lacking some functionality which are available in v3.15. Now I also ...
1
vote
0answers
285 views

Creating in panel TOC widget using Web AppBuilder for ArcGIS developer edition?

I'm trying to create a custom widget, in web AppBuilder for developers, for my web application that will be a TOC. Does anyone have a code already produced for this or know how to adapt code to do ...
0
votes
1answer
46 views

How to set LocateMe Widget static or predefined location(or x & y)

I want to have locateMe button with static predefined x and y coordinates. I have found this: myWidget = new locateButton({ theme: "locateButton", // (optional). class name for the widget container. ...
0
votes
2answers
137 views

Adding NOAA Radar to JavaScript Application

I am atempting to add NOAA's Dopler Radar to my web. For whatever reason the later will not display on the map. No errors are being reported and I have used console.log() to confirm the data is being ...
5
votes
0answers
169 views

How to move a point on a touch screen using esri map, dojo and javascript

I am new to map development. For touch screen devices, I need to add a point on an ESRI map and then move this point to other location on the map and get its coordinates.
1
vote
2answers
7k views

Uncaught TypeError: Cannot read property 'on' of undefined

I have added a drawpolygon tool in navigation toolbar,but when clicking on this tool event is not firing. Please suggest me how to solve this error : Cannot read property 'on' of undefined. ...
-2
votes
1answer
162 views

TypeError: dojo.promise is undefined [closed]

I am trying to convert my web mapping application from legacy to AMD style. However, the error message tells the "TypeError: dojo.promise is undefined". I have tried to see if the error could come ...
2
votes
2answers
147 views

ESRI JS API - Unable to register Basemap Gallery (ID is already registered)

I am attempting to add a BasemapGallery to my web application. I prefer to create my layout dynamically using constructors such as: layout.cpRight = new ContentPane({ region:"right", ... ...
0
votes
1answer
92 views

Arcgis Javascript Api Identity Manager with proxy

I'm trying to setup an authentication architecture with a web app using arcgis Javascript api with a configured .NET proxy and a web adaptor. When i load my app the identity manager shows up for ...
0
votes
1answer
310 views

Getting vertices of segment of polyline using ArcGIS API for JavaScript? [closed]

I have a poly line with 3 co-ordinate, say (x1,y1), (x2,y2), (x3,y3). Can I get the vertices (x1,y1), (x2,y2) if clicked on line-segment drawn by (x1,y1), (x2,y2)? I have a poly line on map that with ...
2
votes
0answers
210 views

Highlighted graphics resets on zoom in ArcGIS API for JavaScript? [closed]

I am highlighting graphic using graphic.setSymbol(pictureSymbol). It is working fine. But, when map is zoomed the symbol graphic is reset to default. If anyone has come over the issue, please help! ...
2
votes
0answers
38 views

Adding more than 5000 paths string in ElevationProfile using ArcGIS API for JavaScript?

I'm creating a simple ElevationProfile using the ArcGIS API for JavaScript. In the URL it's described as MaximumRecords: 5000 Its allows only 5000 polyline array paths but I have more than 5000 ...
0
votes
1answer
2k views

Receiving dojo.io.script error Error: Invalid URL?

I am trying to get a buffer circle on my map,when I click on map. I tried with the following code, but I got error: dojo.io.script error Error: Invalid URL How can I avoid this error? <!...
0
votes
1answer
923 views

Esri API JS, popup not displaying after first click [duplicate]

Demographics data shows upon first click but not after, park information does work. I've changed around almost everything with non real solution. I feel like for whatever reason my feature server data ...
2
votes
0answers
311 views

ArcGIS API for JavaScript census info popup and parks popup one map?

I have two operational ArcGIS API for JavaScript maps that I want to combine to have two different popups. I am trying to figure out a way to add the number of parks to the census popup that would ...
0
votes
2answers
337 views

uncaught type error:dom is undefined

when trying to find radiobutton id using dom.byId("id") getting the error dom is undefined. require([ "esri/map", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ImageParameters",...
2
votes
2answers
423 views

Using legend with dijit/form/DropDownButton in ArcGIS API for JavaScript?

I am very new to the ArcGIS API for Javascript and am by no means a programmer. Nonetheless, I have been fairly successful at finding existing code and modifying it to my needs. That is, until now. I ...
1
vote
0answers
251 views

window.open and adding multiple maps to DOM of new window

I have created an HTML template to open from my existing arcgis JavaScript application. The HTML template is to be populated with several maps and text based on a user selection of the main app. My ...
2
votes
0answers
390 views

Populate list from arcgis server service in JQUERY javascript aplication instead of DOJO?

I would like to populate a list on a select combobox using jquery with data from an arcserver service.I'm wondering if this is possible and if so how i would implement it. I'm using the esri ...
1
vote
0answers
834 views

WMS layer as basemap in Configurable Map Viewer (CMV)

My goal is to use both wms layers and arcgis tiled layers as basemaps. I have accomplished this before in a separate application by simply adding it to the map as a layer and reordering the selected '...