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

learn more… | top users | synonyms

0
votes
0answers
51 views

Javascript API: Template of Widget for geoprocessing tools

I have to provide a lot of POC ArcGIS javascript API for geoprocessing tools (50 over) is there a java-script API widget or template to create this POC application easily?
1
vote
1answer
255 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
292 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
61 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.
0
votes
2answers
116 views

Identify task: Input polygon into IdentifyParameters

I wish to find all the features within a polygon/circle drawn by my user. May I know if I should use IdentifyTask https://developers.arcgis.com/en/javascript/jsapi/identifytask.html Or is there a ...
0
votes
1answer
49 views

How to select a polygon feature on mapservice?

I manage to publish a mapservice with lots of polygon. I wish to select a polygon and see its attributes. May I know how to I perform that with javascript API? There doesn't seems to be a straight ...
1
vote
2answers
223 views

JS API WebApp Zoom Problem in IE8

I implemented a zoom to feature extent function in my code, it works fine in new FireFox, Chrome, and IE10, but the tester's are having troubles with it in IE8. I noticed that all the data shows up on ...
0
votes
0answers
219 views

Arcgis Javascript API FeatureLayer click event and list attributes

I have a javascript application that including FeatureLayers, TiledLayer, DynamicLayer. I wanna when click a feature layer, clicked object attributes should list in a dom element. createMap: ...
1
vote
1answer
183 views

ArcGIS JSAPI draw toolbar tooltips not displayed in IE10

I am experiencing an issue where draw toolbar tooltips are not displayed in IE10 when using the ArcGIS JSAPI. Try the following example in IE10 and chrome (draw a polygon to see what I mean) ...
0
votes
0answers
172 views

create heatmap with heatmap.js based on attributes

I am trying to use heatmap.js in my project (with Arcgis 10.1 server).. as per the samples given in the ESRI site http://blogs.esri.com/esri/arcgis/2012/09/26/heat-up-your-webmaps/ everything works ...
1
vote
3answers
2k views

CORS for XHR in IE10

I am getting these errors when someone attempts to open my app in IE. I get a popup asking to Allow Blocked Content, and when this is clicked everything works fine. Is there anyway I can go about ...
1
vote
1answer
251 views

ESRI World Light Gray Base Map JavaScript - Prevent zoom out no more than the full extent

It is my first attempt to use JavaScript and the ESRI products. I am using the World Light Gray Base map for my first web GIS application. I have a question about the map full extent method. I would ...
0
votes
1answer
67 views

GCS_WGS_1984 Map in Esri Javascript

I created a dynamic map service in Arcmap and published to my server. The spatial reference used: GCS_WGS_1984. I used the javascript without basemap to display in a html. I cannot do a ...
0
votes
1answer
153 views

ArcGIS Javascript example for geometry services?

I have a client that wishes to show him all the geometry services example in Javascript API http://help.arcgis.com/EN/ARCGISSERVER/10.0/APIS/REST/geometryserver.html ... I'm new to Javascript and ...
0
votes
2answers
201 views

Zoom to Results on Map

I made a web app that displays delivery routes associated with a user-input zip code. My question is, how can I get the map to zoom to the results? Here is my code. Im thinking of some sort of ...
1
vote
1answer
195 views

ArcGIS JavaScript API filter raster dataset

I have around 1000 rasters (b&w tiffs) and most of them overlay each other. At this moment, I'm holding them in mosaic dataset and I want them to be displayed in my javascript webapp. I am able to ...
0
votes
1answer
279 views

ArcGIS JS API Legend Dijit not refreshing correctly

I have a web application built with v3.5 of the JS API. I have some Jquery functionality that changes the map being built based on user input. My problem is that I can't get the legend to stay in sync ...
2
votes
1answer
82 views

How do I make a GP Results table sortable? Or add Dojo Grid

Im aware a sort() function exists, just not sure where it should be placed in my code. I have a function that draws routes on the map and i'm getting my results that are in my table from those routes. ...
1
vote
1answer
98 views

ArcGIS API For Javascript - Custom DynamicMapServiceLayer Image Being Distorted In Map

I am having some trouble with a custom DynamicMapServiceLayer that I hope someone can either help me out with, or explain what is happening... On the application I am currently working on, there is a ...
0
votes
0answers
68 views

ArcGIS JavaScript API displaying user defined part of layer

I need to display only particular part of one map service, not the whole layer. It's mosaic dataset served as ArcGISDynamicMapServiceLayer (if it's not the correct way to publish mosaic dataset in ...
4
votes
1answer
194 views

ESRI JS API, how to disable panning with the numeric keypad?

We have a web-based mapping application that uses the ESRI JS API. We would like to disable panning with the numeric keypad. There is a method in the API, esri.Map.disableKeyboardNavigation(), that ...
1
vote
1answer
220 views

ESRI JS API - How to get event object from Draw Toolbar onDrawEnd

I am using the Draw Toolbar in the Esri Javascript API v3.4 and connecting to the onDrawEnd event using aspect.after(drawingToolbar, "onDrawEnd", drawEndHandleFunction, true); I am using the Draw ...
0
votes
0answers
53 views

Service Token usage by applications authorization

As developers we are using Token based Service security concept with proxy to protect the tokens. I wanna understand something about tokens. A developer is using a token that given by ArcGIS Server ...
0
votes
1answer
438 views

Problem with loading ArcGIS Javascript API sample locally

I'm new to the ArcGIS Javascript API and I'm trying to set up a local development environment for a web application. I'm having trouble with getting on of the example scripts provided by ESRI to load ...
1
vote
1answer
197 views

How to create a drop-down list of geoprocessing tasks?

