arcgis-javascript-api-4's questions - English 1answer

125 arcgis-javascript-api-4 questions.

I'm working with the ArcGIS Javascript API v4.7 and I've run into a roadblock. I have several points on my map with the same coordinates. Therefore they show up exactly on top of one another with no ...

I'm in the process of updating my application from ArcGIS JS API3.x to 4.7. I'm unable to add labeling to a feature class. As per ESRI, they support labeling only for 3D or a MapImage layer in 2D. In ...

Im trying to zoom to the extent of a couple of graphics that are on the map. None of the methods that worked for api 3.x are available in v4. Im hoping someone knows alternatives. https://...

I am new to ArcGIS JS. I have read the docs but I am looking for some example of setting the default search service. I am looking to use all services (featureLayer and esri geocoding services) but ...

I want to Measure line and polygon in ArcGIS API for JavaScript 4.8. How do I make this code work? <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=...

I recently made a web mapping application using the ArcGIS for JavaScript API, but I am having a difficult time making it accessible to users of my organizations AGOL account. I naïvely thought I ...

I am using using featurelayer and sceneview in ArcGIS API for JavaScript 4.3 and want to add labels. I have followed code examples from the API documentation but the labels do not show. How do I get ...

The style property of SimpleLineSymbol is currently not supported in 3D SceneViews (in ArcGIS JS API 4.8), so it's not possible to create dash lines in 3D SceneViews by simply changing the style ...

I am building a custom web app using the ArcGIS JS 4.8 API with an ArcGIS Web service and I have run into an issue. The root cause that I am trying to fix is to do with features not being filtered ...

I am using ArcGIS JavaScript 4.8 API and I have integrated the CSVLayer to an Angular 6 application but it is not showing up any heat map. The legend shows that it is getting renderer data and heatmap ...

I am attempting to display related fields in a popup window. I've created a GraphicsLayer, consisting of features from the results of a QueryTask. Upon adding the features to the GraphicsLayer, I am ...

