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

learn more… | top users | synonyms

1
vote
2answers
158 views

ArcGIS javascript API Printing: fuzzy result

I created a real simple web app, copied from samples actually, to try figuring out something about the Print Dijit. Here's the thing. When you click print here there are two major concers with the ...
4
votes
1answer
111 views

Options to Replace Interactive Mapping System

I have been tasked with replacing our organizations online interactive mapping system. It is your run of the mill County Government interactive map. Its bulky, unreliable, slow and out of date. It is ...
3
votes
3answers
439 views

Additional Parameters for PrintTask?

Hi Guys I'm writing a custom GP tool for printing with 10.1. I need to pass some additional parameters into GP tool. I'm using printTask from jsapi and I couldn't add more parameters just by adding to ...
3
votes
1answer
222 views

how to disable duplicate items in the legend for ArcGIS JavaScript API

I have a problem with duplicate items in the legend panel! Can anyone help me? This is my feature Layer with popup info: // Feature Layer var msFeatureLayer = new ...
1
vote
1answer
354 views

Change Defination query of a layer in ArcGISDynamicMapServiceLayer

Is there any solid example to change the definition query at run time of the ArcGISDynamicMapServiceLayer using javascript API 3.5 or higher version and ArcGIS server 10.1. I found API documentation ...
2
votes
1answer
291 views

Changing basemaps with different spatial references (ArcGIS Javascript)

I've got a new requirement to switch basemaps that have different spatial references. The app is using ArcGIS Javascript, and switching to Silverlight is not an option at this point in development. I ...
0
votes
1answer
284 views

How to programmatically click on Feature or particular region without coordinates? [closed]

How I can programmatically click on feature using javascript library, lets say in world countries map how can I programmatically click on a particular country ( i don't want to use co-ordinate as my ...
2
votes
1answer
882 views

Arcgis Javascript latitude and longitude convert to WGS_1984_UTM_Zone_36N

I am using Arcgis Javascript api. I have two points comes from Google maps like this x:-111.67095840000002 y: 32.7558935 I wanna use this points on my Arcgis map. My map spatial reference is using ...
3
votes
1answer
420 views

ArcGIS JS API: Zooming with mouse wheel/double-click forces pan

I have a map that I'm initializing off-screen and sliding in using jQuery. For some reason zooming in with the scroll wheel or by double-clicking causes the map to simultaneously pan down (or pan up ...
1
vote
1answer
121 views

Pass Queried Feature Set to geoprocessor as a parameter

I am new to geoprocessing services and tried to publish my first. I created a simple model with one parameter, a featureset, and I am intersecting it with another layer which is specified in the ...
1
vote
1answer
174 views

JS API - onDrawEnd firing twice

I have a simple editing application with the following code: startEditing : function(template) { var drawingTool = template.template.drawingTool; switch(drawingTool) { case ...
2
votes
1answer
69 views

Load dojo from local and ESRI packages separately

Is there by any chance a way to load dojo packages from my local and then load ESRI javascript api packages which i need?
3
votes
1answer
153 views

looking for an esri compatible javascript engine

I work on an esri heavy team, i'm looking for a mapping engine that will give me flexibility to build on top of and leverage only the pieces I need and or add more as the app grows. I've been using ...
1
vote
1answer
176 views

How can I use the ArcGIS JavaScript API along with a separate version of Dojo?

I am using the ArcGIS API for JavaScript in my application which is being developed using IBM WebSphere Portal. When I integrate ESRI with my HTML code it works fine but when I load the ArcGIS ...
1
vote
1answer
220 views

Determine if ArcGISDynamicMapServiceLayer is from a Tiled Map Service in ESRI JavaScript API

For some of our JavaScript mapping applications, we load a Tiled Map Service as a ArcGISDynamicMapServiceLayer. When we use the PrintTask and want to print a map at a scale in between the tiled map ...
1
vote
1answer
76 views

Using ESRI Dojo version for building web application

If I am using ESRI's JavaScript API for my application, then I cannot load a different version of Dojo other than the one shipped with ESRI. I have to rely on ESRI for Dojo. The map appears in only 3 ...
1
vote
1answer
209 views

Problem with creating a “blank” basemap in an application built with arcgis javascript api

I'm building an application where I'd like the user to be able to select a blank basemap from a gallery of basemap options. I've found that if I initialize the app with a "white" "blank" or "none," ...
-1
votes
1answer
212 views

arc gis javascript API Capturing polygon “onclick” event data to pass as featureset

How can you figure out what polygon is clicked within a feature layer? I have a feature layer made of county polygons. When the layer is clicked I want to trigger a geoprocessing task on my server. ...
1
vote
0answers
32 views

ArcGIS Javascript - Editor API methods?

I was looking at the API for the ArcGIS Editor widget (esri.dijit.editing.Editor), and I couldn't find a list of methods that are on the widget. I've seen other examples online that call destroy(), ...
0
votes
2answers
91 views

Is installing Web Adaptor mandatory/important with ArcGIS for Server?

If I am using ArcGIS for Server for my web application is it mandatory or important to install the ArcGIS Web Adaptor? I am facing a proxy page configuration issue.
2
votes
3answers
935 views

ESRI proxy page not working properly + CORS + cross domain scripting

I have set up a proxy page. I am using jsp version of proxy page. I have set up a server URL which will point to my Java. When I load the my page which the proxy URL has set in its html it will work ...
0
votes
1answer
182 views

How to rubberband zoom w/o the shift key: arcgis api for javascript

I want to enable the rubberband zoom effect without users having to hold the shift key down. This behavior is found is Esri navigation bar dijit. I don't want to use the dijit. How can I get a zoom ...
2
votes
1answer
343 views

Setting proxy url for larger request [closed]

When I query for larger features I get esri.config.defaults.io.proxyUrl is not set error. Can someone please explain why proxyurl is needed, how I should set it up, what should it point to, and any ...
3
votes
0answers
110 views

ArcGIS JSAPI - web workers CORS issue

In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file: url = ...
1
vote
0answers
82 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
2answers
69 views

ArcGIS Javascript Editor - showAttributesOnClick feature

I'm using the Editor dijit to add feature to my map. I was looking at one of the online samples, which mentions a "showAttributesOnClick" setting in the description. When I look at the code in that ...
2
votes
1answer
168 views

Migrating to ESRI js version 3.2 from 3.6

I have to migrate to esri js api 3.2 instead of 3.6 since 3.2 uses dojo 1.7 , what are the pros n cros.If change the code which is written in 3.6 to 3.2 i.e api reference then my code breaks , any ...
4
votes
1answer
123 views

In clause in Query

I am using ESRI JavaScript API 3.6. I want to perform a query operation on the fields returned by the rest service. As far as I know and have read, we can use like and = operators to query single ...
1
vote
0answers
108 views

Create Materialized View to Flatten ArcGIS JavaScript API Database

I'm doing a project using ArcGIS JavaScript API v3.5 hosted on ArcServer v10.1. While reading the question below, remember that I do not have control over the datasource and cannot just create a ...
0
votes
1answer
224 views

Cached Map Services concept and feature layer

I am having performance issue in my application. My feature layer has 220 polygons, but when I load the map with the feature layer, the browser hangs. On the advice of forum experts, I have now ...
0
votes
2answers
225 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
380 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
483 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
306 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
231 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
188 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
1k 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
125 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
104 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
435 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
238 views

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

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
211 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
138 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
498 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
213 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 ...
0
votes
1answer
391 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
369 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
96 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
102 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
186 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, ...