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

learn more… | top users | synonyms

2
votes
2answers
221 views

Is it possible to generate a heatmap on the server-side using ArcGIS Server?

Using ArcGIS Server's JS API it is possible to generate a heatmap at runtime, as in the example at http://tmappsevents.esri.com/website/heatmap/index.html This requires having client-side access to ...
4
votes
2answers
68 views

Minimizing bandwidth while refreshing an ArcGIS dynamic map layer

I've been tasked with creating a web app where multiple users can draw on a map and have that reflected to other users in real time. Persistence of the drawing if users leave and come back is ...
1
vote
0answers
135 views

Snapping in Esri javascript api does not work on mobile device

I have an Esri map loaded using the javascript api. I try to enable snapping, where a point should always snap to a given line. I have a snap point symbol that will trace the line to snap to when I ...
0
votes
1answer
83 views

How to hide popup template in arcgis javascript api

I am creating a Custom Popup template as follows: countyPop = new PopupTemplate({ title: "County: {NAME}", fieldInfos: [{ fieldName: "POP2000", ...
1
vote
1answer
74 views

Accessing Attributes of Individual FeatureLayer Points with ArcGIS

I have been struggling for some time with selecting points from a featureLayer which is stored on an ArcGIS webserver. Each of these point graphics contains information such as an ObjectID, SiteName, ...
1
vote
1answer
103 views

using WebTiledLayer function

Using esri javascript api version 3.8, I am trying to use some cached tiles from our server at http://hexe.er.usgs.gov/ifhp/will/tiles/ using WebTiledLayer. I believe that our tiles are set up as ...
1
vote
0answers
45 views

using Map Service or Feature Service for Feature Layer

Both, Dynamic Map Services and Feature Services allow for querying data (through FeatureLayer) and bringing FeatureSets to the browser. Which of the above would yield better performance at querying ...
0
votes
1answer
168 views

ArcGIS JavaScript API Auto Panning to Cursor Position

Does anyone know if it's possible using the ArcGIS JS API to make it so the map auto-pans based on the user's cursor position if they get within a close distance to the edge of the map viewing area. ...
0
votes
2answers
201 views

Explode clusters of overlapping points in ArcGIS Javascript API

In my map application built on ESRI's javascript API there are a number of points that share a lat/long. I need a way to allow the user to see all of the points at a specific location by exploding ...
1
vote
0answers
86 views

How to set Content for ArcGIS Server Identity Manager signin dialog in JSAPI

I am trying to change the content for the signin dialog of Identity Manager and something seems to be off. I used dialog.set("content",newContent); Similar title method worked for title-but not for ...
2
votes
0answers
46 views

Query Huge data passing in POST method [closed]

i have a feature layer in arcGIS, which contains huge number of features, from the Java desktop application i need to make a call to open a web browser and pass the id's of the features, which has to ...
0
votes
0answers
24 views

Is it possible to integrate (Cluster layer + Time slider) in ArcGIS JSAPI?

I am using ESRI suit 10.1 (ArcGIS Desktop + Server) and JSAPI 3.5/3.6 I am trying to integrate time aware data and cluster layers in single map but both are unable to display. According to web help: ...
0
votes
1answer
118 views

Seeking ArcGISTiledMapServiceLayer Sample

I'm trying to use ArcGISTiledMapServiceLayer to show a cached set of image tiles on our local server. There is good help on the arcgis developer's site but I can't seem to find good examples. None of ...
1
vote
1answer
41 views

Java Script API V3.6 displays base maps in a chequered pattern

I am currently running ARC GIS for Server 10.1 on an intranet. I have installed the Java Script API V 3.6. I am currently trying to view a cached image service using the Java Script API. When the ...
0
votes
0answers
224 views

Add a Google basemap to ArcGIS Javascript API

Please review the code below for correctness. I am trying to display a Google basemap (hybrid) in a web map built on the ArcGIS Javascript API 3.8. I have a Google Maps API key, which was removed for ...
0
votes
1answer
149 views

Legend Problem with arcGIS javascript API

I am new to arcGIS javascript API.I tried to display a simple dynamic map service with legend but its not displaying legend. I am not able to find error in my code. Please help me in resolving the ...
0
votes
1answer
61 views

arcgis javascript api featureLayer not available immediately upon show click event

I am adding a feature layer as such in my index.html file. featureLayer00 = new FeatureLayer("http://webadaptorserviceurl/MapServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, id: "0", ...
1
vote
1answer
47 views

How to show GeoStatistical Analyst Layer in web map using ArcGIS Javascript API?

I have created a "GeoStatistical Analyst Layer" with "Diffusion Interpolation with Barriers" tool and then I published it on the ArcGIS for Server. How can I show this layer in my web map application ...
0
votes
1answer
507 views

replacing dijit.ComboBox with dijit.Select results in error (ArcGIS Javascript API)

I am currently populating a Dojo ItemFileReadStore with the results of an ArcGIS query (Javascript 3.4 API), which is then passed to a Dijit COmboBox. I am now having problems with the ComboBox in iOS ...
1
vote
0answers
303 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
0
votes
1answer
272 views

ESRI JS API Can I attach other events to to the map object

I asked this over on the ESRI forum but it didn't get any traction. I have an app that I'm designing specifically for mobile. At one point in its usage, a user needs to pan and zoom to a location and ...
0
votes
0answers
134 views

Graphic drag and drop using ESRI Javascript API 3.7 in IE10

I am using ESRI JS API 3.7 and Dojo 1.9. I have a problem with graphic DnD in IE9 and 10, but not IE8. this._listeners.connect("dropListener",this.esriMap, "onMouseUp", d_lang.hitch(this, ...
2
votes
1answer
51 views

How can I limit range of the thumbs in esri/dijit/TimeSlider

From the example, range between those two thumbs is unlimited. So, I need some thing like this timeSlider.setThumbRangeLimit(1); //one year or something that limit the range only 1 year. I ...
1
vote
1answer
352 views

change font size of elements in dropdown menu store

I am creating of list of building names from a query, which then populates a dojo.ItemFIleReadStore. This store then populates a dropdown menu (using dijit.Form.ComboBox), where the user makes a ...
2
votes
1answer
649 views

How do I get data to display on the map legend?

I am trying to use the Legend widget from this link below to build a legend that displays our layers in the map: https://developers.arcgis.com/en/javascript/home.html I have added the legend widget ...
1
vote
1answer
81 views

Tell Dojo to look for minified classes with ArcGIS JavaScript API

I've got an application build using the ArcGIS JavaScript API. I have several classes built with Dojo define. Each class is in a separate file, and everything is working fine. However, I've minified ...
1
vote
1answer
722 views

Trying to label graphic using feature attribute (ArcGIS Javascript 3.7 API)

I have a Dialog DIV containing an HTML list of buttons with a value for each school district. I want the user to be able to click on a button and have a polygon graphic of the district placed on the ...
0
votes
0answers
60 views

Displaying JS API Find Task Results in a Table without Dojo

I was wondering if anyone had examples of displaying ArcGIS Javascript API Find Task results from a map service in an html table without using a Dojo Grid. Any pointers would be greatly appreciated!
1
vote
3answers
97 views

Setting zoom level

Is there any way I can set the zoom level between lets say zoom level 5 and 6? I can' select 5.5. map = new Map( "map" , { basemap: "gray", center: [-85.416, 49.781], ...
0
votes
2answers
209 views

ArcGIS maps center to country

Is it possible to set center and zoom/fit bounds to country by name with ArcGIS Javascript API? I mean, with Google Maps you can do something like this: http://stackoverflow.com/a/6086437/1745228 How ...
0
votes
0answers
46 views

How to create an editable custom popup or infoTemplate

Does anyone have a resource with an example of how to create a custom popup/infoTemplate in JSAPI? I found this link: close example in .net but I want the user be able to just add text to a popup ...
1
vote
1answer
36 views

JSAPI help with query returning results from feature layers with a specified named column

I have a workflow that results in generating a report for certain features with a column name. Goal is to return only results from feature layers in my map service which have a specified column name. ...
0
votes
1answer
77 views

How to zoom to layer using ArcGIS Javascript API

I tried to get the function "Zoom to Layer" done using the following code snippet. But it does not change anything. The layer is a feature service layer, and I can see the full extent object of the ...
2
votes
3answers
205 views

Tiles on SSL website loading over http

I have an application on a SLL domain. Loading all the ArcGIS Javascript files is correctly done over https. But when actually using the application, the tiles of the basemap are loaded over http, ...
1
vote
0answers
98 views

Generate Map Tiles in Lambert Conformal Conic Projection

I have a question for you. I. I am trying to do the following: - Render map tiles for my given area in the Lambert Conic projection (EPSG:3347) for a select number of levels - Take the rendered ...
1
vote
0answers
109 views

How to pass OAuth token to fetch web map without passing userid?

I'm using the ArcGIS JavaScript API 3.7 for web map service. The web map is based on Oauth2 authentication. I use java code to fetch the token. Then I need to fetch the map in javascript by calling ...
-1
votes
1answer
232 views

how to solve Arcgis API for Java Script - Asp proxy error

I am using ArcGis 10.1 for ArcGIS Api for Javascript. I have faced the problem of {"code":400,"message":"Unable to complete operation.","details":[]}. while running the application in IIS and my ...
2
votes
1answer
197 views

How to display labels - created using LabelLayer only at certain scales

I am using ESRI Javascript 3.7 framework to develop a map application, in it I am trying to display labels created using LabelLayer at certain scales only, say from 1:1 to 1:500 scale only, how can I ...
0
votes
1answer
155 views

Popup for ArcGISDynamicMapServiceLayer point data

I was going through this example from ESRI Resource popup. I was able to integrate it to my polygon layer but it is failing for point and line layer.I am not sure but query.spatialRelationship = ...
0
votes
0answers
27 views

ArcGIS JS API: Onhover with multiple layers

I have a map with two layers: one contains the regions of a country, say, France, as polygon features. And another one contains french cities as point features. I just want to show the name of the ...
0
votes
1answer
222 views

Call function inside dojo.ready

I have code ArcGIS Javascript like this: <script type="text/javascript"> require(["dojo/ready", "dgrid/OnDemandGrid", "dgrid/Selection", "dojo/store/Memory", ...
0
votes
0answers
62 views

How to use ESRI Javascript Build Roll-Ups?

On their developer guide website (LINK) ESRI mentions you can use build roll-ups to more efficiently load modules, and since my define array is starting to look like the opening text in Star Wars I ...
0
votes
1answer
47 views

Is there any Map event fired when map is loaded completely when we device is oriented from portrait to landscape mode?

We are using ESRI ArcGIS JavaScript API in one of our Mobile web app. When map is loaded first time, Onload event is fired. But when we change orientation from Portrait to Landscape, OnLoad event does ...
1
vote
1answer
110 views

ArcGIS Javascript Map loads but doesn't display

I just started creating a very simple mobile GIS app using ArcGIS Javascript API, and I have experiencing a very peculiar issue. When the app loads, the basemap is white (not visible) until you use ...
0
votes
3answers
628 views

How to add png image with esri javascript api MapImageLayer Class?

I have a png image that we host that I need to resize and overlay onto a map at specific gps coordinates. Would this be an image class? I can't seem to find any examples that match up with my needs. I ...
0
votes
0answers
92 views

How to populate a dropdownlist with map service field names given only the layer name

I'm trying to wrap my head around a task which seems pretty simple, but not sure what the easiest way to go about it. I'm using javascript api and have a populated dropdownlist of sorted layer names ...
0
votes
0answers
92 views

FeatureLayer infowindow position appears on wrong location

When I click the feature layer, info window popup is appearing wrong position. I use dojo dijit like this toolkit. <div id="main" data-dojo-type="dijit/layout/BorderContainer" ...
0
votes
2answers
65 views

database using arcgis [closed]

i want to know, can arcgis software do the database such as oracle or ms access?? for example, create own database and form?? and can the database in arcgis read the programmer program such as from ...
0
votes
1answer
77 views

Accessing the esri js api over ssl

I changed the url i was using to fetch the esri js api to https://js.arcgis.com/3.7 and i can see in Fiddler that the call to that url is going out as ssl. But the file it pulls down (init.js) must be ...
0
votes
1answer
49 views

How do I change my title of app?

We have a map with streets as basemap. We have been trying unsuccessfully, for the last two days to change the basemap to tiled layer with no success at all. I am posting a snippet because script is ...