Use this tag when ArcGIS API for JavaScript is the web mapping API that you are using from the ArcGIS platform.

learn more… | top users | synonyms

1
vote
1answer
45 views

ArcGIS Javascript API edit data programmatically

I have a form that auto generates a unique number. I want to update/edit an attribute with this number. Is this possible using one of the Esri editing widgets? Attribute Inspector, Editing widget or ...
1
vote
1answer
2k views

ArcGIS JavaScript API Select Features

I'm having some trouble using the selectFeatures method with a feature layer. The code below builds a query using input text. If anyone has any pointers on what I could be doing wrong here, it'd be a ...
1
vote
1answer
232 views

Use Dojo to load modularized widget config files

I've taken a basic webmap 'ESRI HomeButton' and I'm trying to create a modularized webmap setup from it. I want to break down this simple webmap to have it utilizing a module system with config files ...
1
vote
3answers
230 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 = ...
-1
votes
0answers
10 views

Features are not highlighted on search call using ArcGIS API for JavaScript? [duplicate]

I'm trying to locate the features using search widget. I can get suggestions from search widget, but the features are not returned on map for that search. Do anyone know where i had gone wrong?. ...
1
vote
1answer
389 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
1answer
257 views

How to submit data to modify feature using applyEdits of ArcGIS API for JavaScript?

I'm new to ArcGIS API. In a form, how can you submit data to modify a feature using applyEdits? No map is involved with this. I have a form that populates the editable data with javascript. When the ...
1
vote
1answer
266 views

“Pagination not supported” error occurs when searching feature layers using the search widget

I just upgraded to the 3.13 version of the JavaScript API, and I'm working on getting the new search widget (esri.dijit.Search) working in our application. We have our own ArcGIS Server (10.1 I ...
2
votes
1answer
475 views

How to find whether a Point lies inside a Polygon using ArcGIS JavaScript API?

We want to find whether a Point lies inside a Polygon. var point = new esri.geometry.Point(-85.91,25.68,this.parent.esriMap.spatialReference); var polygon = new ...
0
votes
1answer
254 views

How to add customization to Configurable Map Viewer (CMV)?

Looking to learn more about CMV Viewer. For example, how would I add capability like: map on load: for learning how to configure CMV Viewer for my own needs, I'd like to start by learning to add ...
0
votes
0answers
29 views

CMV (Configurable Map Viewer) basemap displaying incorrectly

I have a version of the CMV hosted on a local Windows 2012 R2 server and I am having trouble with the basemap display. The display is fine on the http version of my site but I also have a https ...
0
votes
1answer
56 views

Feature service is not added to map using ArcGIS API for JS?

I'm trying to search features using the "esri/search" module. I'm passing the parameters to callback function (Search) to add a feature layer and search features, but i don't see any features added on ...
2
votes
1answer
26 views

What is the need of “onExtentHistoryChange” in map navigation toolbar

In map navigation toolbar what is the need of "onExtentHistoryChange" in on(navToolbar, "onExtentHistoryChange", extentHistoryChangeHandler); <!DOCTYPE html> <html> <head> <meta ...
0
votes
1answer
27 views

TOC is not displaying feature layers?

here is my code to display toc.Its displaying dynamic layers but why its not displaying feature layers. <!DOCTYPE html> <html> <head> <title>Create a ...
1
vote
1answer
197 views

ArcGIS API for Javascript Not Adding Layer and/or Graphic during mouse event handler?

I am trying to add a graphic to my graphics layer during a map mouse event. In the javascript console, I can see that my graphic object is created and no error is thrown when I add the graphic to my ...
-1
votes
2answers
2k views

Populating combobox and zoom to selected field in box?

I am very new to arcgis javascript .I am not able to populate combobox and zoom to the selected field in the box <!DOCTYPE html> <html> <head> <meta ...
1
vote
2answers
53 views

Appending Data to FeatureLayer in ArcGIS API for JavaScript?

