The ArcGIS API for JavaScript is a web mapping API from Esri.

learn more… | top users | synonyms

0
votes
0answers
30 views

How to create custom traffic Layer

Please, tell me, how to create custom traffic layer into RouteTask? I need to get directions between two points, using data about traffic (road traffic). At this stage, draw a route between two ...
0
votes
0answers
40 views

Navigation zoom in / zoom out not working in ArcGIS API for JavaScript?

is it just me or the zoom in and zoom out customized buttons [The ones at the top with the icons that read "Zoom in" and "Zoom out"]do not work? ...
0
votes
1answer
95 views

Create a polygon from an array of coordinates in arcgis javascript api

Well I am building a GIS web app using ArcGIS Javascript API , I want to create a user interface in which the user provides an array of coordinates and I have to get those coordinates and create a ...
0
votes
2answers
51 views

CMV Secure Feature Service - Proxy

I m triying to add a secured feature service to CMV using a proxy page. My viewer.js file is the following: esriConfig.defaults.io.proxyUrl = 'myProxyURL'; esriConfig.defaults.io.alwaysUseProxy = ...
0
votes
0answers
35 views

Opacity Slider not creating consistently

I am dynamically creating some Opacity Sliders for some layers I have added to my map. The issue is that for some reason after it creates 7 of the sliders it doesn't create the rest correctly. I have ...
0
votes
1answer
73 views

Manually setting basemap using ArcGIS API for JavaScript?

Looked over the example can NOT figure out how to set basemap MANUALLY. I don't want a dijit widget, or any other libraries or anything like that. Just want to manually set a basemap to any of the ...
2
votes
1answer
35 views

How do I check for existing ArcGIS Map Layer

I would like to know how I can check if I have an existing Map Layer before I call map.removeLayer(layer). I am having an issue because I am calling that even if there isn't one to remove. if ...
0
votes
1answer
38 views

readOnly attribute of ArcGIS FeatureTable

I am wondering the purpose and correct usage of the readOnly attribute of the FeatureTable widget in the ArcGIS Javascript API. The API defines it as a varible which "Indicates whether the data is ...
0
votes
0answers
28 views

using arcgis js api with requirejs

requirejs.config({ 'paths': { 'esri': 'mydomain/3.12/esri', 'dojo': 'mydomain/3.12/dojo', 'dojox': 'mydomain/3.12/dojox', 'dijit': 'mydomain/3.12/dijit' } }); Then require your ...
0
votes
0answers
30 views

Printing (or exporting) Imagery from a Image Service using pre-defined map layout templates within an JavaScript based ArcGIS web app

Quick back story: I've been tasked with creating a simple web app that will display vector and imagery data for a surface mine site. This site would be used by office personnel who aren't well-versed ...
0
votes
1answer
58 views

“Pagination not supported” error occurs when searching feature layers using the search widget

I just upgraded to the 3.13 version of the JavaScript API, and I'm working on getting the new search widget (esri.dijit.Search) working in our application. We have our own ArcGIS Server (10.1 I ...
0
votes
1answer
36 views

Display the measurement of current segment in Measurement Widget?

In this ESRI measurement widget sample: https://developers.arcgis.com/javascript/jssamples/widget_measurement.html when you draw a line, it dynamically displays the segment length. And, when you ...
1
vote
1answer
79 views

How to add custom basemaps to BasemapGallery

I would like to add my own custom basemaps to the BasemapGallery. Is there any way I can create my own BasemapGallery with only my maps? I am using the ArcGIS API for javascript. EDIT: for clarity I ...
1
vote
1answer
42 views

Select / Drag or by rectangle CMV Application

Anyone able to suggest to this noob if there is a way to change the selection option in my CMV application from individual polygons (one at a time) to an option of selecting multiple polygons at once ...
1
vote
0answers
31 views

Once route is solved, also return encountered barriers from ArcGIS Server Network Analysis?

I have came across an unexpected "issue" while working with the Esri JS API and ArcGIS Server Network Analysis service. Once user submits the route solving task to the server, I'm appending the ...
0
votes
0answers
21 views

Disabling Extent Based Rendering using ESRI Javascript API

I am using ESRI's javascript API to generate a heatmap renderer for my feature layer. I am noticing that the heatmap calculation/visualization is dependent upon what is in the current zoom extent. For ...
0
votes
0answers
18 views

