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

4
votes
0answers
104 views

Error after successful ArcGIS PrintTask

Using ArcGIS Javsacript API on one server to grab a PDF from a custom print service published on a different server. We have used the exact same script successfully on other apps/servers before with ...
1
vote
1answer
425 views

Adding Point Graphic to ArcGIS API for JavaScript Map?

Can you please take a look at this JSFiddle and let me know why I am not able to add the Marker into the Map? I am getting this error Uncaught TypeError: Cannot read property 'add' of null Here ...
0
votes
0answers
22 views

Add legends manually for graphic layer in arcgis javascript

In my arcgis map application I am adding legends for featurelayer like this legendLayers.push({ layer: singleCityLayerFeature, title: cityLayers[i][1] }); This adds legends for that "CityLayer". ...
0
votes
0answers
17 views

InfoWindow Dijit anchor placement and bootstrap

I have a javascript api web map that I have styled using Bootstrap. I have created the infowindow in the webmap and load the map using esri/arcgis/utils and enable the popups (see below) However ...
0
votes
1answer
67 views

How do you change a GraphicsLayer's geometry in the ArcGIS API for Javascript 4.0

The setup: Creating a Point with a longitude and latitude Creating a SimpleMarkerSymbol Creating a Graphic using the Point and SimpleMarkerSymbol Adding the Graphic to the view's graphics What's I'...
2
votes
1answer
29 views

applyEdits to FeatureLayer does nothing

I am trying to create a series of layers using a county map of the US. In order to save load time I am only loading the county polygon geometries once, then using applyEdits (https://developers.arcgis....
-2
votes
1answer
50 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
202 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
334 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
31 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([ 'dojo/_base/...
1
vote
1answer
134 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
161 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 ...
1
vote
0answers
29 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 ...
2
votes
1answer
226 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 ...
5
votes
0answers
49 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 ...
1
vote
0answers
18 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
36 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
299 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 ...
8
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 esri.symbol.SimpleFillSymbol(esri.symbol....
1
vote
1answer
35 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 Districtna....
3
votes
0answers
38 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: https://...
1
vote
0answers
469 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: {"error":{"code":400,"...
1
vote
0answers
16 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
394 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 ...
3
votes
1answer
39 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 ...
1
vote
0answers
71 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
1answer
52 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
25 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
17 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
285 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, ...
0
votes
0answers
14 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 FeatureLayer("...
1
vote
0answers
25 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
44 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
439 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
31 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 "esri/...
2
votes
1answer
43 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
54 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
49 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
91 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 ...
5
votes
1answer
2k views

slow to draw mapservices after access featureLayers within an ESRI Mapservice using Javaascript API

I am working on creating an online map using ESRI mapservices as a basemap and existing mapservices on our arcserver.. The problem I am running into is that the mapservices we have here are really ...
1
vote
0answers
285 views

WMS layer as basemap in Configurable Map Viewer (CMV)

My goal is to use both wms layers and arcgis tiled layers as basemaps. I have accomplished this before in a separate application by simply adding it to the map as a layer and reordering the selected '...
2
votes
4answers
1k views

Why is findTask Not working correctly [closed]

My findTask is from the SAMPLE on Esri's website http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples/find_map_datagrid.html I have incorporated into the project I am working on. I've ...
0
votes
1answer
569 views

Checkboxes turn off layers within a mapservice, and I want them to make the layers visible?

This webmap project I keep working accesses mutilple layers within a couple different mapservices. I would like to learn how I can load the layers without them drawing. I've recently incorporated ...
0
votes
3answers
41 views

How to resolve this error, ARCGIS JSAPI

XMLHttpRequest cannot load http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not ...
0
votes
1answer
58 views

S-JTSK projected incorrectly in JS API

I use a method based on the "project a point" sample to project points from S-JTSK (wkid 102067) to Web Mercator (wkid 102100) and they are ~100m away from their correct position. This happens when I ...
1
vote
0answers
38 views

ArcGIS javascript - update a queryTask result on extent change

I have an application that runs a queryTask on a map service layer and returns various feature results in a div when they click on a table of contents. However, I'd like it to automatically update ...