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

learn more… | top users | synonyms

0
votes
0answers
15 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
31 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
28 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
96 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
65 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
69 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
132 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
70 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
26 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
47 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
48 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
33 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
41 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
103 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
100 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
90 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
91 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
66 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
81 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
131 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
252 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
63 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
57 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
63 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
63 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
261 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
64 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
37 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 ...
0
votes
1answer
48 views

How to get the Shape.STLength() value from JSON

I'm trying to get the Shape.STLength() value from a feature returned from a query. something like var myLength = returnedJSON.features[0].attributes.Shape.STLength(); "Shape.STLength()" is ...
1
vote
1answer
50 views

ArcGIS JavaScript API 3.13 error with Measurement setTool() function

When upgrading to 3.13 the following code to disable the measurement tool returns an error: measurement.setTool("distance", false); Here is the error: Uncaught TypeError: Cannot read property ...
0
votes
1answer
51 views

Autopopulated combobox value passed to definition query - results won't display on map

I have a dojo combobox that is populated with unique values. The user chooses a value, and the value is passed to a definition query, and the results displayed on the map. I can't get the results to ...
1
vote
2answers
117 views

Parsing Geoprocessing Service messages using ArcGIS API for JavaScript?

I am working on a JavaScript (JS) app where the user draws a polygon and then a python-based Geoprocessing (GP) Service task queries the parcels and generates mailing labels. The GP task works great, ...
0
votes
1answer
178 views

ArcGIS JavaScript API - measurement widget doesn't work with other widgets

I am having an issue with the Measurement-Widget in combination to other widgets with the newest ArcGIS API for JavaScript (3.13). With the sandbox, i was able to create a Map which includes ...
0
votes
0answers
25 views

How to create a ClassBreakRenderer without data coming from table?

I´m trying to get a classbreakrenderer without a table or from Feature Layer. I read the question : How to create a ClassBreakRenderer without data coming from Feature Layer? I´m not able to ...
0
votes
0answers
48 views

How to force the urlUtils proxy perform only POST requests

How can I force the urlUtils to use only POST requests. I a using it as shown in the following block described also in the how to use proxy section, and I have noticed that some times (maybe when ...
1
vote
1answer
86 views

10.3 js callback appended to query call not working

I have two 10.3 ags servers that i thought were the same. But on one i can send this request to the rest api endpoint and it does not work: ...
0
votes
1answer
39 views

Arcgis JS Api mapping mashup how?

I have gis data which i can access over Arcgis Rest with Arcgis js api and i have non-gis data which i get from different db.I want to mashup this two like in this link ...
0
votes
0answers
136 views

How to generate exportable report from web map (ArcGIS JavaScript API)

I would like to build a web map using ArcGIS JavaScript API containing 1 layer of polygons & 1+ layers of points (or lines) contained within said polygons. I want this to be enabled with some sort ...
0
votes
1answer
42 views

Displaying geotagged photos on arcgis javascript web application

I have a web application which displays tanks mapservice.I want to display geotagged photos in infotemplate.
0
votes
1answer
58 views

ArcGIS API for JavaScript Web Optimizer: 'Queued' forever

Although ArcGIS web app optimizer behind the scenes uses the same dojo build system, it runs at least a twice slower. But the most unpleasant thing is it puts a building task in a queue with the “Your ...
0
votes
0answers
25 views

Labels that don't overrun polygon features using ArcGIS API for JavaScript

I'm creating my first web map using the ArcGIS API for JavaScript. I have a working polygon FeatureLayer and the associated LabelLayer, but the resulting labels are cluttered and detract from the ...
0
votes
0answers
62 views

Dojo TypeError for ArcGIS Javascript API App

I recently updated the app to the 3.13 framework, and now am getting the following error when I load my application. Uncaught TypeError: Cannot read property 'missingMessage' of undefined Chrome ...
0
votes
1answer
75 views

Printing ArcMap layouts from ArcGIS Server Services (10.1+)

I've prepared a map with multiple data frames using ArcMap and setup my desired layout. I published the map onto the ArcGIS Server and setup a printing service which uses the custom layout of the ...
0
votes
1answer
49 views

ArcGIS Javascript Api - QueryTask and setDefinitionExpression

I've written some code to query a Feature Layer using either a QueryTask or using the setDefinitionExpression when adding the layer. For testing I am using the ASP.Net Development Server. I've ...
1
vote
0answers
55 views

ESRI addProxyRule causing issues with back button functionality in Firefox

Currently, i'm using the addProxyRule to set up the proxy to be used when calling arcgis. I'm then taking that result and generating a url to take the user to a different part of our site pertaining ...
1
vote
2answers
74 views

Checkbox becomes unchecked when map pans

I have a table of contents that is used to toggle visibility of layers. I also have a dialog box that populates with the visible layers so that the user can pick from the visible layers what layer ...
1
vote
0answers
53 views

Print two different maps object in one layout template in Arcgis javascript api

I'm trying to publish a print service that accepts two maps objects, sent by javascript and print them, I found PrintTask() wedjit, something like printTask.map=map, my goal is to try to send two map, ...
1
vote
1answer
67 views

Passing Arguments Between Widgets with Mixedin Templates - CMV Builder

I am attempting to manipulate a custom widget (Table) I built. I first initialize the widget in the viewer.js class and attach it to the 'sidebarBottom' pane in the viewer. Since the 'Find' widget is ...