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

-2
votes
1answer
33 views

Layers Labeled “Override” in Printed PDF Legend

I have a Javascript function that creates a GraphicsLayer, adds some features to it, and then adds the layer to my ArcGIS Web Map. When I use the Print Widget to print my map I see the layer show up ...
1
vote
1answer
170 views

Python geoprocessing output parameter as feature layer on arcgis javascript api?

How i can get result of this query in Arcgis Javascript Api?? or how i should publish the its services to work and send for me result?? i run this query and it works in ArcMap but when i publish it , ...
5
votes
2answers
313 views

tabbed popup window for Arcgis Javascript

Anyone know examples of a tabbed popup window for Arcgis for javascript, NOT an infowindow? If you could point me in the the right direction it would help.
0
votes
0answers
21 views

Buffer widget with Esri JavaScript API (3.16) for ArcGIS Server

I want to create buffer widget, but my code doesn't work ( my code is blocked in this line : esriConfig.defaults.geometryService.buffer(params, showBuffer); This is my code : define([ ...
1
vote
1answer
132 views

ESRI Local Government Park Locator App Template Deployment Issues

I am currently trying to implement esri's newest release of the Park Locator | ArcGIS for Local Government and I have been having a few issues that I can't seem to resolve. First, If I just change ...
1
vote
1answer
133 views

Accessing secure ArcGIS Online map service from custom web mapping application?

I'm building a custom web mapping application for a client. The application will be hosted externally to ArcGIS Online, but the application is registered with AGOL. The application will access the ...
2
votes
1answer
450 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 ...
2
votes
1answer
537 views

Remove selected feature symbol

Background: I am dynamically populating a feature layer. On this feature layer I have set the symbol (as you can see) to a nice little .png image. Everything seems to work fine around the layer except ...
2
votes
1answer
177 views

Toggle between custom basemaps (different projections/tile structures)

Wondering if it is possible to toggle between two basemaps with that have a different wkid and tile structure? I have tried with a basemap gallery and a basemap toggle with no luck. We have one ...
0
votes
1answer
590 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. ...
1
vote
0answers
24 views

error printing a map with feature layer with feature collection using esri jsapi

