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

learn more… | top users | synonyms

0
votes
1answer
241 views

Attribute Inspector for points - JavaScript API

I am attempting to get an application working where editors can click on a point feature and edit a form. I need the form to have a save button that when clicked will apply the edits to the feature. ...
0
votes
0answers
3 views

ESRI JavaScript HeatmapRenderer class and Print widget

I’m working on an application using ESRI’s HeatMapRenderer class from the JavaScript API. The issue that I am running into is that the Print widget fails if the heat map renderer layer is on the map. ...
1
vote
2answers
40 views

FeatureLayer fullExtent is being constricted by Dojo ContentPane side panel

I have an ArcGIS JavaScript application which displays one single FeatureLayer on a map which is in a Dojo BorderContainer/ContentPane template similar to the one shown here. I am trying to ...
1
vote
2answers
4k views

Converting from British National Grid (27700) to WGS84 (4326) to Web Mercator (102100)

I'm developing a web application that uses ArcGIS to display a map using JavaScript. We are holding all our data in MS SQL Server 2008 as Easting/Northing against the British National Grid. ...
1
vote
0answers
20 views

ESRI JavaScript API Web Application and SQL Queries in ASP.NET?

My workflow (and security restrictions) for a new html/javascript based web application is making me think that I could program an ASP.NET application, inside which I load the 'map' and the 'legends' ...
3
votes
3answers
120 views

Make InfoTemplate moveable but still highlight attributes

I’m using the esri/InfoTemplate in the Javascript API to identify features. However, it gets anchored to the mouse click and cannot be moved around. Based on this answer I used dojo/dnd/Moveable to ...
3
votes
1answer
99 views

Show an ArcGIS InfoWindow on Map Init

I have created a map with a simple marker at a specified location but I cannot figure out how to have an infowindow attached to the position open automatically on page load. This is my init function: ...
5
votes
2answers
141 views

How to run a python script on the server, returning the results to the client

