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

0
votes
2answers
61 views

Dijit Horizontal slide bar issue

I'm trying to implement a Horizontal Slider using 'dijit/form/HorizontalSlider'. I successfully got the Slider working but the slider comes with a red color. How can i change the color to white or any ...
3
votes
1answer
202 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 ...
2
votes
1answer
71 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 ...
2
votes
1answer
134 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 ...
1
vote
1answer
246 views

Accessing Draw toolbar of ArcGIS JavaScript API without dojo?

I am building an application using Angular JS, and have been accessing ESRI classes thus far in the following way: var graphicsLayer = new esri.layers.GraphicsLayer(); I have access to the 'esri' ...
1
vote
1answer
134 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 ...
1
vote
1answer
132 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 ...
0
votes
1answer
177 views

How activate href link in ArcGIS API?

I have some problems with opening a link in ArcGIS API. I have my popup window where LAT, LONG and LINK are shown. function addPoint(evt) { var latitude = evt.mapPoint.getLatitude(); ...
0
votes
1answer
154 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 ...
-1
votes
1answer
22 views

TypeError: dojo.promise is undefined

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 ...
-1
votes
1answer
615 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: ...
3
votes
0answers
36 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.
3
votes
0answers
756 views

How to create a custom Attribute Inspector for mobile app using the ESRI JS API

I am making a mobile version of a JS web application I developed. I'm noticing though that the AttributeInspector widget by default uses standard dojo/form controls. This means that the form within ...
2
votes
0answers
32 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 ...
2
votes
0answers
89 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 ...
2
votes
0answers
105 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 ...
2
votes
0answers
3k views

Simple Dojo Pop Up Window

I'm working on my first web application using the JS API and am looking to add a simple tabbed pop-up window that can be called on the load of the page that can display map instructions and a general ...
2
votes
0answers
3k views

How to dynamically add all feature layers using ArcGIS JavaScript API?

I have a mapserver http:// mymapserver/services/rest/xxx/mapserver/ which contains 7 layers with /mapserver /1 /through mapserver/7 If a define an ArcGISDynamicMapServiceLayer and 7 ...
2
votes
0answers
150 views

Projection declaration in dojox.geo.openlayers possible?

I am trying to integrate some maps of my own into the dojox charting demo and I had success in exporting a shapefile (externally, i.e. with my own parser) to the dojo JSON map format. The map is in ...
2
votes
0answers
170 views

dojox.geo.openlayers roadmap?

I'm curious as to the future of dojox.geo.openlayers. Presently is seems only to be a solution for positioning widgets on the map but I can imagine developing a suite of map specific dijits such as ...
1
vote
0answers
29 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 ...
1
vote
0answers
30 views

Highlighted graphics resets on zoom in ArcGIS API for JavaScript?

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! ...
1
vote
0answers
67 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 ...
1
vote
0answers
263 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 ...
1
vote
0answers
147 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
172 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 ...
1
vote
0answers
96 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 ...
1
vote
0answers
197 views

How to add Legend Panel to Dojo / Openlayers?

I have openlayers app on dojo framework. I've been serving WMS layers with geoserver and wanted to use GetLegendGraphic to build legend for all layers. I've seen there are some ready widgets (like ...
1
vote
0answers
201 views

Populate print template title text from a dojo textbox

I have a print widget that starts up great. It's based on the typical ArcGIS print widget sample. However, I want to tweak this a bit. There is a "titleText" property in the layout options that I ...
1
vote
0answers
250 views

ArcGIS map service not resizing for print-friendly page

( I asked this same question on ArcGIS forums, with no response...I hope someone here can help!) I am using ArcView, ArcServer 10.0 and the JS API v3.1 (so no print function) ... I have an app where ...
0
votes
0answers
3 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. I have a combobox that has a list of companies and I would like to style that list in a ...
0
votes
0answers
18 views

How to get color from a marker symbol using esri and javascript

I use Esri map and javascript, and I set the variable: var pointSymbol = new esri.symbol.SimpleMarkerSymbol( esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE, 15, new ...
0
votes
0answers
29 views

ArcGis 2 JavaScript Api Conflict 3.11 and 3.16

Have problem with arcgis javascript api.My template(Tour Map- Customized) is old and use 3.11. <script src="//js.arcgis.com/3.11/init.js"></script> And i want to use ...
0
votes
0answers
30 views

ArcGIS Edit Tool is not working in IE10

I need to move the feature using the Edit tool from esri javascript api 3.13 editLayer : function(layer) { alert("Use 'shift+Mouse Click' to Select the Feature"); this.layer = ...
0
votes
0answers
34 views

How to enable navigation tools when the dialog is appeared on map?

I created a simple webgis with Navigation tools.The navigation tools is located in a dialog. the problem is when the dialog appeared on map, i couldn't interact with map and the background of dialog ...
0
votes
0answers
92 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 ...
0
votes
0answers
23 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 ...
0
votes
0answers
471 views

Toggle Layers from Multiple Services

I'm trying to adapt my code so that I can create a layer list of all layers in multiple services. I'd like them to be able to be turned on/off. My current code builds a dynamic layer list from one ...
0
votes
0answers
257 views

infoWindow does not open on initial page load (ArcGIS Javascript API)

I am working on a webapp using the ArcGIS Javascript API. I noticed that when I first load the map (currently living on a development server), the infoWindow does not open (when clicking on a ...