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

learn more… | top users | synonyms

3
votes
1answer
184 views

Trouble with accesing API code: “ReferenceError: esri is not defined”

I am developing a web map application in the ArcGIS API for Javascript. I two have ArcGISDynamicMapServiceLayer layers that I am trying to run a simple query task on. The code I am using works in ...
2
votes
1answer
25 views

Jsonp Callback error

Recently we have started migrating application from Javascript API 3.1 to 3.5 and we are finding this jsonp error coming sometimes during adding the layer.When we add the layer we also zoom to the ...
2
votes
1answer
273 views

ESRI JS API 3.3- setExtent, when called twice, same code, different behavior, jumps

Our map has a toolbar 'home' button with code that grabs extent values from a config file, creates an Extent object from those values, and passes the Extent object to the map's setExtent function. We ...
2
votes
1answer
116 views

How to create a ClassBreakRenderer without data coming from Feature Layer?

I would like to create a ClassBreakRenderer to represent integer values. The symbols I am using are defined as PictureMarkerSymbols with JSON and they are just a filled blue circle with different ...
0
votes
1answer
19 views

Publishing large amount of data (approx 2 million records) on ArcGIS Server

I am publishing 2 million records using ArcGIS Server. We are using ArcGIS for Desktop 10.1 and ArcGIS for Server 10.1. We have district wise data for India (like State----District etc) all the data ...
0
votes
1answer
28 views

Geoprocessing tool not executing when Map's SpatalReference is Web Mercartor

I am facing a strange issue when trying to execute GP service when my map's spatial-reference is Web Mercator. I appreciate all help. I have a JavaScript API application. Initially I only had my map ...
0
votes
0answers
60 views

How to add GeoTagged images to the map and store as KML

I have the requirement that i need to add a GeoTagged Image into the map and save that image in KML format. Give the approach to do this task.
0
votes
0answers
30 views

Error which are logged in console window

I have Polygon feature layer consisting of 2 lacks of feature but i am displaying few features depending on filter which we apply dynamically.if server returning 1 thousand records also then also it ...
0
votes
0answers
132 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
36 views

graphics not displayed in child window derived from parent window parameters

My webapp allows the user to zoom to a map extent, then create a new window with a new map drawn to the zoomed extent of the parent window map. The parent map contains graphics, which should also be ...
0
votes
0answers
76 views

ArcGIS JavaScript API - symbol does not appear in IE but works fine with Chrome or Firefox?

I am writing an app, the problem is same symbols works great with Firefox/Chrome but do not appear well with IE, any help will be highly appreciated. Thanks
0
votes
0answers
70 views

Creating MapServer in Geoprocessing service

Is it possible to create MapServer in Geoprocessing service in ArcServer 10? I have see that we can access MapServer from Geoprocessing result, http://<arcgis rest ...
0
votes
0answers
62 views

Flaw in JavaScript API

I have been building a Model builder which is hosted on the ArcServer to execute a geoprocessing task which then returns the result as a Map Layer which is overlaid over the basemap. I have been using ...
0
votes
0answers
135 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 ...
0
votes
0answers
183 views

Calculate extent for feature layer

I have a polygon layer consisting of 58-60 thousand records.I am displaying small number of records(2-3 thousand) using "setDefinitionExpression" expression .When I add layer at the same time i have ...
0
votes
0answers
219 views

How would one write a ArcGIS JSAPI layer to access WMS service via a Tile Server?

I want to request small WMS tiles instead of a single image for the entire map viewport because I know the request is going through a Tile Service (TileCache). OpenLayers handles this with the WMS ...
0
votes
0answers
91 views

Overlay shapefile data on the Map using Esri arcgis Javascript Api 3.0

Is there any way to overlay the shapefile data containing in the subfolder of the solution on to the map control of ESRI's Arcgis javascript api 3.0.Thank you in advance.
0
votes
0answers
115 views

Error publishing gp model with python script as a service

I'm attempting to publish a toolbox to ArcGIS Server. The toolbox contains a model and a custom python script. The model calls the script. It runs fine in the desktop but when I publish as a service ...
0
votes
0answers
436 views

Send ArcGIS JavaScript Geometry Object JSON to server using JQuery Ajax request

I need to send ArcGIS JavaScript Geometry Object JSON string to Asp.Net Handler. I am using JQuery Ajax request to post the Geometry Data. I am not able to pass JSON geometry like this ...
0
votes
0answers
325 views

ArcGIS Javascript API - rubberband zoom behavior

I'm hoping to get to some clarification on the way the rubberband zoom should work with Javascript API map. I instaniate my map like this: map = new esri.Map("map", { extent: ...
0
votes
0answers
365 views

ArcGIS Javascript Api Basic Viewer

How to configure the basic viewer with local javascript api in my web server? Anyone please give me a sample.

1 2