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
votes
0answers
8 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
0answers
10 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 ...
4
votes
0answers
13 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
votes
1answer
25 views

What tools are needed for building Web Based GIS Portal with Geoserver,PostgreSQL with PostGIS - ORDBMS, Heron js, GeoExt js, Ext JS and OpenLayers js [on hold]

I need build: Apache for Serving the apps Geoserver - for Publishing the GIS Maps existed in the office PostgreSQL with PostGIS - ORDBMS, Openlayers 3 - This is a Java Script Framework for ...
1
vote
0answers
13 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 ...
0
votes
0answers
26 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 ...
-1
votes
0answers
10 views

how to display a form with input fields when event was occurred in arcgis JavaScript? [on hold]

I have been doing some task,in which user draws a polygon on base map by using drawing tools, the form has to be generated after the polygon was drawn or form has to be generated in double click ...
1
vote
1answer
18 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 ...
1
vote
0answers
10 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
0answers
25 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
8 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: ...
3
votes
0answers
17 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]; ...
1
vote
0answers
40 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 ...
3
votes
1answer
35 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
35 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
15 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
13 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; ...
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
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
13 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), ...
2
votes
1answer
33 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 ...
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 ...
1
vote
1answer
41 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 ...
0
votes
1answer
33 views

Use HTML button tag to select different feature layers in ArcGIS JavaScript API 4.0

I am trying to build a row of buttons on the top of a page which changes the feature layer being viewed. I am using sample code from here: ...
3
votes
0answers
29 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 ...
0
votes
1answer
31 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 ...
4
votes
1answer
71 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 ...
0
votes
1answer
22 views

Create a 3D map with extruded polygons for use in ArcGIS Javascript API

I am working on a project which contains several choropleth maps (State and County level mostly). In very simple terms, I would like to create 3D extrusions of the polygons based on an attribute. So ...
1
vote
2answers
57 views

How do I Customize an ArcGIS Map Service to Include Additional Items?

I am using ArcGIS 10.1 and attempting to publish a map service on a remote server running ArcGIS server 10.2. I have created a map service successfully and can view it via the ArcGIS JavaScript API: ...
0
votes
0answers
24 views

How exactly should third party libraries be included in WAB through the lib/main?

The official documentation for using other libraries in Web AppBuilder points to libs/main for including AMD modules in multiple widgets. I want to use Proj4js in my widgets, so I deployed it in the ...
0
votes
2answers
21 views

Esri JSAPI Legend Not Appearing

I am stumped on an Web App that I have been working on. I am using Esri JSAPI and can not figure out where I have gone wrong with the Legend. The app runs, but no legend appears anywhere. I have ...
0
votes
3answers
34 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 ...
1
vote
0answers
28 views

Get Styles for Feature Layer in Feature Collection, Customize Layer List

so I'm using the JavaScript API to customize an ArcGIS web app and I need to take feature layers and group them in the layer list widget. Here's the code I have that does that (in the widget.js file ...
3
votes
3answers
108 views

How can I change number format and alias in javascript API legend?

I want to change the alias and the length of a field that already exists in my GDB from the Javascript API. Is this possible? I see that alias is a property of the Field class. Can I do something ...
0
votes
1answer
26 views

CSVLayer as a source for Search widget in ArcGIS Javascript

I am trying to add my CSVLayer as a source for the Search widget, however, I've been unsuccessful. My Search widget searches addresses and I was able to add one of the sources from this example ...
3
votes
1answer
38 views

Editor widget in CMV is not working

I'm new to GIS. I'm using the CMV template for my applications, but I can't get the Editor widget to work. The problem is that all the functionalities form the Editor Toolbar are not working. The only ...
0
votes
0answers
15 views

Use multiple dojo datagrids or generic?

I'm using ESRI ArcGIS javascript api v 3.16 I need to display results from 4 separate layers and queries in a datagrid (at different times). Rather than specifying 4 separate tables with field's ...
0
votes
1answer
23 views

Legend Not Refreshing When Renderer Changes

I have the following code to grab a value from a drop down menu and use it to change the renderer of the featureLayer. However, it does not update the legend. The legend just stays on the initial, ...
0
votes
1answer
14 views

How to set LocateMe Widget static or predefined location(or x & y)

I whant to have locateMe button with static predefined x and y coordinates. I have found this: myWidget = new locateButton({ theme: "locateButton", // (optional). class name for the widget container. ...
0
votes
1answer
42 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 ...
0
votes
1answer
11 views

Is it possible to show preview extent box for PrintTask in ArcGIS 3.16 JavaScript API?

I have set up a map application using ArcGIS JavaScript API v3.16 and included functionality for exporting a map to PDF using the PrintTask. Is there a way that I can use a button/checkbox to turn on ...
0
votes
0answers
15 views

How to get color from a marker symbol using esri and javascript

I use Esri map and javascript, and I set the variable: var pointSymbol = new esri.symbol.SimpleMarkerSymbol( esri.symbol.SimpleMarkerSymbol.STYLE_CIRCLE, 15, new ...
1
vote
0answers
8 views

How to share business logic among multiple applications using different apis with arcgis?

I've been working with ArcGIS and Esri WPF API for a year, but now me and my job colleagues felt the need to build a new application using the Esri Javascript API. Our application using WPF API has a ...
0
votes
0answers
54 views

ArcGIS operation dashboard widgets interacting with each other

I am working with custom widgets for ArcGIS operations dashboard. I created two widgets (A and B) and now i need to make them interact somehow (selecting value from one should be handled in another). ...
0
votes
0answers
23 views

ArcGis 2 JavaScript Api Conflict 3.11 and 3.16

Have problem with arcgis javascript api.My template(Tour Map- Customized) is old and use 3.11. <script src="//js.arcgis.com/3.11/init.js"></script> And i want to use ...
0
votes
2answers
34 views

Event not firing for map.graphic.add objects added

Using ESRI ArcGIS javascript api v 3.16 I programmatically add a graphic to my map, which works fine, for example: var pnt = map.graphics.add(new Graphic(evt.mapPoint, stopSymbol)); I need to fire ...
1
vote
1answer
43 views

How to add group layers/TOC to ArcGIS web map/web application?

I am new to arcgis online and am trying to create a web map that has some kind of grouped layers. I have tried adding multiple shape files that are all zipped together but because together the files ...
0
votes
0answers
23 views

Map service layers drawing beneath basemap

I have created a geoprocessing service that displays the results as a map service. For some reason only the first layer of this map service is being displayed. The other two are actually being drawn ...
1
vote
0answers
13 views

Display Legends on esri map using javascript [duplicate]

I have different module like distance calculator,radius search and more. Each pages I need to show Legends div so that user can identify places by images on map(or identify the layers).
0
votes
0answers
27 views

How to use Esri ArcGIS JSAPI InfoTemplate and SimpleMarkerSymbol in conjunction with Query

I have a JavaScript API map where I would like to execute the following workflow : User enters address in locator Location candidate spatially intersects with any polygon feature that it falls ...