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

0
votes
0answers
10 views

Trouble adding and populating field on the fly in ESRI feature layer

I'm trying to build a mashup consisting of a Census tiger web feature layer, and some JSON. I want to make a map of the feature layer, then add a new field to the layer, and populate from the JSON. ...
1
vote
0answers
18 views

TOC with secure services

I have secured map services with AGS. I also have the proxy.config, proxy.ashx, and web.config in my application. My map layers display OK using the proxy. When I try to display my legend using the ...
0
votes
0answers
6 views

ESRI JS API - Get Data in Infowwindow when scrolling through multiple selected features

I would like to be able to grab attribute data from a popupwindow when its associated feature is clicked. When there is only one feature in the window this is no problem by accessing the features by --...
1
vote
1answer
14 views

Adding text to ArcGIS Javascript layer

I am using the ArcGIS Javascript API (v3.15) for a basic use case of placing some markers with text on a map. I am able to add the marker, but I am running into issues inserting text on that marker. ...
1
vote
1answer
16 views

Embed a map or OverviewMap in an InfoWindow/Popup

Our page has a main map area with sidebar widgets that trigger different functionality. The widget I'm working with at the moment is going to be annotating points on the map with details including ...
2
votes
1answer
28 views

ESRI Javascript - Dynamically Create Points from Non Spatialized JSON Using Lat/Longs

I am working on application that needs to make use of a non spatial data set. The data is maintained by the group responsible for the installation of the asset item and thus it makes sense to pull ...
1
vote
2answers
30 views

How to get Symbol from a feature layer

How can I get the symbol from a FeatureLayer? I want to use the symbol of a FeatureLayer to symbolize a graphic layer.
0
votes
0answers
14 views

Multiuser geodatabase update and invocation of arcgis web service

Can you advise me on the following scenario? I have a web service that can be accessed by multiple users, it represents different states in the US with colors depending on a number data field, such ...
1
vote
0answers
16 views

ArcGIS JSAPI Query Related Records/Relationship Table

I am using this example https://developers.arcgis.com/javascript/3/jssamples/fl_query_related.html to develop an application which queries related features. I have two feature classes and have ...
1
vote
0answers
10 views

Create a Map scale for Geodesic circles

I need some guidance. I'm using an ESRI Base Map with Web Mercator projection(Wkid - 102110) in an web application using JavaScript. I'm drawing geodesic circles on the Base Map for a given radius ...
1
vote
1answer
25 views

Converting a Map Scale

I need some guidance. I'm using an ESRI Base Map with Web Mercator projection(Wkid - 102110) in an web application using JavaScript. I'm trying to display the Map Scale as range on the map. I got the ...
1
vote
2answers
40 views

Arcgis 3D map development when display PictureMarkerSymbol in sceneview

When I am displaying PictureMarkerSymbol it gives below exception in console. > DOMException: Failed to execute 'texImage2D' on > 'WebGLRenderingContext': The cross-origin image at "image url ...
1
vote
0answers
31 views

Can I create a selection on Feature Table by attribute with ArcGIS JS API?

I have a simple app built using the 3.16 API that includes a flat table (so no spatial attributes) using the Feature Table widget. Can I select rows by attribute rather than just by the user clicking ...
2
votes
1answer
32 views

Filtering an ArcGIS Feature Service by Related Table

With a feature service that has a related table, is there a way to set a definition expression using the fields in the related table? For example, with the feature service located at https://...
2
votes
1answer
27 views

Customizing map layers in Esri Javascript

I'm working on creating an outdoors-app-thingy where I'm required to divide up parts of 3 different rivers where the app is focused around into different "zones".   After a lot of calling ...
0
votes
1answer
21 views

Popup from InfoTemplate only showing attributes in Firefox, but not in Chrome or Internet Explorer

I have a map service I am testing on internally with some popups on a dynamic map service layer. They work perfectly in Firefox (version 45.0.1), but not in Chrome (version 50.0.2661.102) or Internet ...
0
votes
1answer
29 views

Change display name for feature layer when using LayerList widget

I'm building an app with the ArcGIS JavaScript API, version 3.16. I have a map with two feature layers and I'd like to use the LayerList widget so the user can toggle them on and off. It's functional ...
0
votes
2answers
32 views

ArcGIS JavaScript API Drawing Graphics to Wrong Places

I am working on a web application using ArcGIS JavaScript API. I used query and got a group of graphics. However, the map.graphics.add draws the graphics to wrong locations. They should be in Arizona ...
1
vote
1answer
46 views

ArcGIS JavaScript API Graphic doesn't Display

I am using map.graphic layer to present a query result, which is a featureset. I assigned symbol and template to the graphics and added them to map.graphics. However, when I apply the function, it ...
0
votes
0answers
37 views

Arcgis rest services map is not showing up

I just got done installing arcgis (10.3.1) for desktop and arcgis for server along with the web adaptor. I have a problem with the rest end point of my service. I can get to the rest end point but ...
0
votes
1answer
32 views

ArcGIS JavaScript API Query

I am working on a web map using ArcGIS JavaScript API. The map should be able to query a layer and show the result. Since this is my first time using query task of the API, I got some issue. Below is ...
1
vote
1answer
16 views