I am working on a web app where I am making calls to a database api and it returns a JSON Object. I've managed to do so successfully as well as any manipulations that need be done. Is there a way to ...
1
vote
1answer
35 views

How to force QueryTask to always POST requests?

On ArcGIS API for JavaScript, how can we force QueryTask to always perform POST requests? I know that I can force POST for esriRequest via the usePost options parameter. Perhaps a similar, ...
1
vote
1answer
35 views

ArcGIS JavaScript API, 403 Forbidden [duplicate]

I am trying to understand the source code of the web application: NetCDF WMS with n Dimensions. I tried to run it on my own machine (Mac OS 10.10) and it is run on the Apache. However, I keep getting ...
0
votes
1answer
291 views

esri/dijit/Search multiple sources not updating drop down list

I am trying to reproduce the tutorial on one of my own layers Here I have put in one of my own layers <!DOCTYPE html> <html><link rel="stylesheet" ...
0
votes
1answer
545 views

Chrome/Firefox Performance Issues

Just curious if anyone else is having performance issues with Chrome and Firefox while using an arcgis javascript web application. I have been developing an application that works great in Internet ...
1
vote
1answer
25 views

Error in function when a class constructor called twice in ArcGIS API for JavaScript?

I want to create multiple search widgets using the "esri/search module". The second search constructor (for var geosearch) is showing an error that it is not part of function. Is it possible to use a ...
2
votes
4answers
492 views

Is Javascript/AJAX still supported in ArcGIS 10?

A colleague of mine claims that the ArcGIS Javascript web API is not supported for ArcGIS 10+. I searched their website but all the information seemed to indicate that it should still work. Any ...
0
votes
1answer
185 views

Is it possible to make a stackable label with the Esri LabelLayer

I'd like to add a line break, but the textstring is always taken literally. For example: labels.addFeatureLayer(states, statesLabelRenderer, "Line 1 \r\n Line 2"); is displayed on the map as: ...
0
votes
1answer
183 views

limiting circles to a specific radius

I am new to ArcGIS javascript api and I have created a map which allows users to draw circle geometries. I just want to limit the functionality so that the radius is specified at 10000km. This is ...
1
vote
1answer
295 views

Set definition expression from click event

I'm trying to set a definition expression according to a user-selected value from a drop down menu, but I can't get the map to update the feature layers according to the expression. The user is able ...
1
vote
1answer
183 views

Legend ArcGIS Javascript does not recognize Legend from ArcGIS for server 10.2.2

I have created maps in ArcGIS for desktop and published them to ArcGIS for server 10.2.2. Because of performance issues I have created a group layer of the same map with different levels of details. ...
2
votes
2answers
78 views

ArcGIS API for JS Error message: Uncaught SyntaxError: Unexpected token <

I had created a application using ArcGIS API for JS to geolocate features in the feature layer that is added to basemap. I have an external Javascript and css file that are referenced (called) to html ...
0
votes
0answers
28 views

How to set attribution on layer level?

I want to use esri.dijit.attribution, but it seems so simple that no one needed to make a good example of it. I understood how to enable/disable it for the map, but I need to enable/disable it for ...
0
votes
1answer
32 views

Pushing value from text input to search widget in ArcGIS API for JavaScript?

I am developing a surveying app that among other things, asks the user for their address/closest street intersection, and then later asks them add features around they're "neighborhood". I would ...
1
vote
1answer
1k 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
296 views

Is it possible to copy and paste features in an online Edit function?

Using the ESRI JS API, is it possible to select a feature and then create buttons to copy and paste that feature? This would be done using the Editor Widget. If its possible to do this, but only ...
0
votes
2answers
42 views

Point appears in wrong place, seems like wrong SpatialReference

I'm using the code below to render a point on the map but the point is in the wrong place. The coordinate system is 28992 which is a local system for the Netherlands. Instead of the point being ...
0
votes
2answers
669 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
0
votes
1answer
32 views