Is it possible to catch mouse events from a hidden feature layer?

I want to avoid drawing a feature layer. I want it to be hidden and load as fast as possible. I have tried with opacity zero but i think it still draws. Is there any way to minimize the time of being ...
0
votes
0answers
36 views

ArcGIS API Browser Issues

I am having trouble with my maps displaying in different browsers. Chrome and Firefox seem to have no issues whereas Safari works sometimes and other times it does not. ...
1
vote
1answer
29 views

Points with labels (or associated text) in Esri's JS API

I'm building an interactive map. A feature that has been identified as important by the stakeholders is being able to add points and associate data with them. I'd like this to be very user-friendly in ...
1
vote
0answers
29 views

Is tileJSON supported by ArcGIS for Server?

Does ArcGIS 10.2 for Server support tileJSON? I mean, can I retrieve in some way the tileJSON from and ArcgisTiledLayer ? I need this so as to use it with wax library and have a grid along with the ...
0
votes
0answers
14 views

how to fetch the features that are making up the image of a dynamic or tiled service ?

It it possible to to know the position of the points that an image coming from dynamic or tiled services contain. I need this to implement a custom mouse-over event for tiled/dynamic services.
0
votes
0answers
29 views

ArcGIS Javascript API - symbology based on related table

Any idea of how to do that ? For now I dont see any way to create a SimpleFullSymbol based on values from a related table Or to use some renderer for the cause too.
0
votes
0answers
24 views

Can I use tileJson with esri's ArcGISTiledMapServiceLayer, maybe with wax esri connector?

I am using the arcgis javascript api to implement my map. I want to enable mouseover event on the images returned from the tiled service. I was thinking that tileJson could help. I have seen that wax ...
0
votes
1answer
86 views

Does Configurable Map Viewer (CMV) support custom symbology for operational layers?

I have looked through the documentation, browsed the widgets and searched here on gis.stackexchange. I can't find any information regarding being able to override the default (published) symbology of ...
0
votes
1answer
60 views

Can I use esri-leaflet together with arcgis api?

I am not sure I have understood the co-existence of arcgis javascript api with the esri-leaflet library. Can I use leaflet together with the javascript api. For example can I have my map built with ...
1
vote
1answer
61 views

How to catch mouse-over event on Dynamic or Tiled Layer

I need to fetch as IMAGE, the results of querying/filtering the data of a layer. So, I decided to use the dynamic service layer. I can use the identify task to so as to show an infobox containing ...
0
votes
1answer
108 views

esri/dijit/Search multiple sources not updating drop down list

I am trying to reproduce the tutorial on one of my own layers Here I have put in one of my own layers <!DOCTYPE html> <html><link rel="stylesheet" ...
1
vote
1answer
65 views

Multiple Attribute Tables - CMV

I am trying to add multiple tables using tabs to one of my viewers but can't get it to work. Below is the code that I have added to my viewer.js widget option (it adds a table for 'Site 2' but not ...
0
votes
0answers
24 views

How to retrieve the results of a map service query as tiled images ?

I have a map service with 100k ++ points. I am using feature layer, and definition expression to perform filtering. The performace is poor. I have tried clustering but it still struggles since there ...
0
votes
1answer
40 views

Graphic Layer graphics redraw incorrectly after map zoom event

I have a web map application which adds arrows onto street segments signifying direction as a Graphics Layer. The direction of each arrow is calculated by this process: 1) build an array of the street ...
0
votes
1answer
27 views

Querying ARCGIS to find feature having specified point

I am trying to query features by point, so that it returns a feature that CONTAINS the point given. With the screenshot below, you can see that inspite of giving all the fields correctly, the server ...
1
vote
0answers
47 views

IWorkspaceEdit2Proxy equivalent in ArcGis Javascript api

Is there any equivalent for IWorkspaceEdit2Proxy in JS ArcGis API ? I've gone through the whole JS API documentation and haven't seen anything that would help to implement grouping edit operations. I ...
1
vote
1answer
45 views

ArcGIS API for JavaScript RouteParameters vs REST API

I have the network analysis service and I need to get the route between two points, but I don't want the single path polyline, but rather set of paths representing the edges it travels though (pretty ...
0
votes
1answer
30 views

Calculate print extent in arcgis from screen extent?

