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

learn more… | top users | synonyms

0
votes
3answers
410 views

Accessing fields of particular layer

I am trying to access the fields which I can see in this particular layer. I am able to see that it has fields but fetching the values in those fields is something that I am unable to do. Is there ...
4
votes
1answer
997 views

Feature Service layer issues

What is the maximum number of records returned by WFS protocol? What is maximum number of records returned by a Feature Layer in ArcGIS Server 10.1? What is maximum number of records the ArcGIS ...
3
votes
3answers
2k views

How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?

I am developing a web application with ArcGIS JS Api that is similar to this smart campus: UCSB Interactive Campus Map. Here, in the Building drop down list box, you can select a building, and the ...
1
vote
1answer
108 views

“Combo-box” for ArcGIS Java script API (ver. 3.1)

I am using combo-box in ArcGIS Java script API (ver.2.8). When I update the version to 3.1 it gives an error "TypeError: _2d.store.query is not a function" Can anybody tell me that "Combo-box" ...
3
votes
1answer
490 views

How to select several disseminate features with ArcGIS JS API?

I have a cadastral map similar to this one from an ArcGIS Javascript API example: Cadastral map What I would like to do is selecting several parcels clicking on them and show the information related ...
1
vote
0answers
30 views

Info from the getResultImageLayer missing

I was finally able to get the result layer overlaid on my application but now I am facing another problem. The output of the layer url does not show any field or attribute details. I am not sure why ...
3
votes
2answers
3k views

Changing infoWindow style in ArcGIS JavaScript API (v3.2)

See below a screenshot of the infoWindow's appearance in my ArcGIS JavaScript API (v3.2) application. As you can see the transparent title bar with the white buttons doesn't work too well against a ...
3
votes
1answer
195 views

is there an API-level error handler in the ArcGIS Server JS API?

I'm seeing an error message in FireBug: Error: Internal kml parser error.http://serverapi.arcgisonline.com/js.../?v=3.2compact Line 34 I'm not worried about fixing this error for the moment - I'd ...
0
votes
1answer
492 views

how do i load map service from using JavaScript API? [closed]

I created a Map Service in arc catalog. Now How i can load this map with javascript api ? I have this sample : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...
2
votes
1answer
396 views

Create dynamically multiple layers in ArcGIS Server 10.1

I am using ArcGIS Server 10.1 and Desktop 10.1 software. I am publishing table from sqlserver to the ArcGIS server, that table (from sqlserver) is updating hourly, and the types are increasing. I ...
2
votes
1answer
520 views

ArcGIS JS Api: Click on feature, create a particular new map?

