The ArcGIS API for JavaScript is a web mapping API from Esri.

learn more… | top users | synonyms

0
votes
2answers
251 views

ArcGIS javascript API 3.6 How to prevent .on adding graphic layer from eliminating popups on other layers

I have am using mouse events to add a new graphic as such. paCounties.on("mouse-over", function (evt) { var highlightGraphic = new Graphic(evt.graphic.geometry, highlightSymbol); ...
2
votes
2answers
539 views

How do I hide a feature layer service

I'm only just getting into dojo, so I have what most would probably consider a very basic question. I've built my own legend in a div and added divs for the legend items. This is all quite manual, ...
2
votes
2answers
552 views

Feature Layer Web Mercator Service is too slow in IE and zooming does not work in FF

I am facing issue of Feature Layer being too slow and hangs browser , we changed the projection system to WebMercator performance increased in FF but in IE it sill hangs.when i zoom in FF it hangs ...
5
votes
2answers
394 views

Loading custom dojo and Esri

We have to develop an application which will have lot of rich ui along with a map. For the map, I am using the arcgis javascript api which includes dojo. For UI components other than the map, I want ...
-1
votes
1answer
289 views

Projection parameters from WGS84 UTM37 to Ain El Abd UTM37 and the reverse

I am developing application using JavaScript apis, I want the correct projection parameters to convert from WGS84 UTM37 to Ain El Abd UTM37 and the reverse. When I click in the map I get Ain El Abd ...
0
votes
1answer
231 views

ArcGis Map hangs when i add Feature Layer

I facing this critical issue which i am not able to solve.When i create map object using ArcGISDynamicMapServiceLayer then things work fine but since i need lot of graphics and want to handle user ...
4
votes
2answers
2k views

Auto resize map to 100% after content pane is removed in ArcGIS JSAPI

Been at this for hours and I can't seem to figure it out. I'm using AG-JSAPI 3.6 I have a map layout with a bordercontainer and two contentpanes, One is the map div and the other is the left div ...
0
votes
1answer
162 views

Modify Map Service Symbology via Esri JavaScript API

I have a JavaScript application built on the Esri JavaScript API that is consuming a feature service and a tiled map service from ArcGIS Online. I developed a widget that allows the user to change ...
0
votes
1answer
119 views

Create Layer editing/Analysis in an ArcGIS web map application using Javascript API

I want to make an ArcGIS web map application in which user can select different layers of the published map (data of the layer in Postrgresql) and do some analysis based on layer data.import data to ...
0
votes
2answers
541 views

Info (data from fields) from multiple overlapping features in popup element in ArcGIS JavaScript API

I'm just trying to do a simple task. I have a point file with numerous overlapping points. When I load the service onto ArcGIS.com (their online mapping site) and enable popups and click on a point ...
2
votes
0answers
349 views

Data visualization techniques for web maps using ESRI and open source suites

I want to represent statistical data over the web map and looking the examples/techniques to represent data on the web map (apart from Pie-chat, bar graph) with new tools like gauge widget etc. ...
0
votes
0answers
287 views

What causes an Out of Memory error in ArcServer?

I'm creating a web app in the ESRI JS API and have recently added a 2008 FIRM service to the app. I cached the service. When I would try and click and identify certain flood zones I get an error in ...
2
votes
0answers
157 views

How to serve KML files from ArcGIS Server in AGS JSAPI 3.6

I have a javascript test page that adds a couple kml layers to a map and I can toggle them off and on. I seem to get info popups for free with KML. When I click on a point feature I get the data ...
0
votes
1answer
619 views

How to determine the accuracy of getFeatureInfo on a WMS layer?

I have added a WMS layer to the ArcGIS Server JSAPI and am attempting to query it using getFeatureInfo when the user clicks on the map. A reproducible sample is available here. This is mostly ...
1
vote
3answers
301 views

How can I retrieve the features in a layer without adding it to a map?

I am using the ArcGIS API for JavaScript. My layer of Point features is exposed through a REST service. I want to retrieve all of these features when the application starts up, then show different ...
1
vote
1answer
550 views

ESRI JavaScript API Print With Icon

There are plenty of questions related to printing using ESRI's JS API, however, I am looking for a way to utilize a printer icon to automatically fire the task. The samples show a print tool that ...
1
vote
1answer
482 views

How to run an Identify task on a WMS layer

I'm new to WMS layers, and am looking for a way to retrieve a layer's attributes when clicking on the map, using the ArcGIS Server JS API. The documentation is a bit sparse, but from this question it ...
0
votes
1answer
105 views

Mouse click event used gis application with much data

I will create an application that using my water pipes, electric cables, gas pipes service in a city. All of streets and roads including water pipes. My service is publishing pipes. My service like ...
0
votes
1answer
107 views

Add layer using popup in ArcGIS Javascript API

I would like to be able to add a new feature layer within a popup window from an arcgis server. For example (purely hypothetical), you click on a state and it has 2 options: fire departments and ...
3
votes
2answers
246 views

Different legend properties with ArcGIS API for JavaScript

I have a map template that I use to display a variety of feature layers and dynamic layers. I have found a snippet of code to add the legend to my map: //add the legend dojo.connect(myMap, ...
1
vote
0answers
245 views

View attachments in popup when using the editor widget

I am using ArcGIS javascript API to construct an editor app for a layer. I am using the default out of the box editor widget to edit and display data for an app. The layers I am editing contain ...
2
votes
1answer
395 views

ESRI geoprocessing service with Javascript API 3.5

I am having issues getting a geoprocessing service to run. The service is a simple Python script that converts a table to CSV file. It runs fine in ArcMap. I can publish the service with the input ...
1
vote
1answer
422 views

How To Display ArcGIS Javascript API Graphic on Postback

This code uses ArcGIS JS API 3.5 to have a user designate a location on a map. It then blasts those coordinates into a SQL Server 2008 database and returns (using the confirm location button) some ...
0
votes
1answer
102 views

What is difference between GeometryService areasAndLengths method and Measurement widget in ArcGIS JavaScript API?

What's the difference between the GeometryService areasAndLengths method and the Measurement widget to make a caculation in the ArcGIS JS API? Accuracy?
4
votes
2answers
1k views

Export dojo datagrid results to csv in javascript web application

I have created a web application using the esri javascript web api. I populate a dojo datagrid with results returned from a querytask. My question is, how do I export the results to a csv file? I ...
0
votes
1answer
148 views

Display Lat/Lng coordinates from Oracle DB with ArcGIS HTML5 component

We have some experience in using ArcMap and ArcSDE, but this dates back to 2008, so we're not up to date with the recent developments in ESRI products. Now we're dealing with a database that has some ...
0
votes
0answers
281 views

ESRI javascipt agsjs TOC works in version 3.0 but not 3.5 of the API

Is there a way to get the TOC.js to work in version 3.5?
0
votes
0answers
136 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 ...
2
votes
1answer
192 views

ArcGIS 401 error during initialization of javascript map

I have a dumbed-down application to only reference a geometry service, and a feature service. When the map is being initialized, it sends out a GET request of: ...
0
votes
0answers
413 views

Looking for ArcGIS API for javascript and Jquery samples

I'm new in ArcGIS javascript API .I found tons of samples of ArcGIS javascript API and DOJO . it was very interesting for me but i know Jquery and i'd like to use Jquery to develop webgis.Is there ...
1
vote
2answers
262 views

Set custom extent in ArcGIS JSAPI 3.4/3.5

I am using ESRI suit 10.1 and ArcGIS JSAPI 3.4/3.5. I want to set custom extent (for India) for this map and trying to assign the coordinate in center but its not getting proper map. In previous ...
-1
votes
1answer
430 views

ESRI Javascript polygon

I'm using ESRI JavaScript API 3.5. My polygon cannot load. Please help. dojo.require("esri.map"); dojo.require("esri.graphic"); var map; function init() { map = new esri.Map("map",{ ...
-2
votes
3answers
121 views

Disable a button until selection is made [closed]

I have this section in my website: There is a drop down list of environments and an area for a user to input a Zip Code. What I am trying to achieve is making the button disabled until a selection ...
0
votes
2answers
92 views

Need to convert xy values to features in feature service using ArcGIS Server javascript API

I need to convert XY values in a textfile which the user uploads into point features(not graphics) in a feature service using ArcGIS Server Javascript API. The ARCGIS server version is 10.1 and API ...
3
votes
2answers
143 views

Does ArcGIS.com support dynamic map services (or only feature services and tiled services)?

Using ArcGIS Server it is possible to publish a map service, which has a URL like http://services.arcgisonline.com/ArcGIS/rest/services/Demographics/USA_1990-2000_Population_Change/MapServer/1 In ...
3
votes
0answers
142 views

ArcGIS Javascript API - Looking For Styled Navigation Plugin/Widget

I am looking for a fancy navigation plugin to use with the ArcGIS Javascript API. Something along the lines of the Navigation Widget (see image below) available in the Flex Viewer would be great. ...
2
votes
1answer
395 views

Restricting base map on specific extent in ArcGIS JSAPI 3.3/3.4

Currently I am using ArcGIS JS API ver 3.3/3.5 in my application. I want to restrict the basemap for US only .For example one can use default navigation features like zoom in, zoom out for the US ...
1
vote
1answer
95 views

ArcGIS JS Modular Feature Layers? Possible?

My ultimate goal is a map which can toggle the visibility of layers on an ArcGIS map. However the data I need to use is not available as a feature service, I have to build it programatically from ...
0
votes
1answer
302 views

Show pie-chart values & legend in info-window for AGS_JSAPI 3.4/3.5

Currently I am going through this example and trying to insert values in pie chart (I have added that screenshot and want to show values & legend in the info window) I am using ArcGIS Suit 10.1 ...
2
votes
0answers
620 views

How to access ArcGISDynamicMapServiceLayer with credentials (token)

I know I simply need to append a token=XXX to the export query string but how, in code, do we initialize "esri/layers/ArcGISDynamicMapServiceLayer" to use credentials? In my case I only want to ...
6
votes
1answer
183 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
1
vote
2answers
82 views

How to find the width and height of the html content dynamically to pass to esri map infowindow.resize?

There will be a html content stored in a variable with div id to pass into infowindow map.infoWindow.resize(width,height); map.infoWindow.setTitle("Callout"); map.infoWindow.setContent(calloutData ); ...
0
votes
1answer
148 views

Undomanager did not remove graphics when undo()

My attempted on using the UndoManager has been unsuccessful for a couple days and I'm stuck. I did not setup a proxy. I create a FeatureLayer object in memory with var drawingPointLayer = new ...
2
votes
2answers
690 views

How to install ArcGIS Code Assist in Aptana 3?

I have downloaded Aptana and ArcGIS Code Assist but I don't know how to "DRAG" the vsDOC into Aptana. Aptana 3 Installation Instructions Download the zip file that contains the VSDoc file for ...
1
vote
1answer
678 views

ArcGIS JavaScript API: How to add a CSV as a Layer?

I've created a map on ArcGIS online, adding a layer by uploading a csv file. This works fine, see map at link http://www.arcgis.com/home/webmap/vi...1ba43a0256c06b. Now I'm trying to simulate this in ...
1
vote
3answers
209 views

Is it possible to create a tooltip with a map service?

I am trying to modify the ESRI Parks Finder application to include a tooltip that shows the name of a park when you mouse hover over the icon. It is a map service. Most of the documentation I have ...
1
vote
1answer
554 views

Populating a Dojox Grid

The problem I am having is getting my grid to fill when I run my select command. It sees the number of features and creates the correct number of cells in my grid but that is about it. It should ...
3
votes
1answer
464 views

Tutorial for publishing and consuming toolbox using ArcGIS Server 10.1

Is there a simple tutorial for publishing and consuming toolbox using ArcGIS Server 10.1. In 10 I can just right click and publish my tools but in 10.1, things seems to change a lot. May I know if ...
0
votes
1answer
72 views

Need help in Geo-RSS

I am new to GeoRSS (& RSS also) and I have created small sample which displaying latest earthquake on map. According to GeoRSS definition/concept, it is showing the feeds across the world using ...
0
votes
0answers
25 views

What is a simple way to create a popup table on map

Using arcgis javascript, is there a way to create a popup table after i perform some processing? Basically my user will select an extend and all address that fall within the extend will be shown.