Timing external javascript with ArcGIS Online embedded map

I have an ArcGIS Online time-enabled map on a webpage. When the map loads, the time slider begins moving. I would like to have a chart that moves along with the time slider, but I don't think ESRI has ...
1
vote
1answer
38 views

Using Symbols from Feature Layer for Graphics Layer in ArcGIS API for JavaScript?

I have a feature layer being drawn from a map service. I have a graphics layer that is the result of a query (happens to be on the same feature layer). I wish to apply the same symbols from the ...
3
votes
1answer
35 views

Move/Drag multiple graphics in ArcGIS JavaScript API

In ArcGIS JavaScript API, I want to click a GraphicsLayer object (Graphic) on the map and perform a dragging MOVE operation for it as well as some of its neighboring graphics. I am looking for the ...
1
vote
2answers
247 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
4
votes
1answer
366 views

Geoprocessing Service Cannot Download Result?

I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me ...
1
vote
4answers
2k views

How to create working Hyperlinks in OnDemandGrid Cells

I'm creating a simple ArcGIS application that shows a table of data from a feature layer, one of which is a URL string. I'd like to make that string be a clickable hyperlink. Is this possible and if ...
0
votes
1answer
28 views

Loading Scene from ID into ArcGIS JavaScript API 4 Beta: “SyntaxError: Unexpected token ILLEGAL”

I have created a city engine web scene,and I am trying to display the 3d-visualisation view on sceneview by using the portal Item Id of my webscene. But I am getting "SyntaxError: Unexpected token ...
0
votes
0answers
28 views

Error: Unable to complete operation

While clicking on map,getting the error "Unable to complete operation".How to solve this please suggest me. Simple Map html, body, #map { height: 100%; ...
5
votes
1answer
1k views

Combining text and circular background marker with ArcGIS API for Javascript?

I see that it is possible to create a circular symbol (among other shapes) with SimpleMarkerSymbol. I also see that it is possible to create a text symbol with TextSymbol. Is it possible to ...
0
votes
0answers
57 views

JavaScript API Local Install not working

I have installed the JavaScript API locally to use in a developer environment with no internet connection. The issue I am encountering is when I attempt to view the sample service hosted by ArcServer ...
0
votes
1answer
26 views

ArcGIS network analyst JavaScript API “No Facility found” error

I am using below code for ArcGIS SERVER Network Analyst API: ArcGIS JavaScript API for Network Analyst I need to customize it for my own NA server. I have successfully created an NA-SERVER on ArcGIS ...
2
votes
3answers
66 views

Configuring ArcGIS Online Map Template

I'm creating a configured template to host to ArcGIS Online. I started from the Finder app, and configured simple things like the color scheme. My only problem is that the Share button isn't ...
2
votes
2answers
61 views

Basemap layer disappear on print. Only happens with max zoom

I am fairly new to arcgis, please bear with me here. ISSUE: I uses standard esri.dijit.Print for map printing. The base map displays normally in my map pane at all zoom levels. The printing ...
2
votes
1answer
161 views

Increase maximum zoom level for a WebTiledLayer in ArcGIS

I am using the WebTiledLayer from the Javascript ArcGIS API to render a custom WMTS source. The WMTS I am using has zoom levels going from 18 to 21, however I cannot zoom in further than what appears ...
0
votes
1answer
39 views

Receiving dojo.io.script error Error: Invalid URL?

I am trying to get a buffer circle on my map,when I click on map. I tried with the following code, but I got error: dojo.io.script error Error: Invalid URL How can I avoid this error? ...
12
votes
3answers
5k views

How to Identify layers from multiple ArcGIS Server instances

This applies to ArcGIS Server 9.3 with the JavaScript API 2.4. My goal is to click on the map and have the Identify task run on all visible Dynamic layers. IdentifyTask requires a URL to the REST ...