I have a polygon layer visible from scales 0 to 8 (bigger to smaller). The thing is that I would like to click on a SINGLE feature of this polygon layer and then going to a different map (but in same ...
1
vote
1answer
212 views

Represent joined data in Info window (ArcGIS JSAPI 3.1)

Currently I am facing following problem I have joined the SQL Server data base to my shape files (In ArcGIS Desktop using “join” option)and published on ArcGIS Server and working on REST service in ...
3
votes
3answers
1k views

How to count features in polygon using ArcGIS JS API?

I have published in my ArcGIS Server two layers: A polygon one and a point feature one. Points are contained in polygons. I would like to know how to count the number of points belonging/contained to ...
1
vote
1answer
1k views

is it possible to obtain layerInfo from the Layer's URL

I am trying to fetch the names of the layers in the MapService, so that I can populate them in the dijit.form.select. I am able to get the layerInfo when the ArcGISDynamicMapServiceLayer is added to ...
2
votes
1answer
591 views

Displaying ArcGIS Server dates without javascript localized date offset?

Esri recommends that databases are in UTC time. And if I’ve got this right, unless you set a time zone in your layer, you are entering a date in a date field as UTC. Mostly this is fine.You understand ...
0
votes
1answer
383 views

Integrating ArcGIS Online Web map to my Java script file(test.html)

Is it possible to integrate ArcGIS Online web map to my java script API?? I check the samples but in which only web map is added..I have few layers in .html file (Like feature,dynamic etc. and I want ...
3
votes
1answer
286 views

getResultImageLayer is not working

I am trying to obtain the shapefile output that I am receiving from the gpTool, which is hosted on the ArcServer, and placing it on the Map using, gp.getResultImageLayer(jobInfo.jobId,"final_shp", ...
2
votes
1answer
1k views

Customizing the time slider in ArcGIS Java Script API 3.1

I want to customize the time slider. Currently I am using "esriTimeUnitsMonths" in which I am getting only months not the year (Please check the image) I want to put month name +year ex. Jan 09 Feb ...
1
vote
1answer
2k views

Adding layers using ArcGISDynamicMapServiceLayer

I am right now adding individual layers using FeatureLayer but it takes quite some time to load as the map is for US Counties (3076 count). I tried to load it using ArcGISDynamicMapServiceLayer but I ...
2
votes
2answers
534 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
2answers
909 views

Load One Layer from ArcGIS Server MapServer

I am pretty new to ArcGIS Server and am building a map applications using the Javascript API. I can easily load the map layer below by adding it as a ArcGISDynamicMapServiceLayer ...
1
vote
1answer
223 views

Geodata Service in ArcGIS Java script api (3.1)

Can I use Geodata service in ArcGIS JavaScript API 3.1 ??? Background : I have simple map service and the all attribute data is stored in Sql Server database. I want to perform query operation on map ...
4
votes
2answers
2k views

Compute Angle of line in conventional bearing using ArcGIS API for JavaScript?

I am trying to compute angle between two lines (line segment) using ESRI (ArcGIS, JS) in conventional bearing (Eg: N29'E) I am using Add Toolbar to draw a line segment where point A is a fixed point ...
4
votes
2answers
1k views

ArcGIS JS API Edit Toolbar permits MOVE but not EDIT_VERTICES or ROTATE - JavaScript error thrown

I'm putting together an ArcGIS (v10.1) JS API (v3.2) application and I've hit a snag in drawing / editing functionality. Users can draw a new geometry or edit an existing one. I'm using the draw and ...
2
votes
2answers
2k views

Customize the legend elements

I want to customize the legend box elements .Please check the screenshot (I want to remove the highlighted information ...its the map service name and symbol in ArcMap) How its possible? Is there any ...
1
vote
1answer
1k views

Unable to removeLayers from Map

I was trying to create a FeatureLayer from the features returned from the ViewShed GP and I was successful at doing it. So when I click on the map, that featureSet is sent to the GP Tool and the ...
4
votes
2answers
1k views

ArcGIS JS Api: Getting information by location from multiple layers

I have two layers published in my ArcGIS Server 10.1 server. One is a polygon layer representing the World map by country and the other is a point layer depicting cities. Please, note that cities ...
2
votes
2answers
226 views

How to project US States in Transverse Mercator [duplicate]

Possible Duplicate: Layers having the same coordinate system should overlap, but they don’t. What’s wrong? I created two different MXDs, one for City of Tucson and another for US States. If ...
8
votes
3answers
1k views

Map Application Requires Refresh to Initialize

I tried this question over on StackOverflow but didn't get any answers. Hoping you all might be able to help. Creating a web mapping application in Javascript/Dojo: When I load the app in a browser ...
2
votes
1answer
1k 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
1k views

displaying scale of dyamic map service layer using ArcGIS JS API

In ArcGIS JS API, I would like to know and display the scale of a dynamic service layer by using the onExtentChange event, but the LOD argument is only valid for tile map services. Is there an ...
1
vote
1answer
918 views

ArcGIS JavaScript API layerDrawingOptions seem restricted to 1 option, and it doesn't have any effect

I have two problems with ArcGIS Server's (10.0) dynamic layers when calling Layer.setLayerDrawingOptions from v3.2 of the JavaScript API. 1) It doesn't work. I set the layerDrawingOptions array for a ...
1
vote
2answers
466 views

Enable FIND in ArcGIS Server 10.1

Trying to get a FindTask working via this sample and the only difference between my code and the samples that I can see is that the sample data has a find operation enabled. I can't find in my server ...
1
vote
1answer
802 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 ...
0
votes
1answer
2k views

Feature Layer from JSON file

I would like to project my shapefile information on the maps. I converted my shapefile into a JSON file. How can use the Json file to create a featurecollection object in the ARCGIS Javascript API. ...
2
votes
1answer
506 views

Event for Selected Feature when Editing?

Are there Events in the ArcGIS JavaScript API that I can use to get the selected features being used by the attribute inspector and when features are added to the map? I am using the editor widget in ...
1
vote
1answer
469 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
226 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 ...
1
vote
1answer
426 views

load map parameters after opening new window

I am trying to open a new window from an existing window, which will contain a map with an extent derived from the original window. In other words, the user will zoom to an area in the original ...
1
vote
0answers
103 views

Esri ArcGIS plot point

I have created a java function to plot the points on the map, and I need to pass the x-y coordinates and the taskevent as the parameters. I would like to ask what should be the input parameter for ...
4
votes
2answers
2k views

“TypeError: Unable to draw graphic (geometry:null, symbol:null)” after adding tiled and feature layers

I'm seeing the following error when attempting to add a tiled and feature layer to the same map when using the ArcGIS Server JS API 3.1: TypeError: Unable to draw graphic (geometry:null, ...
0
votes
2answers
761 views

Toggle Visibility of Features in FeatureLayer

How to toggle the visibility of features in a feature-layer using check-boxes .I have grid containing check-boxes in a columns representing each feature in Feature-layer and so if I check off the ...
4
votes
2answers
1k 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 ...
2
votes
1answer
381 views

Clustering Point for StatePlane WKID 2236

Does anyone have an example to point me in the right direction to utilize Clustering with the ESRI JS API working with a State Plane wkid: 2236? I want to provide a solution for an internal ...
5
votes
1answer
445 views

Unclear on proxy used for AJAX in Javascript

I do understand how the proxy helps in transferring the XMLHttpRequest between the ArcServer and the Server (IIS/Apache) but where I am confused is that the first time the Html Doc loads, doesn't the ...
2
votes
2answers
2k views

ArcGIS Javascript API - Refresh

The ArcGIS Javascript API has a nice refresh interface for ArcGISDynamicMapServiceLayer: var dynamicMapServiceLayer = new ...
6
votes
1answer
229 views

Is it possible to install ArcPy on a server for use in a geoprocessing web application?

I have a website on my intranet and would like to add some geoprocessing tools to it with Python. Many Users will not have Arc installed on their machines, so I think I need to have the scripts set ...
5
votes
1answer
538 views

ArcGIS Online without basemap

I am trying to create a Web App, using the ArcGIS Online feature of downloading the javascript code, with the map id being used for connecting to the ArcGIS Online. I was able to do that successfully ...
0
votes
2answers
4k 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
0answers
130 views

locator service to use with ArcGIS Javascript API v2.1

I am hoping to find a locator service that will locate by address or intersection, and that will work with version 2.1 of the ArcGIS Javascript API. I tried this locator given in the examples, which ...