I have this single page web map app with esri js api 3.4 and arcgis server 10.1. I have added a print widget and that works fine (with two base map layers and an empty feature layer with feature ...
1
vote
2answers
246 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: ...
2
votes
1answer
206 views

Legend label failed to send to the print service using ArcGIS javascript

I am try to print my map with legend to PDF format; however, the legend label in the PDF is saying Override 1 instead of the label I specified in class breaks. There are other maps I can print ...
0
votes
1answer
628 views

Configurable Map Viewer (CMV) - Configure dynamic layer to not display all sub-layers?

Using the example below, from the CMV, what would be the best way to not show the Fire Stations layer in the Louisville Public Safety map service assuming I wanted to see everything else and I wanted ...
4
votes
0answers
24 views

How to synch a FeatureTable with a FeatureLayer's selection set?

The ArcGIS Server JS API contains a new FeatureTable class, which shows the attribute table corresponding to a FeatureLayer. There is an option syncSelection which: Enables an interaction between ...
0
votes
2answers
776 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 ...
1
vote
3answers
303 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
vote
0answers
15 views

After Feature Layer reference is added all dojo references are not recognized

I'm creating a simple javascript management system in which I have to query 6 feature layer services, edit, add or delete data from the services. Every time I want to add the Feature Layer reference ...
1
vote
0answers
34 views

Send Feature Attributes Along with Geometries to Difference Operation of Geometry Service

I've large number of data(geometries and attributes). I've to find their difference with other geometry, and after difference is calculated I've to assign attributes to those geometries. Example ...
6
votes
1answer
296 views

CSS Spritesheets and picture marker symbols in the AGS Javascript API

I'm working on improving the load performance of a large ArcGIS Javascript application, and one area where we can have trouble is that there is a visible delay between putting a graphic with a ...
7
votes
3answers
2k 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 ...
1
vote
1answer
23 views

Getting Error: Districtna.getExtent(…) is null

I have dojo combo box to display district names when I select one district it should zoom to that particular district.selection is working fine but zooming not happening i am getting ...
3
votes
0answers
30 views

ArcGIS Server config to allow ArcGIS JavaScript printing?

I have ArcGIS Server 10.21 on Windows Server 2012 R2, and have created a web application using ESRI JavaScript API v.3.16 that uses the dijit/Print that invokes the Export Web Map task on the server. ...
0
votes
0answers
9 views

Troubleshooting a PointSymbol3D layer in ArcGIS JavaScript API

I have some code doing what I want here: https://jsfiddle.net/stcline/pvyf7bp6/1/ I would like to figure out why this similar code which is using the PointSymbol3D function is not working: ...
1
vote
0answers
459 views

Error: Objects in this class cannot be edited outside an edit session

I'm simply trying to modify the Default Editing Widget ESRI sample to show my extent and service and am noticing the following error in Firebug when trying to add a point: ...
1
vote
0answers
14 views

arcgis 10.2 server how to get legend to display symbology only for visible classes

i have a web app that consumes legend info via a esri/dijit/Legend widget. The problem is that it displays symbology for all data, even those features not visible in current extent, is there a way to ...
3
votes
3answers
375 views

Is there a way to set a geometry filter on a esri.layers.FeatureLayer?

Suppose I want to limit the extent of a feature layer to a geometry (say a circle). Is that possible? I am aware of setDefinitionExpression but that is limited to a attribute filter. There seems to ...
0
votes
1answer
396 views

Plotting GeoJSON data on map using ArcGIS API for JavaScript?

We are developing the portal in which we are using Arcgis javascript APIs.The requirement in our project is one of the weather provider is going to publish the webservice which will return the weather ...
3
votes
0answers
29 views

I want to calculate the distance between two points using network analysis

function drawroute(allcordinate) { var Coordinate = new Array(); Coordinate = allcordinate; var long = Coordinate.split(",")[0]; var lat = Coordinate.split(",")[1]; ...
3
votes
1answer
36 views

Using both query.where and query.geometry with queryTask

I am using a QueryTask to select data from a Feature Service and pass the attribute values to a dGrid. I am using a where statement (query.where) to select only certain polygons from this service and ...
0
votes
1answer
185 views

Create a polygon from an array of coordinates in arcgis javascript api

Well I am building a GIS web app using ArcGIS Javascript API , I want to create a user interface in which the user provides an array of coordinates and I have to get those coordinates and create a ...
1
vote
0answers
62 views

problem with setting up proxy - ArcGIS JS API

I have spent a lot of time to solve a error in setting up proxy for JS API but I could not find any solution. I did following steps: I downloaded the proxy files for .Net. I edited proxy.config ...
0
votes
2answers
198 views

CMV Viewer Floating Widgets

I asked this question on Gitter but I think it got lost pretty quickly. Does anyone have an example CMV site without the side bar or any indication whether it would be worth pursuing CMV if what I ...
0
votes
1answer
41 views

ArcGIS JavaScript API Search widget doesn't work

I am a beginner of ArcGIS JavaScript API. I am creating a simple web map now. For some reason, the search widget of the map doesn't work. When I go to the console, it shows this error: Here is my ...
1
vote
0answers
19 views

How to put two points using query task please kindly solve the error in the following code

dojo.require("esri.map"); dojo.require("esri.tasks.route"); dojo.require("esri.layers.FeatureLayer"); dojo.require("esri.geometry.Point"); var map, routeTask, routeParams; var ...
1
vote
0answers
15 views

relatedQuery.setDefinitionExpression not working jsapi arcgis

I want to relate two tables STATION and TEMP this my code : var relatedQuery = new RelationshipQuery(); relatedQuery.objectIds = [graphic.attributes.objectid]; relatedQuery.relationshipId = 0; ...
1
vote
1answer
266 views

Sending e-mail on feature update in ArcGIS JavaScript application? [closed]

We have an ArcGIS feature service that users can edit to change a "project status" attribute. An example would be a change from "pending" to "in-progress". Certain groups need to be notified when ...
0
votes
0answers
11 views

send email by using arcgis api for javascript [duplicate]

i'd like to know how to send an Email by using arcgis api after some Attributes changed. Users can edit to change a geometries attributes or "project status" attribute in a Feature Layer. For example, ...
2
votes
2answers
296 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 ...
0
votes
0answers
11 views

Heat Map - Visualize Weather Data Across Continental United States

What i would like to do is to produce a heat map representing temp across the continental United States.. I am using a service from NOAA to gather Temperatures. var tempF = new ...
1
vote
0answers
20 views

Tiled Map and Picture Marker Symbol not rendered using Print Task with ArcGIS JavaScript API

I have located a hospital and provided a new symbol to it. Also added a STREETS basemap to it. I can see both of them on the map on screen. But when I try to generate a report (using Print Task), ...
0
votes
1answer
34 views

Using proxy with ArcGIS API for JavaScript?

I am using ArcGIS with JavaScript API and I am trying to get a proxy since some functionality requires specifically to install and set up a proxy. I have looked at the manual but it is a little bit ...
0
votes
1answer
401 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 ...
1
vote
1answer
28 views

How to use “geometryEngine” in arcGIS Version 3.9

We are using arcGIS javascript version 3.9 in our portal. Now we have new requirement to do reverse clipping on map. We have already written code to implement reverse clipping with the help of ...
2
votes
1answer
38 views

Using Multiple Versions of ArcGIS API for JS in Same Application

We've a large web based GIS application running which uses an older version of ArcGIS API (v3.7) for JS. The ArcGIS JSAPI v3.7 is lacking some functionality which are available in v3.15. Now I also ...
2
votes
1answer
1k views

Programatically add feature to Feature Layer with ArcGIS JavaScript API

I've so far been able to add a feature layer from an ArcGIS server, and I've also been able to add an editor widget which allows me to draw to feature with the mouse. The added features are being ...
1
vote
1answer
48 views

Add a JSON feature class to a map using ArcGIS javascript API

I am a beginner in javascript and I am working on a project using the ArcGIS javascript API. Since I am using shapefiles, I need a way to put them on the map automatically after a procedure. I have ...
3
votes
0answers
37 views

Speed up Rendering of Feature Layer Using ArcGIS JavaScript API 4.0

Are there any tricks to speed up the rendering of a feature layer in the ArcGIS JavaScript API? Currently one of the layers I am using is: This takes about 10 seconds to draw but I have used this ...
4
votes
1answer
81 views

Editing ArcGIS Online Hosted Layers in Secured Web Application

Goal: Develop a web application using ArcGIS Javascript API that has a single login experience for the end user and that enables them to edit feature layers hosted on ArcGIS Online. Setup: We are ...
2
votes
2answers
1k views

Accessing specific layers in ArcGIS Map Service to toggle them on/off?

I have access to number of ESRI Mapservices and would like to be able to access specific layers within the mapservices in my online map application I am working on creating with the ESRI Javascript ...