Questions tagged [arcgis-maps-sdk-javascript]

The ArcGIS Maps SDK for JavaScript was formerly known as the ArcGIS API for JavaScript

Filter by
Sorted by
Tagged with
-1 votes
0 answers
28 views

How to obtain county parcel layer [closed]

My organization is constantly looking at different counties' GIS parcel data to keep track of owners, purchases, etc. Is it possible to copy this layer using ArcGIS API for JavaScript or some other ...
ZephyrZ's user avatar
  • 17
1 vote
0 answers
29 views

Move feature with a mouse without using the Editor widget?

Using ArcGIS Maps SDK for Javascript 4.28, is it possible to Move a feature in a featureLayer, without using the Editor widget? The Editor widget has a mode whereby after Selecting a feature, when you ...
Stephen Lead's user avatar
  • 21.1k
0 votes
0 answers
26 views

Specify location of actions on popup in ArcGIS SDK JS [duplicate]

Using ArcGIS Maps SDK for JavaScript v4 how can I specify that I want actions to always show underneath the content? On the examples the actions always show above the content, no matter where the ...
Jamie Kitson's user avatar
1 vote
1 answer
59 views

Creating zoom change event handler using ArcGIS JS API?

I want to change from a cached Basemap to a dynamic Basemap when the zoom is past a certain level. All Basemaps stored inside view's baseMapLayout (assume currently there's only 2). view is an ArcGIS ...
Someone's user avatar
  • 13
1 vote
1 answer
48 views

OGC WKT Format for Polygon From Sketch Widget ArcGIS JS SDK

In the ArcGIS JS 4 SDK, there is a sketch widget that allows one to draw different shapes on the map of your choosing. I implemented this to an iframe on my site. However, I need code to help me get ...
mendesd's user avatar
  • 23
0 votes
0 answers
81 views

Update WMS Layer's Time Property with a TimeSlider Widget in ArcGIS JavaScript 4 SDK

Using the ArcGIS JavaScript 4 SDK/API to load the WMS service of a NOAA Coast Watch Sea Surface Temperature dataset. The dataset that is trying to be loaded is an aggregated dataset which should ...
mendesd's user avatar
  • 23
0 votes
0 answers
18 views

Prepare data for creating voxel layer in ArcGIS Pro

I try to create a voxel layer using ArcGIS Pro. In my raster, I choose an area to show height changes using a voxel layer. I create random points in this area and have assigned Z values to these ...
ayça tabakoğlu's user avatar
0 votes
1 answer
31 views

WMS layer is not showing the colors associated with the dataset in ArcGIS JavaScript 4 SDK

This WMS layer I loaded into ArcGIS JS 4 SDK is not loading correctly. I tried to include a customParameters object, but I don't think I wrote it correctly since the documentation isn't super clear. I ...
mendesd's user avatar
  • 23
2 votes
2 answers
102 views

Using custom icon in the Expand widget in ArcGIS SDK JS?

Using the Expand Widget in ArcGIS Maps SDK for JavaScript, how can I specify a custom icon (eg an SVG or PNG image) rather than the Esri Calcite icons? The expandIcon parameter only accepts a string ...
Stephen Lead's user avatar
  • 21.1k
0 votes
0 answers
58 views

Enabling default popup template not working in ArcGIS Maps SDK JS

When adding the feature layer with URL, enabling defaultPopUpTemplate does not open any pop-up. When I click on the feature the feature gets highlighted however, nothing opens up. I am attaching the ...
gis's user avatar
  • 111
1 vote
1 answer
126 views

Display selected category from dropdown menu in sidebar in ArcGIS SDK JavaScript app?

I'd like to display the {Description} field content of a feature layer in the sidebar div of my application. One way I believe it can be done is by using a click event and the selectedIndex property. ...
Pfalbaum's user avatar
  • 911
1 vote
2 answers
77 views

Problem in giving search functionality using downloaded ArcGIS JavaScript API v4.27