Here's the end result I'm trying for: the user clicks on a feature on an ArcGIS Server JS map a Python script is triggered on the server the Python script uses an attribute from the feature (eg its ...
3
votes
1answer
917 views

Interacting with the Map after selecting a button/tool

I am using the ESRI Javascript API 2.0 and Dojo dijits. Does anyone know how to wire up a dojo button (or toggle button) in a toolbar to a mouse click event on the map? I want the user to have to ...
6
votes
1answer
218 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
0
votes
1answer
360 views

Add Point Symbol and Zoom to Address using Geocoder Widget

I'm following the tutorial here and it's not working: https://developers.arcgis.com/javascript/jstutorials/tutorial_geocoder.html Issue: I just want to add a point symbol and zoom in for the address ...
2
votes
1answer
2k views

ArcGIS JavaScript API layer order?

I have the below code which ensures a layer is valid before adding it to the map. mapConfig.Services is an array of service url's and loadMapService is a simple function which returns an ESRI layer. ...
2
votes
1answer
385 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 ...
0
votes
0answers
30 views

ArcGIS JavaScript API JSONP request

I am trying to add featues to esri.layers.FeatureLayer from response of JSONP request with esri.request. Interestingly I have right response and all features are perfectly shown on the map,BUT I get ...
5
votes
2answers
1k views

Moveable ArcGIS Identify Popup Window (Dojo)

I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example: var popupOptions = { fillSymbol: new ...
0
votes
1answer
354 views

How to add Map Legend, Scale Bar and Select tool to an ArcGIS Server Service?

I have published a service from ArcMap to my Server Account but I can't figure out how to add the legend, scale bar and select tool to the service. According to the published service it was built ...
0
votes
1answer
29 views

What would cause Dojo in later versions of ArcGIS Javascript (v3.12) from working in Internet Explorer?

On my testing machine I experience no problems with using http://developers.arcgis.com/javascript/samples/featuretable/ but if I run the same example on my client's machine I get "'require' is ...
0
votes
0answers
17 views

Data synchronization on server between a mobile app and a web app [on hold]

I wanna develop a mobile app that will have forms, and the data that will be filled in those forms need to be sent in the database on server, which is the database of the web application. Maybe "in ...
1
vote
1answer
24 views

connect query to click event

I have a value that is passed to a query, and a button that will execute the search function. The click event doesn't seem to work. The query works, but it's supposed to run once the button is ...
0
votes
0answers
7 views

Narrow viewport => not showing map in browser?

I have a webapplication using the arcgis javascript API and it works great. Unfortunately I ran into a small peculiarity: If the viewport for the map is smaller than 930 pixels it refuses to load my ...
1
vote
1answer
17 views

Feature Layers fail every second time the page loads, with “Error: Unable to complete operation”

If I create a very simple map based on the Feature Layer On Demand sample, and change the URL to my own feature layer, the map consistently fails every second time: Error: Unable to complete ...
1
vote
3answers
48 views

How to work on map created by using arcgisUtils.createMap

arcgisUtils.createMap(id,"map").then(function(response){ //update the app dom.byId("title").innerHTML = response.itemInfo.item.title; dom.byId("subtitle").innerHTML = ...
23
votes
6answers
5k views

What are differences between ArcGIS Web APIs (JavaScript/WPF/Silverlight/Flex)?

Esri currently offers 3 different web API's that can be freely downloaded. Are they all equal? If not, what are the relative strengths/weaknesses of each of these API's?
0
votes
1answer
191 views

Error code 500, error performing execute operation from Print task of ArcGIS API for JavaScript?

I'm trying to use print task to generate a PNG or PDF file of my web map but i always get an Error code 500, error performing execute operation. Any Ideas? I'm using ArcGIS API for JavaScript ...
2
votes
0answers
20 views

How to use items param in TemplatePicker to draw with?

I have been checking the JS API of TemplatePicker and it says to either use featureLayers or items in the params object: https://developers.arcgis.com/javascript/jsapi/templatepicker-amd.html I ...
0
votes
0answers
19 views

How to access feature layer properties in an array in arcgis javascript

I can't seem to access my feature layer properties in an array. I am adding my feature layers to an array as such: dojo.forEach(globals.layers, function (addit, i) { ...
5
votes
1answer
491 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 ...
3
votes
1answer
212 views

ArcGIS JavaScript API: onAnimate Error

I am trying to zoom to a point in ArcGIS JavaScript API (3.9). I am doing this one of two ways, I am either grabbing a point feature from ArcGIS Server (10.1), or I am grabbing the center of a polygon ...
0
votes
0answers
10 views

How do I modify the WebAppBuilder "LayerList' widget to use radio buttons instead of checkboxes?

I've downloaded the developer version of the Web app builder and installed in on my machine. I can open up the widget '\LayerList\LayerListView.js', and I have been exploring the source code. I would ...
0
votes
1answer
13 views

Tile Loaded Event in ARC Gis

I wanted to know tile loaded event in ARCGIS. As soon as tile is loaded this event should be called which give me tile specific information like tiles coordinates etc.
11
votes
5answers
4k views

Looking for a Table of Contents sample for the ArcGIS Server JavaScript API

Where can I find an example of a Table of Contents control to plug into the ArcGIS Server JavaScript API 2.3? Ideally it should support feature/dynamic/tiled layers; show symbology; and allow grouped ...
3
votes
1answer
4k views
4
votes
2answers
2k views

ArcGIS Javascript API - Using Proxy For Specific Layers

With ESRI's Javascript API - is it possible to make only certain layers go through the proxy? I know this is possible in the Flex API via proxyUrl property of applicable layers. Right now i have this ...
2
votes
1answer
745 views

Is ArcGIS API for JavaScript compatible with Internet Explorer 7 and 8?

I've developed a web map using ArcGIS API for JavaScrip version 3.8 and its not compatible with IE 7 or 8. I've advised the people who have reported this to update their version of IE but, if it ...
0
votes
1answer
33 views

Arcgis javascript tutorials help

I'm going through some of the javascript tutorials - build your first application. It works fine when I create an html file that holds the style and script tags but when I separate the files out to ...
0
votes
1answer
385 views

How to avoid Esri secure layer identity manager popup?

I am new to Esri Identity manager, I am creating a secure layer service using identity manager, I have to avoid the secure layer login popup.
1
vote
1answer
179 views

ESRI JS API : FeatureLayer : pure client side query?

so I've created this wrapper around feature layer where I create the empty feature layer as is in the API help page : new FeatureLayer(featureCollectionObject, options?) providing the first ...
0
votes
2answers
350 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
1
vote
1answer
106 views

Why do I have to reload the page, to show the Map correctly?

I added a map, in the way I'm supposed to, but why do I have to reload/refresh the page, to get the map (almost) as I want to? This is, what I mean: Map before reloading the page: Map after ...
0
votes
0answers
11 views

Plot Multiple Series from Related Table in One Chart

I'm trying to figure out how to plot multiple line series/charts in one chart in a popup window from attributes in a related table using the Javascript API. It seems like the only way to create a ...
2
votes
0answers
32 views

Changing width and height attribute with ArcGIS Javascript API?

We've got a client side drawing application working with the Arcgis Javascript API, works pretty well with most of the standard components so far. This is our first Arcgis application and we really ...
0
votes
1answer
135 views

ArcGIS API V 3.5 Navigation toolbar (zoomToPrevExtent) not working

I am just getting started with learning Dojo and ArcGIS API so please bear with me. I have an existing prototype of an application that use ArcGIS version 3.5. I am looking at the navigation toolbar ...
0
votes
1answer
72 views

Adding feature layer to ArcGIS Online from REST API?

I need to add a feature layer to ArcGIS Online account from code. i have created a developer account where if i want to create a feature layer i have to upload a CSV file and it makes the feature ...
1
vote
0answers
16 views

Disabling TextSymbol Scaling on Zoom in/out (ESRI JavaScript API)

I am looking for a way to disable text scaling when a user zooms in/out on a map with a TextSymbol on it. It this possible?
0
votes
1answer
579 views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...
0
votes
1answer
28 views

Javascript App works fine…and then it doesn't

This question probably won't fit into the Stack Exchange guidelines because of a number of factors, so bare with me. I have built a GIS web app at http://matthewiannowlin.com/planning/thesis. I used ...
1
vote
1answer
155 views

How to append result to Geocoder text box using ArcGIS JavaScript API?

I want to append result of a custom search in a Geocoder text box in ArcGIS JavaScript API by overriding the default result. I have written the below code for this, but I am not getting a ...
0
votes
1answer
109 views

ESRI ArcGIS JavaScript API - get client ip address

I have a need to direct to url a if the client is inside the local area network or url b if the client is outside the lan. Is it possible to determine a client ip address using plain old html and ...
1
vote
1answer
26 views

ESRI Javascript API pan parameters

Using the ESRI javasript API, is there a way to set the distance the map will move when panning? When I fire the map.panUp(), for example, it pans, but about twice as far as I would like it to.
1
vote
1answer
86 views

Arcgis Javascript API Editor Widget gives a different result when loading through AMD

Currently i'm working on a Arcgis based drawing tool. What we've done so far is create a system where we can easily create local feauture layers and edit those with the standard Editor Widget. Drawing ...