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.

learn more… | top users | synonyms

1
vote
1answer
23 views

Passing Arguments Between Widgets with Mixedin Templates - CMV Builder

I am attempting to manipulate a custom widget (Table) I built. I first initialize the widget in the viewer.js class and attach it to the 'sidebarBottom' pane in the viewer. Since the 'Find' widget is ...
0
votes
0answers
66 views

ArcGIS JavaScript API JSONP request

I am trying to add featues to esri.layers.FeatureLayer from response of JSONP request with esri.request. Interestingly I have right response and all features are perfectly shown on the map,BUT I get ...
0
votes
1answer
44 views

What would cause Dojo in later versions of ArcGIS Javascript (v3.12) from working in Internet Explorer?

On my testing machine I experience no problems with using http://developers.arcgis.com/javascript/samples/featuretable/ but if I run the same example on my client's machine I get "'require' is ...
1
vote
2answers
56 views

FeatureLayer fullExtent is being constricted by Dojo ContentPane side panel

I have an ArcGIS JavaScript application which displays one single FeatureLayer on a map which is in a Dojo BorderContainer/ContentPane template similar to the one shown here. I am trying to ...
3
votes
1answer
84 views

ArcGIS Javascript API AMD require syntax and Dojo ContentPane compatibility

I am trying to recreate the ArcGIS Javascript API/Dojo ContentPane layout template shown here for my own custom application. I would like to switch from using dojo.require() legacy syntax to using AMD ...
1
vote
1answer
17 views

How to customize Configurable Map Viewer (CMV) to be available on two languages choosing with button click?

I want to make this application available on two languages (MK and EN) depending on whether the user choose (click) [MK] or [EN] button. If I set variable loc = "MK", default application language ...
1
vote
1answer
58 views

Plotting the centroid of a polygon feature layer

I'm working with arcGIS javascript api 3.12. My current call for displaying the feature layer is as follows: var recLayer = new ...
2
votes
1answer
43 views

Takes Two Clicks to Select New Feature

I'm writing a web app using ESRI's Javascript API and a map I created in ArcMap 10.1 hosted on ArcGIS online (Feature Service, not WebMap). I have written the code necessary to print attributes in a ...
1
vote
1answer
56 views

set definition expression based on slider values

Using the Esri JavaScript API I want to control the set.DefinitionExpression values based on a user controlled range slider. The data is loaded from REST as ondemand using: var POP_Total = new ...
1
vote
1answer
91 views

Programmatically access a declarative ToggleButton

I've just started with Dojo/Javascript and even though I kind of understand all the AMD way of coding, I keep getting stuck on these (probably) easy things: how can I programmatically access a widget ...
1
vote
1answer
37 views

Create event handler for “x” button on type: 'floating' widget?

How do you create event handler for "x" button on type: 'floating' widget? "OnClose" fires every time: this.parentWidget.hide(); is called. I want to intercept the event when the "x" button in the ...
3
votes
2answers
164 views

ArcGIS Javascript API on Wordpress 4.1

SOLUTION: For everyone interested: turned out the solution was moving all files that use DoJo beneath the jQuery UI files, so that jQuery UI is fully loaded before any DoJo stuff loads. Moved them all ...
0
votes
0answers
69 views

ArcGIS Javascript API 3.12 Error