I am trying to use search functionality using downloaded ArcGIS JavaScript API v4.27. Here is my code: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-...
Priyansh Garg's user avatar
1 vote
1 answer
94 views

Creating a HTML webmap using both ESRI JavaScript API and Leaflet

I have created an ESRI JavaScript based map. It is reading in a webmap from my ArcGIS Online account and works as is required. I would like to include some additional context to my webmap through the ...
Keagan Allan's user avatar
  • 3,696
0 votes
0 answers
61 views

How to preview PBF query results in the browser debugger?

Working with ArcGIS Maps SDK for JavaScript, I want a quick preview (in the browser debugger) of the results of a query. For example, when clicking on a polygon in the PopupTemplate sample, the ...
Stephen Lead's user avatar
  • 21.1k
0 votes
0 answers
82 views

Editing related records in ArcGIS JavaScript API 4.27

https://developers.arcgis.com/javascript/latest/release-notes/ According to these link, there is an upgrade on ArcGIS JavaScript API. This new version 4.27 provide editing related records but it does ...
ayça tabakoğlu's user avatar
0 votes
0 answers
18 views

Multipatch Editing

In ArcGIS JavaScript API, I try to edit my layer which contains buildings with multipatch geometries. In my web map, I create editor widget for edit my data but it does not work. Is it possible to ...
ayça tabakoğlu's user avatar
0 votes
0 answers
11 views

Change GeoRSS Style based on attributes - ESRI ArcGIS Maps SDK for Javascript

I have successfully implemented the solution to a question relating to accessing a GeoRSS's attributes using the code here: Access GeoRSS Attributes using ESRI ArcGIS Maps SDK for JavaScript My ...
Keagan Allan's user avatar
  • 3,696
0 votes
1 answer
50 views

Removing feature from the view's popup feature array in ArcGIS Maps SDK JS?

Using ArcGIS Maps SDK for JavaScript version 4.x, it is possible for the view's popup to contain an array of features. In this case, it is possible to page through them using the forward/back arrows. ...
Stephen Lead's user avatar
  • 21.1k
0 votes
1 answer
25 views

Access GeoRSS Attributes using ESRI ArcGIS Maps SDK for JavaScript

I have created a web map in ArcGIS Online. Using the ArcGIS Maps SDK for JavaScript I can create a view of this map using JavaScript and HTML. The webmap works and I can view all data layers within ...
Keagan Allan's user avatar
  • 3,696
0 votes
0 answers
46 views

Extract the text from ArcGIS map using JavaScript

I have this map, and I'm looking to extract the map label when clicked on the map. Let's suppose I click on the block with a 16257038. How can I get this text using JavaScript API. Here is my code so ...
xawova3005's user avatar
0 votes
0 answers
35 views

Adding Secure web services to a custom JS Web App

I am building a JS web app using Esri's SDKs. I need to add a web tile services from map proxy. But the services need HTTP authentication. Based on my research I found out that the services are ...
Shraddha Sharma's user avatar
0 votes
1 answer
116 views

ArcGIS SketchViewModel: how to set some of the Graphics can't be deleted, only modified?

https://codepen.io/U_B_U/pen/YzeppyZ?editors=1001 <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="initial-...
albert Kai's user avatar
0 votes
1 answer
33 views

Create a point/Polyline on map