Change Order of Features in Popup with ESRI ArcGIS Javascript API

I am using version 3.12 of the ESRI ArcGIS Javascript API and have noticed that the order of the features that show up in my info window popup does not correspond to the order layers those features ...
1
vote
1answer
11 views

Grabbing current map extent when using State Plane coordinate system?

When using the Share widget in the Configurable Map Viewer (CMV), I'm unable to grab and dispaly the current map extent while using a custom basemap projected in the State Plane coordinate system. It'...
0
votes
1answer
27 views

How to prevent adding/editing with AttachmentEditor?

I have a WAB (for developers, version 1.4, JS API 3.16) widget with an AttachmentEditor. Depending on the user's privileges (managed through MVC), I want to prevent some of the users from modifying ...
0
votes
1answer
40 views

Arcgis FeatureLayer.MODE_ONDEMAND not select exactly coodinate?

I'm working with ArcGis API. I push my Feature Layer on map in MODE_ONDEMAND. But when I select feature (selectTask), the coordinates come out as [692010, 101011], with no decimal places. What I want ...
0
votes
1answer
28 views

Can I increase up to 5000 points limit of feature layer?

I have created searching functionality to using the JavaScript API and I have feature layers which has grater than 1000 points. I want to put all point of particular feature layers on map but ...
1
vote
2answers
35 views

How to Get Dynamic Map Service Layer Name On ArcGIS API

Can you please take a look at This Demo and let me know how I can get the Selected Layer Name through API when check boxes are checked? As you can see at This Link the service is providing 3 layers ...
2
votes
1answer
21 views

AttributeTable sending an alert that data was not found when clicking on table row

I have an AttributeTable that I have opening when I start a widget. When I click on a table row in this instance, I am able to get the information back correctly and not see this message. I did this ...
0
votes
1answer
13 views

force re-render of graphic symbol after modifying it on click event in arcgis js

I'm using ArcGIS javascript sdk to render some points on a map with simple marker symbols. I setup an event for mouse clicks to change the outline color of a point symbol when clicking on one, like ...
1
vote
1answer
46 views

ArcGis Javascript

I am trying to make map, that on mouse over displays the mgrs coordinates. Example map with lat, long: https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=map_xycoords I know ...
0
votes
1answer
33 views

Arcgis Javascript API WMTS Layer don't use the configured proxy

I am new about Arcgis javascript API. I'm using WMTSLayer and i have configured to use a proxy. esriConfig.defaults.io.proxyUrl = <Proxy_url> When the API does the GetCapabilities request, ...
0
votes
1answer
29 views

Draw and save graphics to IndexedDB / Local Storage using ArcGIS API for JavaScript?

I need to add graphics to a map with class. Is it any sample or way to save it to IndexedDB or Local Storage ? I tried to use offline-editor-js but this library don´t offer possibility to save ...
0
votes
2answers
49 views

Scrolling down a page with a map

I'm using version 4.0 of the ArcGIS API for my maps. I have this problem with maps whenever the page has to be scrolled down to view the map. My map is somewhere in the middle of the page so the user ...
0
votes
0answers
36 views

ArcGIS Javscript API Legend - Print Set Legend Columns & Picture

I have a web application that displays map, based on dynamic layers, and provides basic functionality like zoom\pan, print(pdf export option) etc. Application is based on Arc GIS Server 10.4 platform ...
0
votes
1answer
26 views

Using ArcGIS Javascript API and need help understanding asynchronous programming in accessing the fields property of a FeatureLayer Object

I'm creating a new FeatureLayer, and I want to populate the popup with a list of all the fields. Here is part of my code: var featureLayer = new FeatureLayer(url, { mode: FeatureLayer....
1
vote
1answer
27 views

Altering the suggestQueryParameters in ESRI javascript API

I'm using a modified version of the CMV application and I'm trying to alter the query used by the suggestions query of a search widget. The suggestQueryParamters seems to allow for a custom where ...
1
vote
1answer
17 views

ArcGIS javascript, convert Graphic to Polygon

I am trying to call GeometryService.autoComplete which has Polygon[] as the first parameter. In my case, I would put the all of the features of my featureLayer. The only property that would seems to ...
0
votes
0answers
11 views

Geocoding with xml response

I'm new to coding and I've set myself the task of geocoding some postcodes and addresses on a map. I've been going through the Arcgis javascript api and followed the geocode tutorials but now I want ...
0
votes
0answers
16 views

Regroup layers in Configurable Map Viewer (CMV)

Please, how can I group layers by topic in CMV and change operationalLayer = [ ] array automatically into Viewer.js: I want to regroup feature layers by topic. I failed to create an other ...
2
votes
1answer
38 views

What is the correct tileInfo for MapBox basemaps in the ArcGIS JavaScript API (3.16)?

I'm trying to use a MapBox basemap in a JS API (3.16) app and they are using tiles that are 512px instead of the typical 256px. This causes the map to be one zoom level off and the labels and such ...
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
16 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 ...
2
votes
1answer
28 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....
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'...
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 ...
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/...
-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
0answers
28 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 ...