I need to construct a drop down menu with each choice enabling a different geoprocessing task to run over my script. <select id="myList" onchange="environment()"> ...
4
votes
1answer
116 views

about token based authentication security

I am reading the authenticated services with token. I understand that a user have to get a token to using arcgis services. Example: https://domain.com/arcgis/rest/services/myMap/MapServer is my ...
0
votes
1answer
53 views

Reference Error: selectZIP is not defined

In Firebug I keep getting this error when I try to click a button I made. <button type="button" onclick="selectZIP()">Execute</button> I declared a function called selectZIP in a .js ...
7
votes
2answers
529 views

How to use the ESRI JS API to map SQL Server Spatial Types without ArcGIS Server

I have heard of people using the ESRI Javascript API to create webmaps with spatial data from SQL Server or other RDBMS's. From what I can tell, they are not using ArcGIS Server as a middleware. In ...
2
votes
2answers
750 views

How do I get that polygon from Javascript ArcGIS API?

I would like to have a user draw a Polygon (or Line) onto a web map with the Javascript ArcGIS API drawing tools. For the life of me I can't figure out how to pull that polygon from the client and get ...
2
votes
1answer
135 views

Executing GP Task for JavaScript API

I recently started using JavaScript API in attempt to construct a web app. After taking a recent ESRI online course, I thought I had some base knowledge on how to do this. This geoprocessing service ...
2
votes
1answer
100 views

Add button to map

I know this is a a stupid and direct question. How do I add a button to a normal map? Example: http://developers.arcgis.com/en/javascript/samples/map_simple/ I'm finding a way to make a button ...
2
votes
1answer
94 views

Web browser capacity to display maximum records on Map using ArcGIS JSAPI 3.3/3.4

I have created ArcGIS JSAPI application in which I am displaying almost 50 thousand records at specific point. As usual, my browser hangs (until 30 thousand its showing but after 30 thousand it ...
1
vote
1answer
238 views

Conversion problems from mappoint to screenpoint using ArcGis Javascript API

I am getting a very strange problem when converting from mappoint to screenpoint. I am using the following code: var sp = esri.geometry.ScreenPoint(512, 151); mp = map.toMap(screenPoint); ...
1
vote
1answer
152 views

Can I use a Esri geocoding service with my custom basemap?

I am looking at the JavaScript samples in here. I am searching some street by search bar. But not zooming to street, it only viewing city. I have a custom tiled map service layer in my server. Can I ...
0
votes
1answer
159 views

Hiding Rest Service Url in Javascript

While users using my application, they can view resource from browser and see my arcgis rest service URLs. So If I use token based security, security token can view. Can I hide this from users?
1
vote
0answers
172 views

How can I display popup when graphic object is added in map using Arcgis Javascript

We have to display callout popup for each graphic object that are available on map. i.e if point is created on map, it should be associated with callout popup which will display information about that ...
1
vote
1answer
140 views

Accessing ArcGIS server based services outside of firewall

I would like to know the options for making ArcGIS based map services (ArcGIS Server 10) available to users who are out of our firewall, mostly field crews and users with web access in the field. ...
3
votes
2answers
383 views

ArcGIS local server using javascript api still does http gets to services.arcgisonline.com (internet)

We have setup a local server hosting the ArcGIS server software (10.1). We installed the ArcGIS JavaScript API on the same local server. Our goal is to supply maps when the client has no internet ...
0
votes
1answer
653 views

Toggling layers with arcgis javascript api 3.5

I am using the two reference samples in the api, toggle and dynamic toggle. I tried to use the method in the basic toggle but the setvisbiblelayers doesn't seem to like my kml layers and I get a ...
2
votes
1answer
419 views

About proxy in javascript api

I am new about Arcgis javascript API. While I am doing a sample application, I confused. I am analyzing this sample application. This application is using the ...
5
votes
1answer
318 views

How to programmatically change the timeExtent of a Map & update the timeSlider?

I am developing with the ArcGIS JavaScript web API and ArcGIS server 10.0. I have a time-aware layer in in my map, and also a timeslider. The full time extent of the map is a year, with data every ...
1
vote
0answers
67 views

Changing kml marker in esri javascript api

I can load my kml file but I want to be able to define a marker for my points. I can't find anywhere in the api which allows me to define the marker. How can you define your own marker using a kml ...
3
votes
2answers
655 views

Loading KML file with ESRI javascript API

I am trying to load a kml file using the ESRI javascript API v. 3.5. What I did with v. 2.6 no longer works. How do you add KML data with the latest esri javascript api? I am testing on my local ...
0
votes
1answer
127 views

Knowing the polygon id and getting the extent [duplicate]

I have a text box where I have the polygon Id like, "id_of_the_polygon_12345". Is it possible to get its extent and zoom onto it? I have figured out how to do it upon clicking on the map. But could ...
2
votes
1answer
163 views

What is the best method to publish a large amount of data 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 ...
2
votes
1answer
101 views

Arcgis javascript API & highcharts libraries

I'm working with jsviewer and JSAPI V:2.8.I try to display a query result in a chart. what I want to do is :first, I want to query on my table and once I got the result liste I have a button that ...
0
votes
2answers
75 views

Zooming into a particular polygon

I am getting the polygon id by doing identifyParams.geometry = evt.mapPoint; identifyParams.mapExtent = map.extent; identifyTask.execute(identifyParams, function(result) { var i; var ...
2
votes
0answers
104 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 ...
1
vote
1answer
239 views

ArcGIS Server 9.3 - Javascript API - Selecting Feature Problem

I have ArcGIS Server 9.3, and I'm trying to use the JS API. I successfully displayed the map, and I can locate and zoom to a feature based on ParcelID value. The problem is I can't highlight this ...