I am new to ArcGIS JavaScript API. With below code, am trying to add a point/Polyline on the map Spatial Reference is 2881 for Example POINT (914723.27587074414 524669.72858949) and PolyLine(912367....
Zr2271's user avatar
  • 1
0 votes
0 answers
21 views

Add projection warp calculation to preserve correct scale when exporting map for printing

I'm working on my own widget for printing large maps based on the ArcGIS printing service. The main feature of the service will be dividing the large area to separate parts in specified paper format. ...
Ivan Kyka's user avatar
0 votes
1 answer
24 views

How to get ordered results from ArcGIS in case of using statistics with group by

Now if I implement query via ArcGIS Server 10.7.1 using params like this including outStatistics, groupByFields: params = { .... 'groupByFieldsForStatistics': 'DFIRM_ID', 'outStatistics': '[{...
Mahmoud Adel's user avatar
0 votes
0 answers
15 views

Using SummaryStatistics for binning data representation

I have a data representation using bins (featureReduction/Type binning). I would like to be able to use the summary statistics function to obtain the Min and Max values. The idea is to use them as ...
USER7's user avatar
  • 21
1 vote
1 answer
313 views

Couldn't access MapView from Experience Builder Widget

My widget requires MapView and it needs use through out the application. However, I am not able to get it. The problem is activeViewChangeHandler is not executed at all. I followed this documentation. ...
wondim's user avatar
  • 1,363
0 votes
1 answer
38 views

Web AppBuilder Developer Edition - "this" Keyword Conflict with Button Element

I created a button element with an onclick handler using the following method: domConstruct.create('button', { ... value: someValue, onclick: this.onBtnClick }); The onBtnClick method uses the ...
PacmanKX's user avatar
  • 333
0 votes
1 answer
28 views

Show only certain attributes in custom JS applications with ArcGIS JSAPI 4.25

When you publish a map service from ArcGIS Pro, you can control the popup field options that get displayed when viewing said map in the "Map Viewer Classic" page, as seen in the image below. ...
osswmi's user avatar
  • 41
1 vote
1 answer
462 views

Convert ESRI JS Graphic geometry into WKT format

I am drawing an object on map and retrieving it's geometry using following code: this.draw = new SketchViewModel({ layer: this.drawLayer, view: this.view }); this.draw.on("create", function(...
gisit's user avatar
  • 447
0 votes
0 answers
45 views

ArcGIS Maps SDK for JavaScript Printing

I have a web app using ArcGIS Maps SDK for JavaScript and am getting an error when I try printing a map with private layers. Below is the code am using to call print (derived from here). import * as ...
Takudzwa Mawarire's user avatar
2 votes
1 answer
86 views

Obtain a FeatureLayer's default renderer in ArcGIS JS SDK?

When creating a new FeatureLayer in the ArcGIS Maps SDK for JavaScript, it's possible to specify a renderer, to tell the layer how draw on the map. If you don't specify a renderer, the symbology ...
Stephen Lead's user avatar
  • 21.1k
0 votes
0 answers
23 views

All the entities of the layer are not displayed in the 3D scene of my web application using the ArcGIS API for JavaScript

I have an application that I have developed with the ArcGIS API for JavaScript. I am loading some layers that have 1217 entities and when I go to visualize them I do not see the total of the entities. ...
Daniel León's user avatar
1 vote
0 answers
45 views

JavaScript ArcGIS: Change style of Measurement widget 3D [closed]

I am using Measurement widget from ArcGIS SDK for JavaScript: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Measurement.html Everything works fine, however I would like to ...
KlemenPl's user avatar
  • 129
0 votes
1 answer
170 views

Use my own map service ArcGIS JavaScript API 3.43

I have my own custom service map. I have a base map, layers etc... I need to use it instead of ArcGIS default basemaps and layers. For now I trying this: <!DOCTYPE html> <html> <head&...
BPolanco's user avatar
0 votes
1 answer
22 views

How do blur points when it is not selected by a filter in ArcGIS?

I want to implement a filter to be able to blur all points on my map. const nzgdFeatureLayer = new FeatureLayer({ url: "url...", definitionExpression:"", ...
Le Hoang's user avatar
1 vote
2 answers
130 views

Setting scale range for MapImageLayer in ArcGIS JavaScript API

I am trying to set scale range in JS API v 4.x as seen here in 3.x. However when I try to use the load event as in the example it does not work in 4.x. Does anyone know how to accomplish this same ...
Robert Smith's user avatar
0 votes
0 answers
72 views

ArcGIS Javascript 4.25: Coded value descriptions in popuptemplate

Please help. I am using ArcGIS JavaScript 4.25 to display values in a popup using Query on a featurelayer (ArcGIS Server). The coded value is shown in the popup instead of the related description. ...
P Holtzhausen's user avatar
1 vote
0 answers
105 views

Change the state of a Sketch without destroying it (ArcGIS API for JavaScript and React) [closed]

I'm working on an application that the user defines a point on a map and then goes on to take that point's information to do other stuff. Originally, this has been done by having an event listener ...
Kathryn's user avatar
  • 11
1 vote
1 answer
130 views

JavaScript ArcGIS: Relative links are not working

I want to show a link in popup template when clicking on a feature. I am using popup template: const template = { // autocasts as new PopupTemplate() title: "Trail run", content: "...
KlemenPl's user avatar
  • 129
0 votes
0 answers
99 views

Save feature table info as text with their headers in ArcGIS JS API

I try to save my info at the feature table as a file. I was able to create my feature table and save them in a text but how can I save them with their headers? My data came like this now: How can I ...
ayça tabakoğlu's user avatar
0 votes
0 answers
46 views

How can I group my filter expands into a single expand in ArcGIS JavaScript API?

I tried to group my expands. I want to use them together with bootstrap tabs. How can I merge them? Is it possible in ArcGIS js API? I want to show like this (in single expand): My code: const ...
ayça tabakoğlu's user avatar
1 vote
0 answers
24 views

Colorize extruded buildings by construction years in ArcGIS JS API

I would like colorize my extruded buildings by construction years like old ones red and new ones blue color. It is possible with renderer but I want it dynamic. I mean when I change years with slider, ...
Suleyman Jumayev's user avatar
0 votes
0 answers
60 views

Save feature table info as text or CSV file in ArcGIS JS API

I try to save my info at the feature table as a file. I was able to create my feature table but how can I save it as CSV? My Code: require([ "esri/config", "esri/Map", ...
ayça tabakoğlu's user avatar
0 votes
1 answer
165 views

Change background color of highlighted feature layer ArcGIS JavaScript

I have a feature layer and I am highlighting the feature of the feature layers on click. It is working fine. Now what I want is, I want to change the background color / fill some color in that ...
Arpit Aggarwal's user avatar
0 votes
0 answers
176 views

Highlight sublayer of feature layer on click ArcGIS JavaScript

I have a feature layer of state that has sublayers as district. Now I want to highlight the sublayer polygon where I am clicking. I have tried a lot of different things but nothing worked. Here is one ...
Arpit Aggarwal's user avatar
1 vote
0 answers
37 views

Filter extruded buildings by colour according to their construction year in ArcGIS JavaScript API

I tried to filter my extruded buildings according to their construction year. I saw this example: https://developers.arcgis.com/javascript/latest/sample-code/visualization-sm-color-mesh/ and tried it ...
ayça tabakoğlu's user avatar
1 vote
1 answer
46 views

Highlight my selected 3D buildings in ArcGIS JavaScript API

I tried to query and select my 3D buildings related to their names or heights and can achieve the selection but I want to highlight selected ones. How can I do that? Or is there any better way to ...
ayça tabakoğlu's user avatar
0 votes
0 answers
31 views

How Can I Merge My Function With Slider In ARCGIS JavaScript API

I tried to merge my slider and query function but I can not do it. How can I merge them ? This is my Slider: const slider = new Slider({ container: "sliderDiv", min: 0, ...
ayça tabakoğlu's user avatar
1 vote
1 answer
43 views

Connect query on button in ArcGIS JavaScript API

I tried to connect my query code to the button. I want to show my 3D building features on a map related to their height values. When I click or slide my button, I want to see or highlight buildings ...
ayça tabakoğlu's user avatar

1
2 3 4 5
46