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

2
votes
1answer
1k views

Can you dynamically set print options using ArcGIS JS API?

I'd like to create an option in my web application where a user can click on a print button and a list of options appears: Page template (already available via esri.dijit.print) Map Title Notes or ...
3
votes
2answers
332 views

TitlePane not rendering - working with basemapGallery sample code

I am attempting to implement the basemapGallery code found in the API samples here. There seems to be an issue with the TitlePane into which my basemapGallery is nested. It simply does not render. ...
2
votes
1answer
376 views

onLayerAdd function why dojo.connect?

I am building a map application, calling layers from an arcgis-server using the javascript api. Maybe I am being stubborn, but I am trying to minimize my use of dojo throughout this process. Much ...
5
votes
2answers
624 views

Moveable ESRI / ArcGIS Identify Popup Window (Dojo)

I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example: var popupOptions = { fillSymbol: new ...
1
vote
1answer
841 views

sorted ItemFileReadStore list not pushed to dropdown menu // Dojo, ArcGIS

this may be more a Dojo question than ArcGIS, but I am not sure if the Javascript API is related to this issue. I am trying to alphabetically sort a Dojo store and show these items in a dropdown ...
2
votes
1answer
1k views

Popup from multiple services

I am trying to have one infowindow/popup show from multiple services. I have successfully added the second service to my code, however, only 1 result will display. Ex. if I am at full scale, only ...
0
votes
1answer
276 views

Esri Query Task service does not display

I am trying to make my way through some ArcGIS server Javascript API tutorials. My current issue is that when I try to display an Esri.Map, all I see is the "powered by esri" logo in the bottom right. ...
1
vote
0answers
102 views

enhanced grid dojo [closed]

I have a widget which consists of two panels.I need to place a dojo enhancedGrid in both the panels . However,the enhancedGrid appears only in one of the two panels despite the fact that I have ...
6
votes
2answers
529 views

Styling a Chart within a Popup

I have a dojox bar chart on my app, that is populated from a QueryTask everytime the extent changes. I am making use of the Tufte theme (the only one that has a transparent background), and ...
0
votes
0answers
271 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 ...
1
vote
1answer
131 views

How can I web map service published by Dojo in Flex app

We want to include a base map layer in hosted Flex app. We requested web map service from the vendor and I got a file (.htm) from client with some dojo code. I can understand the code but I am not ...
4
votes
2answers
1k views

Error: Tried to register widget with id==legendDiv but that id is already registered

Getting the following error when running my app: Error: Tried to register widget with id==legendDiv but that id is already registered Not sure how to get rid of it. My javascript for the legend is: ...
3
votes
1answer
455 views

Basemap Gallery Error - ESRI JS API

I'm getting an error when trying to switch basemaps in my application(right now only works in IE9). TypeError: Unable to get value of the property '_basemapGalleryLayerType': object is null or ...
2
votes
0answers
98 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
2answers
353 views

Insert a loading message into DataGrid

I'd like to show a loading message (Loading...) that shows while the datagrid is being populated. It would show when the search button is clicked and disappear when the grid results have populated. ...
2
votes
1answer
815 views

ArcGIS Javascript: upgrade ComboBox to FIlteringSelect using ItemFileReadStore

I would like to upgrade a web app I am working on from v2.1 to v3.1 of the Javascript API (I have tried 3.2 but I am getting some very odd rending problems, so I'm settling with 3.1 for now...) One ...
1
vote
1answer
655 views

create buffer around locator-derived point

I am trying to create a buffer around a point derived from a locator search, using this example: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm ..but I am getting no ...
1
vote
1answer
382 views

open current selection's tab in tabbed infoWindow container: ArcGIS Javascript API

I am updating a webApp using ArcGIS Javscript API 2.1 I have an infoWindow with tabs which shows all of the features in my map. I built it based on this example: ...
0
votes
0answers
189 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 ...
4
votes
2answers
806 views

Does the ArcGIS JavaScript API let me build / package my application using Dojo?

I'm currently getting to grips with the new (3.1) ArcGIS JavaScript API and how it bundles Dojo and relies on Dojo's Asynchronous Module Definition (AMD) approach. I'm familiar with AMD and recently ...
1
vote
0answers
250 views

What are some really cool web/mobile GIS UI examples? [closed]

I need some ideas on eye candy for our product. We have to display maps with lots of data on accessible through the web. Most sites I have seen have a Google, or OSM map with markers and layers ...
2
votes
0answers
144 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 ...
0
votes
2answers
3k views

Differences between ExtJS and Dojo Framework

I have been using OpenLayers and the ESRI's JavaScript API and found that both using different set of JavaScript libraries have some implications on the quality of application that they deliver. Dojo ...
1
vote
1answer
573 views

JS API Toggle Pop-Up On & Off

I am attempting to allow for the pop-up to be toggled on and off by pressing a checkbox. Here are some snippets of the code: var clickHandler function popupOn(evt){ var query = new ...
3
votes
1answer
697 views

How do I use a toggle button with the ESRI javascript api

I am trying to use two toggle buttons which have been added to a map to toggle layers on and off in my simple web application. I am having problems getting the toggle button to respond when clicked or ...
1
vote
1answer
320 views

openlayers map inside a dojo dialog

My application is currently displaying some search results in a dojo grid inside a dialog. I've been asked to embed a map inside the dialog but am struggling to do so. Has anyone done this? I've got ...
0
votes
1answer
527 views

OpenLayers controls keyboard shortcuts

I'd like to hook up keyboard shortcuts to my map controls e.g. holding down 'z' will activate the zoombox tool etc. I can't seen anything relevent in the API for doing this. Is it easily done? My ...
0
votes
3answers
567 views

JSAPI 2.8 and Dojotoolkit 1.7.2? May?

I realize no one can give a definitive answer but is it reasonable to think the next release of ESRI JSAPI will be built on top of dojotookit 1.7? And will be released in the next 2-3 months? Any ...
3
votes
1answer
416 views

Any Open Source Extensions to ESRI JSAPI?

I'm looking for some functionality beyond what ESRI already provides in the JSAPI. For example, the ability to display the LOD in a tooltip on the zoom control. It seems like there should be a ...
3
votes
2answers
307 views

Why is the Button code on the ArcGIS.com sample viewers so complicated?

I'm trying to modify one of the ArcGIS.com sample maps to add my own buttons, and I'm surprised at how complicated the HTML page is. Here is the code for the simple "Details" button at the top left ...
12
votes
4answers
3k views

Which framework is best to implement an application robustly, using ArcGIS Server JS API?

Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS: ...
1
vote
0answers
458 views

ArcGIS Javascript API - IE9 Quirks Mode

I'm having difficulty understanding why ArcGIS Javascript API isn't rendering SVG when running in IE9 quirks mode. When I visit the ESRI sample site at ...
2
votes
1answer
758 views

A random “Could not load cross-domain” message when loading Esri map

My application displays an Esri map, by accessing the Esri public sampleserver. I use Esri dojo API for this purpose. The Esri dojo I use is of version 1.6 and is locally installed (as a war) on my ...
2
votes
1answer
634 views

How to add an identify button with Arcgis JS API?

GIS stackexhange is the first website that i've come across that has come near to answering my question, but some how i can't work the answer out in my head/or the answers here have confused things ...