I am using JavaScript 4.7 and I am able to retrieve json using esriRequest from our ArcGIS server. However, I have difficulty in showing this data on the map layer. the call map.addLayer(...

I've uploaded GeoJSON to Esri cloud and created a feature layer. Now I'm able to plot the featurelayer into my map. I'm trying to color each feature based on measures which comes from my DB. Here ...

the print service of application works well, but after converting the map area to pdf , the legend shows null filled values for polygon features(as in figure for Build up area,Forest dense area). I ...

I tried my best but didn't get success to show heatmap on FeatureLayer with latest ArcGIS JavaScript API 4.8. My Code is located here. I used HeatMapRenderer to render the point on the map as the heat ...

I am building a simple web application using the ArcGIS API for JavaScript (4.x). I created a map with an associated FeatureLayer and then a SceneView and everything works fine. However, I'm trying to ...

I'm using ArcGIS API for JavaScript 4.8. My goal is to get the Census tract ID value of the clicked Feature in a FeatureLayer and display the ID value in an alert box. I got stuck when trying to use ...

We have an extensive collection of GIS data sitting in ArcSDE, exposed via map and feature services, and already in a regional (projected) coordinate system. We are starting to explore building web ...

I'm using portalItem to display a web map in a web page and the Layer List widget to control the layer display. I want to show one layer at a time using radio buttons, instead of having to click on ...

I have a map built using ArcGIS JS API v4.8. The map has a basemap and FeatureLayer that are both secured by a custom API and a server-side proxy. I'm looking to make use of the Printing widget, but ...

I'm new to ESRI Map. I'm working on latest version of JavaScript API. I'm trying to load GeoJSON from https://bit.ly/2IZk4Nj into my Map. I'm able to load GeoJSON from ESRI Feature Service URL. I ...

I am working with the ArcGIS API for JavaScript 4.3 Everything is going well except this one little issue. I am trying to allow a user to add a location to our db. When they put in the address the ...

My code as below: require([ "esri/Map", "esri/views/SceneView", "esri/layers/FeatureLayer", "dojo/domReady!" ], function (Map, SceneView, FeatureLayer) { var featureLayer = new ...

Using the 4.7 JS API, I have multiple KMLLayers on my map, each containing hundreds of polygons. Given a point on the map, How can I identify all of the polygons across multiple layers that contain ...

Asked this already in GeonNet, but asking here as well as I can get valuable help from both sites. I'd like to change the view.spatialReference property in place to be able to switch between basemaps ...

I am trying to create a FeatureLayer from a JSON object that will be fetched from another service. I am not looking for something complicated, just something that works. var layer = new FeatureLayer({...

I have a basemap layer that I published and placed on my application and this layer has a number of blank areas that shows up as white areas since the background of the layer itself is white. Is ...

Hopefully something silly I'm overlooking. I started building my map with this sample code But once I started using my own data, it isn't appearing correctly on the map. Example: These coordinates [...

I was wondering if there is a graphic or geometry element that can be access within CSVLayer in arcgis JS 4.7, I have been unable to extract the geometry which I want to save as a JSON or array that I ...

I've implemented a 'route between points' site using the 4.7 JavaScript API. The logic works fine, but I'm having a graphical display issue: when a point is picked up and dragged to a new location it ...

I am trying to add a WebTileLayer to my ESRI map and the code runs without any problems. I can see the protobuf files being received by looking at the network inspector, however they do not appear on ...

I have some issues connecting to my ArcGis Portal JavaScript API. I don't know what to specify in: require(["in here"], function (in here) { }); And also where to put authentification ...

I am using version 4.5 of the ESRI ArcGIS Javascript API with a MapImageLayer. I'm setting popup templates on each layer. The problem is that, when showing the Popup following a click in the map, if ...

I'm trying to get the geometry in an array from a queryTask using the Esri JavaScript API v4.7. I'm sure I'm missing something but I dont know what. I want to take geometry from this to then create a ...

I am trying to update legacy map code to the latest ArcGIS version of 4.6 and noticed this warning in the console when querying a feature layer. [esri.core.Promise] DEPRECATED: then() -- use .when(...

I am trying to add a different map marker for every lat/long point added through a csv file using CSV Layer,is it possible to loop through each of the point for which I am going to add map marker and ...

I am attempting to join 2 layers from the same ArcGIS Online service together, using ESRI's limited sample for MapImageLayer. I would like to join the first [ID: 0] and second [ID: 1] layers in my ...

I use ArcGIS API for JS 4.0 but I didn't find a widget to add a scalebar to my web application. So, I tried to use ArcGIS API for JS 3.16 which has a scalebar widget, but I don't know if it's a good ...

I am looking for a way to add a georeferenced image file to a map in the ESRI 4.x Javascript api. In the 3.x version this was possible through the addImage method on MapImageLayer. It looked like: ...

Can you use a renderer function for a MapImageLayer sublayer? The documentation says you can use a renderer function with MapImageLayer. I am using a MapImageLayer and sublayers so that I can label ...

I have an attachment in ArcMap attribute table and would like to show the image attachment in the popup when a feature layer element is clicked but the code I tried to show the attachment but this ...

Using esri javascript api 4.3 in an Angular 2 application. I initially generate the map using this code: OnInit() { this.map = new Map({ basemap: 'streets' }); this.map.layers.add(new ...

The below code works to change the Graphic Symbol and Geometry in ArcGIS 3.18 JavaScript API. /********************** * Create a point graphic **********************/ ...

I have a geoprocessing widget that does some spatial queries, and currently returns a string in the output tab using SetParameter. The string is a URL. What's the best way to display this as: 1. a ...

I am trying to use JS API v4.x on Federated ArcGIS Server, but I am having problem regarding setting up the JS API v4.x. I am deploying arcgis javascript library and sdk v4.6 in an IIS server ...

We are having a problem with fast drag event on the new esri js 4.6 api. When a user drags the map too fast, the map extent's changes rapidly. I've detected that on a fast drag, there's an animation ...

I have a basic ASP.net web app that loads an ESRI base map. The index page looks like this: The JavaScript code: function (Map, FeatureLayer, LabelLayer, InfoTemplate) { var map; ...

I am trying to create a map with the the ArcGIS API for JavaScript v4.3. Some of the points that I want to visualize are on the same location and I would like to use some type of point clustering to ...

I'm classifying images of Red River Delta. Unfortunately, the region is split into two consecutive Sentinel 1A images. Therefore, I want to mosaic them into single image for convenient classification. ...

I am able to cluster the points in the map using the following code: var serviceUrl = "https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Places_of_Worship_India/FeatureServer/0"; ...

Related tags

Hot questions

Language

Popular Tags