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

learn more… | top users | synonyms

2
votes
1answer
793 views

HTML5 local storage for tile maps and feature layers using ArcGIS Java Script API

I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data. Any ...
2
votes
1answer
2k 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 ...
3
votes
1answer
1k views

How to use Zoom Slider like the older version in Arcgis Javacript API 3.3?

I'm using Arcgis Javacript API 3.3. In this version zoom slider look like this. And here, this is the older version. Is there any way to make it like the older version?
3
votes
1answer
242 views

Opacity causes tiles to 'flash' in

I have a map sitting on top of a dark gray background. I have the canvas basemap set to initially load as semi-transparent: var canvas = new ...
2
votes
2answers
667 views

pass string varialbe to placeholder for attribute in infoWindow (ArcGIS Javascript)

I am working on a Javascript-based webapp that uses an ArcGIS map service, which has several attribute columns containing URLs to photos. The user will be able to open photos by clicking on a link in ...
5
votes
2answers
3k views

Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application

I am writing my first ArcGIS Javascript API web map application and consuming a web map authored in ArcGIS Online. The ArcGIS Online web map apparently does most of the work for me in terms of ...
2
votes
1answer
300 views

SOAP url of arcgis service

I basically use REST URL to display feature layer or ArcGISDynamic Service layer and it is commonly promoted by ESRI by their api example. I was wondering since the ArcGIS server also provide SOAP URL ...
0
votes
1answer
1k views

Plot points using ArcGIS javascript api from co-ordinates

I would like to map co-ordinates that I got from the exif in photo's using my own command line tool that I made. As opposed to uploading your private photo's for everyone to see on flickr. How to I ...
2
votes
2answers
840 views

How to retrieve the mapPoint behind a PictureMarkerSymbol?

I am using ArcGis Javascript API 3.2. After instantiating a Point, PictureMarkerSymbol, attribite and an InfoTemplate, I use this code to plot a point on the map. var graphic= new ...
3
votes
1answer
3k views

Changing ArcGIS Server 10.1 port (6080 to 8080)

Due some network issue (Maps are not displaying in secure environment), I want to change the default port 6080 to 8080. I am going through Web help and few links in which they mentioned that install ...
1
vote
0answers
148 views

setLayerDefinitions without defining layers?

I am working on a similar project to How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?, trying to filter the graphics on my map based on the user input into a ...
0
votes
1answer
399 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. ...
2
votes
1answer
440 views

Positioning esri.symbol.PictureMarkerSymbol at the center when clicked?

I use ArcGis Javascript api 3.2. I have a symbol: candidateSymbol=new esri.symbol.PictureMarkerSymbol('image/PushPin.png', 30, 30); I want to center it when it is being clicked. PS: There will be ...
1
vote
1answer
311 views

Need help in ArcGIS Java Script API : Installation & configuration with different browsers

We are using ArcGIS Java Script API (version 3.2, 3.0, 2.8) according to our requirement we are using various API’s. Currently ESRI launched new version 3.3 so if I want to view old examples ...
1
vote
0answers
137 views

Unable to display values in combo-box in ArcGIS Java Script API (ver 2.8)