I updated my app to 3.12 and am getting the following error: Uncaught TypeError: Cannot read property 'toString' of undefined It is being triggered by the following line: coordMenu.addChild(new ...
1
vote
1answer
47 views

CMV Widget Toggle

In Configurable Map Viewer project, I'd like to be able to set the initial display of a widget to hidden and show it with a press of a button, for example, by clicking on a button in a toolbar. Take ...
1
vote
1answer
55 views

Tabs in ESRI Popup

I am trying to get popup's working in my esri JS map and I have the tab's mostly working but I am missing a resize function to have the tab container sized properly on load. When I click a polygon and ...
1
vote
1answer
46 views

Configurable Map Viewer (CMV) - add tabs to widget

I m trying to add a tab panel with three tabs in a widget, but I get the following message in the debugger: nested divs because wipeIn()/wipeOut() doesn't work right on node w/padding etc. Put ...
0
votes
0answers
19 views

Individual Feature Class that jumps TO individual Feature in Webmap

I am using the WAB(3) (Web App Builder, Beta 3) doing development of ESRI-based maps using FeatureClasses stored in our own City Government REST Services. We currently have a program called ...
1
vote
1answer
143 views

How to re-implement a Dojo application using Leaflet?

I apologize in advance if this is not the correct forum to ask my question. I have an web map application developed using the Dojo framework. However I would like to create the same web map ...
1
vote
1answer
126 views

Proxy error with ArcGIS PrintTask - AMD

I am trying to add a simple layer of security to my ArcGIS JS app. I do not want to prompt my users for a login to retrieve a token. So instead I pass the username/password inside this PHP proxy: ...
2
votes
2answers
226 views

ESRI JavaScript API FeatureLayer Click Event

I am using FeatureLayers in the API to load in a layer. I have an info template set for the layer for identifying individual features. I am trying to disconnect the click event from the layer while ...
1
vote
1answer
49 views

What would prevent ESRI JSAPI AMD modules from being cached?

I am using AMD style in the ESRI Javascript API (along with the esri application boilerplate: https://github.com/Esri/application-boilerplate-js). For some reason, the AMD modules from the ...
3
votes
1answer
78 views

Inconsistent Identify Task- Explain this bug?

Through some console.log debugging I've located the exact line of code that is failing me but I'm not quite sure how to fix the problem. Basically, I have an identify function that queries the ...
0
votes
1answer
123 views

Use Dojo to load modularized widget config files

I've taken a basic webmap 'ESRI HomeButton' and I'm trying to create a modularized webmap setup from it. I want to break down this simple webmap to have it utilizing a module system with config files ...
0
votes
0answers
117 views

Add Stacked Column Chart in InfoWindow

I want to add a a dojo stacked column chart to my InfoWindow (not pop up) that displays when a user clicks on a county in my map. The chart is based on land use information in each county layer from 3 ...
0
votes
0answers
59 views

dojo.connect(map, “onClick”,

iam using Onclick to draw pin icon on the map after click event its working fine on IE but its didt work on firfox and chroum , by the way iam using 3.2 js api library my code like this : ...
0
votes
0answers
113 views

Dojo Stacked Columns Chart for JavaScript ArcGIS Web Map Pop

Anyone know how to use the the StackedColumns chart in dojo for ArcGIS JavaScript API? I need to add one to my popup window. I can only find the documentation below: ...
1
vote
2answers
84 views

Placement of Save Button in ArcGIS Javascript AttributeInspector dijit

I am having a problem with an AttributeInspector that I noticed also exists in an online sample here: http://developers.arcgis.com/javascript/samples/ed_attribute_inspector/ If you click on a polygon ...
1
vote
0answers
89 views

Google Maps API to DOJO/ESRI Web App

I have a GIS webpage in HTML5/JavaScript using the Google Maps API. I found out we can no longer use the Google Maps imagery provided, and I need to switch to ESRI Imagery (free). Can someone help me ...
1
vote
0answers
98 views

How to combine three data extraction functions into one button?

I am looking to simplify my code. As of right now I have some code that allows users to extract GIS data in three different ways: Extract by drawn extent Extract by extent of the a county Extract by ...
3
votes
3answers
138 views

Make InfoTemplate moveable but still highlight attributes

I’m using the esri/InfoTemplate in the Javascript API to identify features. However, it gets anchored to the mouse click and cannot be moved around. Based on this answer I used dojo/dnd/Moveable to ...
2
votes
1answer
624 views

how to synchronously execute a queryTask

How can a queryTask be executed synchronously? I'd like a feature set to be returned instead of deferred object. Thanks,
-1
votes
1answer
400 views

TitlePane not rendering - working with basemapGallery sample code 2

I'm having the exact same issue as this question: TitlePane not rendering - working with basemapGallery sample code but the solution doesn't work for me. my javascript: ...
0
votes
1answer
230 views

return when asynchronous task has completed

I'd need a function to wait until the asynchronous task has completed and then return. In my example, I'm getting undefined returned from the "execute" method: var result = myClass.execute(obj); ...
0
votes
0answers
86 views

Add Print Dijit to the map context menu

I'd need to implement print map functionality from the map context menu (right click on the map). Here, I create a printer: // ------------------------------------------ //add printer // ...
0
votes
1answer
162 views

Showing Dojo charts On OpenLayers Map

I am trying to show dojo GFXLayer of dojox.geo.openklayers on my map layers , the problem is that my map is not showing townLayer but map is showing default OSM Layer and GFX layer.What I am Doing ...
0
votes
1answer
68 views

filtering GeoRSSLayer contents in arcgis javascript API?

I would like to make use of a public geoRSS feed with content from 10years (200+ items), however since it is too much information, i would like to show only a subset of this content in my map... I ...
0
votes
0answers
91 views

Combo Box selection to definition expression

Using ESRI JavaScript API I would like the pass the selection in a combo box to the setDefinitionExpression. I think this should be possible, but I am not sure of exactly what to do. The code that ...
2
votes
3answers
177 views

Dojo Slider to control tiled map services?

am creating a web map to show Sea Level Rise in my County. I want to use a Slider for a user select the increment of Sea Level Change that wish to see. I have been able to create Programatically ...
1
vote
0answers
70 views

Query Huge data passing in POST method [closed]

i have a feature layer in arcGIS, which contains huge number of features, from the Java desktop application i need to make a call to open a web browser and pass the id's of the features, which has to ...
1
vote
1answer
344 views

Legend Problem with arcGIS javascript API

I am new to arcGIS javascript API.I tried to display a simple dynamic map service with legend but its not displaying legend. I am not able to find error in my code. Please help me in resolving the ...
0
votes
1answer
1k views

replacing dijit.ComboBox with dijit.Select results in error (ArcGIS Javascript API)

I am currently populating a Dojo ItemFileReadStore with the results of an ArcGIS query (Javascript 3.4 API), which is then passed to a Dijit COmboBox. I am now having problems with the ComboBox in iOS ...
3
votes
1answer
1k views

change font size of elements in dropdown menu store

I am creating of list of building names from a query, which then populates a dojo.ItemFIleReadStore. This store then populates a dropdown menu (using dijit.Form.ComboBox), where the user makes a ...
2
votes
1answer
1k views

How do I get data to display on the map legend?

I am trying to use the Legend widget from this link below to build a legend that displays our layers in the map: https://developers.arcgis.com/en/javascript/home.html I have added the legend widget ...
2
votes
1answer
156 views

Tell Dojo to look for minified classes with ArcGIS JavaScript API

I've got an application build using the ArcGIS JavaScript API. I have several classes built with Dojo define. Each class is in a separate file, and everything is working fine. However, I've minified ...
1
vote
0answers
47 views

Synching Two ArcMap JavaScript webmaps to respond to panning

I am looking for some advice on how to approach a problem I am having. I am looking to build an ArcGIS webmap using JavaScript and HTML 5 that reacts to a user panning on two separate, synchronous ...
0
votes
1answer
52 views

How do I change my title of app?

We have a map with streets as basemap. We have been trying unsuccessfully, for the last two days to change the basemap to tiled layer with no success at all. I am posting a snippet because script is ...
1
vote
1answer
83 views

ArcGIS JSAPI Toggle Identify (AMD style)

I am trying to convert the Toggle Identify example to AMD style. However, I am stuck with an empty map. Debugging in Firebug doesn't help too much. Could anyone help me to find where I am wrong? The ...
0
votes
1answer
85 views

TabContainer ArcGIS API for JavaScript

I am a novice programmer, but I know enough to be dangerous. Here's my issue and hopefully someone knows the answer. I am developing an application with 4 tabs on the left and a map from ArcGIS ...
2
votes
1answer
96 views

How to flash a JSAPI map graphic only when contained in map extent [closed]

Using ESRI JSAPI 3.7 I'm flashing a graphic that works fine when the graphic is located within the bounds of the map extent (is visible). However, when you move the map so the graphic is located out ...
1
vote
3answers
1k views

How to create working Hyperlinks in OnDemandGrid Cells

I'm creating a simple ArcGIS application that shows a table of data from a feature layer, one of which is a URL string. I'd like to make that string be a clickable hyperlink. Is this possible and if ...