I am printing with preserveScale set to false as I need the extent on paper to match what is displayed on screen as closely as possible. Unfortunately the print server does need to fill the paper and ...
0
votes
0answers
40 views

how to get the features of a definition expression without having to project them on the map

I want to perform a definiton expression on a feature layer and get the graphics/features. If I set the visibility of the layer to false, the features cannot be retrieved. Is there any way to get the ...
1
vote
1answer
66 views

Exporting map.graphics to image using ArcGIS API for JavaScript?

I'm developing a GIS Map Application, I'm using Esri JS API . I have a facility to highlight some parts in the map, however I'm wondering if I can - in any way - export these graphics into an image ...
0
votes
1answer
87 views

ArcGIS Javascript Spatial Query with Lat Lng or X Y?

I am using Google Maps on the front end as all I need on this view is to show the points. When user clicks on the map in the view, it selects a point hence giving out lat and lng. I am trying to use ...
0
votes
1answer
76 views

Accessing Draw toolbar of ArcGIS JavaScript API without dojo?

I am building an application using Angular JS, and have been accessing ESRI classes thus far in the following way: var graphicsLayer = new esri.layers.GraphicsLayer(); I have access to the 'esri' ...
1
vote
1answer
78 views

Variable buffer radius in ArcGIS JavaScript API?

I'm hoping someone can help with this, I'm trying to combine the following Esri samples, to end up with the ability to create buffers based on a variable radius, that will then query data within the ...
-1
votes
1answer
60 views

Is ArcGIS JavaScript API and SDK free? [duplicate]

I wish to integrate my .NET web Application to ArcGIS via JS Web API but the application is for commercial use and at an organizational level. Can someone please give me an insight on: available ...
0
votes
1answer
76 views

How to add spatial reference ESRI:102100 as a custom CRS to Geoserver?

I've been struggling with this for over a week. I'm using the ArcGIS Javascript API to create a basic map application, and I'm trying to add a WMS layer from my geoserver to this application. The ...
0
votes
1answer
83 views

Change the symbology of a dynamic map service in client

I am trying to use someone else's map service in my web map, but their symbology is atrocious so I need to render new colors through JavaScript API. I try the following (amongst many other efforts ...
1
vote
3answers
215 views

ArcGIS Javascript API - How to define spatial reference for WMS layer?

I'm just starting with the ArcGIS Javascript API, and I'm having some issues adding layers from my geoserver to my basic map application. I started with the WMS resource info sample from the ESRI ...
0
votes
1answer
58 views

ArcGIS JavaScript API Proxy page

I'm developing a Web Application that is using the ArcGIS Javascript API. When adding a Feature Layer I'm using the setDefinitionExpression to limit the features that are returned. The expression ...
0
votes
0answers
40 views

browser crashes when loading legends at startup

After much perusing for solutions, I've decided to post my problem as a question. I'm trying to load the legends that are built into the ArcGIS Service Layers I'm using. I'm loading about 7 Dynamic ...
0
votes
1answer
54 views

Making Operational Layer from WebTiledLayer and MapImage?

I'm attempting to use the CMV and put a WebTiled layer in as an operational layer. I've been able to get the layer into the basemap without issue, but can't get sort it out for the Operational Layer. ...
1
vote
1answer
62 views

Can't retrieve data from featureLayer

I can't get any value from featurelayer. This is the code: function testarvin1() { require([ "esri/Map", "esri/layers/FeatureLayer"], function (FeatureLayer) { ...
0
votes
1answer
196 views

Change Header/Background Color For Attribute Popup Window (JavaScript Web AppBuilder)

After creating a web app and downloading it using the JavaScript Web AppBuilder for ArcGIS (Developer Edition), I was able to change the site header and widget popup color schemes via an existing ...
0
votes
0answers
56 views

Move Zoom In & Out Button in ArcGIS JavaScript Web AppBuilder (Developer Edition Download)

After creating a web app in ArcGIS Online, I downloaded the app using the Web AppBuilder for ArcGIS (Developer Edition). Several folders, .json, .html, .js, and .css files are contained within the ...
2
votes
0answers
35 views

developing a Talking Map

I need to develop a prototype of a web application that speaks : When you click on a city (point) it says the city name (Audio files are ready) I want to use ArcGIS Javascript API. do you have any ...