I am trying to display few values in combo-box in JSAPI but I am getting an error ( I am not able to view the combo-box items). I have attached my completed code in JS-Fiddle (only removed server ...
0
votes
3answers
285 views

Display Network analysis route service in India

I am working on ArcGIS JavaScript API, I need to display route from one point to another. Thats why I need any Network Route Service for India. Is there any?
4
votes
2answers
665 views

How to auto-add new values to unique values classification values range?

I am using ArcGIS Desktop 10.1, ArcGIS Server 10.1 & SQL Server 2008 software. I am adding the query layer and directly publishing to ArcGIS Server and accessing the map in a JavaScript ...
0
votes
1answer
794 views

featureLayer.fields is undefined

When working with the javascript API, I have been getting an error in FireBug when trying to execute the following script: var featLayerURL = ...
2
votes
1answer
1k views

Delete Records from Feature Layer using ArcGIS API for JavaScript?

I am trying to delete some records from a feature layer, but I kept getting the error of invalid parameters from the errback. Below is my code: function deleteRecords() { var incidentId = 2; var ...
2
votes
1answer
788 views

Loading group layer in ArcGIS Map Service?

My ArcGIS JavaScript application is using an ArcGIS Server Map Service that has a bunch of layers. It also has a group layer. The structure is: Service group_layer_0 layer_1 ...
12
votes
3answers
2k views

What is the future of ArcGIS web development ? Is it JavaScript and HTML5? [closed]

I want to know about the future of ArcGIS web development; is it HTML5? I used to work with ArcObjects and .NET Web ADF so what is the best technology I must follow, especially when I know that ...
0
votes
1answer
101 views

Need help regarding customizing Dojo/digit tool for ArcGIS Java Script API 2.8

I am developing this tool (Similar tool for the India like ‘State’ and then ‘district’ level) and I am trying different methods so please let me know which method is suitable or not suitable ...
1
vote
0answers
782 views

Can I supply my own REST API token to the ArcGIS Javascrpit API?

I am using the ArcGIS Javascript API to connect to the arcgis.com portal. To do so I am calling portal.signIn(). The issue is that I don't want the user to be responsible for performing the login, bo ...
0
votes
1answer
116 views

Need few references of ArcGIS Java Script API version 2.8

I need few samples from version 2.8 & I have check the site but Esri hosted latest version 3.2 so where should I get version 2.8 ?? I gone through this post regarding 2.8 version..and the only ...
2
votes
1answer
91 views

Change text color of PopupMobile

I am facing the problem that with some mobile Browsers like DolphinHD and Android Browser that the browser makes the text color white, and the background is also white. So i want to change the ...
3
votes
1answer
405 views

Difference between Identify task & Attribute Info in ArcGIS API for JavaScript?

I am confused about the difference between Identify task and attribute info task. According to research, both are displaying attribute information Interestingly if one point contains multiple ...
6
votes
2answers
1k 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 ...
2
votes
2answers
1k views

ShapeFile or feature class to json

Is there any online or desktop based tool that can convert shapefile or feature class to json and not Geojson.Is there any tool in arcgis desktop to convert shapefile or featureclass into json.
1
vote
1answer
1k views

Getting error in applyEdits function for ArcGIS

I have been trying to add an entry to a featureLayer and in want to get a callback from this so I can update another field in it. below is my code clkListenerAddFeature = dojo.connect(map, "onClick", ...
3
votes
1answer
359 views

Javascript and esri.dijit.PopupMobile

I currently have a wonderful mobile version of our site up in which it uses PopupMobile to display the requested info. I also map a button on the map that allows the user to do a random function. ...
3
votes
1answer
397 views

Query task issue with Arabic input

I am using ArcGIS Java Script API version 2.8 & using query layer in ArcGIS server. The data is coming from sql server and most of the data is in Arabic. I am sorting the data according to the ...
3
votes
1answer
784 views

Problem with identify task in ArcGIS JavaScript API 2.8

I found interesting issue while using the “identify task” tool to display information at a point. Situation: I am displaying records by Type (A, B, C etc). When I display Type "B" records and I click ...
0
votes
1answer
259 views

infotemplate getting cutoff on top or bottom of screen?

in my app, i display few points across the map. these points have infotemplate with details in them and sometimes are quite large (around 350px height) if they have alot of information associated with ...
6
votes
2answers
553 views

Rendering huge amount of points

Evening Guys, I am new to ArcGIS, and currently developing a small app that uses ArcGIS Javascript API. I have encountered a couple of problems while working on this and would greatly appreciate if ...
4
votes
1answer
692 views

Existing ArcGIS Rest Services - What platform to use for building mapping application?

I have clients that have an existing ArcGIS Server. Map layers are published as rest services and I am going to build a mapping application that displays their datasets. Functionality should include ...
2
votes
1answer
287 views

Feature Layer (Polygon) Rendering issue in ArcGIS Server 10.1

I have a feature layer consisting of 96,000 features, but we are displaying a maximum of 13,000 features in our map application. There is an issue that for some zoom levels the features are visible ...
5
votes
2answers
820 views

Unable to display FeatureLayer using ArcGIS server

I can't figure out why this FeatureLayer doesn't show up on top of my base map. I'm using ArcGIS Server 10.0 and the ArcGIS JS API 2.6. Here's the information from the service's REST parameters page: ...
3
votes
1answer
2k views

Use OpenStreetMap in Basemapgallery - Manually

I dont know how to add the OpenStreetMap to the basemapgallery. I want to do this manually because when i use ShowARCGIS basemaps:true i get too many basemaps i dont use. Here's my code: ...
1
vote
3answers
950 views

How to Change the Default Displaying Order of Esri Basemaps in basemapGallery?

I just started using ArcGIS JS APIs. In my app, I want to combine a few ESRI basemaps with my own basemap service. I am using basemapGallery dijit to change basemaps. By default, basemapGallery shows ...
-1
votes
1answer
95 views

Upgrading ArcGIS JSAPI 2.x to 3.x & getting different errors

I have few data in which ArcGIS Java Script version 2.6 and 2.8 is used & I am upgrading it to ver.3.0/3.1 and getting different errors like (Store error,Map display is blank etc.) I searched on ...
6
votes
2answers
2k views

Application Templates for ArcGIS Server?

Esri provide a lot of excellent template applications for us in conjunction with web maps. These templates are specifically designed for using with your resources on ArcGIS Online as opposed to ...
1
vote
2answers
349 views

SQL Server STpointfromText comes from PHP into javascript as garbage

Sorry for the sloppy title. Here's the scenario - I have a table in SQL Server 2008 R2 It has a geographyColumn, created thusly: add geographyColumn as ...
0
votes
0answers
423 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
312 views

Why is the dijit.popup not working correctly?

I take the following steps: Click 2 overlapping features from 2 different featLayers. Popup auto-selects and highlights map.infoWindow.features[first object] The popup content is actually from ...
0
votes
1answer
2k views

Print and saving map with tiled and dynamic layers in ArcGIS using JavaScript?

I want to print this map. Can anyone please suggest to me how to print and save the displaying pap in ArcGIS using JavaScript? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...
1
vote
1answer
958 views

Displaying unique records in combo-box in ArcGIS API for JavaScript?

I am displaying almost 9000 records by four type (A,B,C & D) in which I am displaying records using combo-box. Each record is classified by "ctype" ( A or B or C or D) so I am putting this in ...
2
votes
2answers
371 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 ...
2
votes
1answer
1k views

deactivate editToolbar with map onClick

I have the below function to enable editing. I click on an editable feature, the infoWindow is displayed with attributeInspector and the editToolbar (move point) is activated. I would like to call ...
2
votes
2answers
604 views

Could not load class 'dijit.layout.BorderContainer

I have developd a map with TOC, Navigation Toolbar and some other query options using Javasctipt API in .aspx page. When I run it individually, it is working perfectly, but I want to embed it into ...
4
votes
2answers
3k 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: ...