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

learn more… | top users | synonyms

4
votes
0answers
301 views

convex hull over selected features

I am trying to achieve a convex hull over a feature Set returned by a query. But have been facing the error below which i am not able to figure out In order to debug to see how the convex hull works ...
4
votes
0answers
4k views

Populate an existing popup with an AttributeInspector after RelationshipQuery returns results

Here's the workflow: A user selects a feature layer polygon, views a popup. A link added to the popup will run a RelationshipQuery to view related records. How can I get the RelationshipQuery results ...
3
votes
0answers
201 views

High-DPI printing with ArcGIS API for JavaScript and esri.dijit.Print?

I've got cached tiles for all map layers at various zoom levels, and would like to print at DPI higher than the default (around 96) by using tiles from a deeper zoom level. It doesn't matter if map ...
3
votes
0answers
94 views

Adding Edit button to ArcGIS Javascript template?

We've been able to successfully download the Find, Edit, Filter template, customize the configurations, and host it on our own server but here is the issue we are facing now. We're looking to use ...
3
votes
0answers
161 views

ArcGIS Javascript API - Looking For Styled Navigation Plugin/Widget

I am looking for a fancy navigation plugin to use with the ArcGIS Javascript API. Something along the lines of the Navigation Widget (see image below) available in the Flex Viewer would be great. ...
3
votes
0answers
519 views

How to create a custom Attribute Inspector for mobile app using the ESRI JS API

I am making a mobile version of a JS web application I developed. I'm noticing though that the AttributeInspector widget by default uses standard dojo/form controls. This means that the form within ...
3
votes
0answers
719 views

ArcGIS Javascript API 3.3 - Changing Layer Definitions / Refresh Not Behaving

I have an ArcGISDynamicMapService layer in my application that points to a fairly simple (6 layers) map service. In the application, there is a GUI/widget that allows the user to pick various options ...
2
votes
0answers
34 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 ...
2
votes
0answers
30 views

How to use items param in TemplatePicker to draw with?

I have been checking the JS API of TemplatePicker and it says to either use featureLayers or items in the params object: https://developers.arcgis.com/javascript/jsapi/templatepicker-amd.html I ...
2
votes
0answers
56 views

ArcGIS Server Map Service - Best Way To Visualize Coincident (Identical) Point Features

I have an ESRI Map Service serving out several point layers with 10k+ point features. Because of these high feature counts, I use a dynamic map service where a symbolized image is generated on the ...
2
votes
0answers
65 views

feature layers don't appear in the print result

salam, I have a problem when I print my map, when I display the result I find only one feauture of twenty. the result does't contain all features. I used esri/dijit/PrintTask verifier: function(){ ...
2
votes
0answers
83 views

Increase maximum zoom level for a WebTiledLayer in ArcGIS

I am using the WebTiledLayer from the Javascript ArcGIS API to render a custom WMTS source. The WMTS I am using has zoom levels going from 18 to 21, however I cannot zoom in further than what appears ...
2
votes
0answers
60 views

Export Web Map Task: Configure HTTP response headers

Is there any way to configure the http headers (response headers) of a geoprossessing task hosted by ArcGIS for Server? I would like to make the export web map task, return an image which would be ...
2
votes
0answers
59 views

Showing data in form view (instead of grid view) using ArcGIS API for JavaScript?

Can anyone suggest how to bind data with the help of query in a Form view of the ArcGIS API for JavaScript? I have done it in Grid view but as the requirement of a client is that I have to bind it to ...
2
votes
0answers
216 views

ArcGIS for Javascript : Locate Widget Activate Popup for Layers X > Z?

Using ArcGIS for Javascript I have a map with a City Council District feature layer. I would like for the user to enter their address in the 'Address Finder' / Locate Widget (that's what it's called ...
2
votes
0answers
361 views

Can I highlight a selected feature using the ArcGIS REST API only?

I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
2
votes
0answers
114 views

Cannot use published zonal stats geoprocessing service (Arcgis Java API)

I am primarily following this tutorial. Here is the signature for the service used in the sample. It is slightly different than the one I have had any success with, though if I recall correctly the ...
2
votes
0answers
77 views

Dissolve Statistics Fields and Statistic Type as Parameters in GeoProcessor

I have a published service which uses a dissolve. In arcMap the I get prompted for all the fields, including statistics fields and stat type. I have the statistics fields marked as parameters. ...
2
votes
0answers
531 views

Data visualization techniques for web maps using ESRI and open source suites

I want to represent statistical data over the web map and looking the examples/techniques to represent data on the web map (apart from Pie-chat, bar graph) with new tools like gauge widget etc. ...
2
votes
0answers
217 views

How to serve KML files from ArcGIS Server in AGS JSAPI 3.6

I have a javascript test page that adds a couple kml layers to a map and I can toggle them off and on. I seem to get info popups for free with KML. When I click on a point feature I get the data ...
2
votes
0answers
859 views

How to access ArcGISDynamicMapServiceLayer with credentials (token)

I know I simply need to append a token=XXX to the export query string but how, in code, do we initialize "esri/layers/ArcGISDynamicMapServiceLayer" to use credentials? In my case I only want to ...
2
votes
0answers
138 views

Jsonp Callback error

Recently we have started migrating application from Javascript API 3.1 to 3.5 and we are finding this jsonp error coming sometimes during adding the layer.When we add the layer we also zoom to the ...
2
votes
0answers
3k views

How to dynamically add all feature layers using ArcGIS JavaScript API?

I have a mapserver http:// mymapserver/services/rest/xxx/mapserver/ which contains 7 layers with /mapserver /1 /through mapserver/7 If a define an ArcGISDynamicMapServiceLayer and 7 ...
2
votes
0answers
407 views

ArcGIS in PhoneGap

I am trying to set up a PhoneGap application with an ArcGIS Map using a Windows Phone template in Visual Studio 2012. I have tried using an example from the ArcGIS Javascript API samples to ...
2
votes
0answers
302 views

Anyone have success with OpenLayers and ArcGISCache?

OPENLAYERS Has anyone had success using OpenLayers and the ArcGISCache layer beyond the examples? I'd like to mix tiles with different resolutions and although they seem to scale correctly they do ...
1
vote
0answers
9 views

Direction widget Arcgis JS Api not working correctly for my own network analyst service

I have been following example on this link: http://developers.arcgis.com/javascript/samples/widget_directions_basic/ for my own network analyst service. Though I have been getting correct routes ...
1
vote
0answers
22 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 ...
1
vote
0answers
23 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 ...
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
0answers
31 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
0answers
40 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
0answers
20 views

Using PrintTask a Map with Graphics symbols not solid

I have a Web map using JavaScript API. One of the layers is a Graphics Layer that I add graphics to. The line symbol style for these graphics I add is STYLE_SHORTDOT. When I have a graphics drawn ...
1
vote
0answers
34 views

ESRI JavaScript HeatmapRenderer class and Print widget

I’m working on an application using ESRI’s HeatMapRenderer class from the JavaScript API. The issue that I am running into is that the Print widget fails if the heat map renderer layer is on the map. ...
1
vote
0answers
107 views

ESRI JavaScript API Web Application and SQL Queries in ASP.NET?

My workflow (and security restrictions) for a new html/javascript based web application is making me think that I could program an ASP.NET application, inside which I load the 'map' and the 'legends' ...
1
vote
0answers
17 views

Narrow viewport => not showing map in browser?

I have a webapplication using the arcgis javascript API and it works great. Unfortunately I ran into a small peculiarity: If the viewport for the map is smaller than 930 pixels it refuses to load my ...
1
vote
0answers
66 views

How do I modify the WebAppBuilder "LayerList' widget to use radio buttons instead of checkboxes?

I've downloaded the developer version of the Web app builder and installed in on my machine. I can open up the widget '\LayerList\LayerListView.js', and I have been exploring the source code. I would ...
1
vote
0answers
36 views

Plot Multiple Series from Related Table in One Chart

I'm trying to figure out how to plot multiple line series/charts in one chart in a popup window from attributes in a related table using the Javascript API. It seems like the only way to create a ...
1
vote
0answers
24 views

Disabling TextSymbol Scaling on Zoom in/out (ESRI JavaScript API)

I am looking for a way to disable text scaling when a user zooms in/out on a map with a TextSymbol on it. It this possible?
1
vote
0answers
30 views

Is there a limit of the number of legend labels passed to ArcGIS server print service?

Is there any limit on the ArcGIS print service for the number of legend labels? I am using ArcGIS server 10.2 and ArcGIS Javascript version 3.10 and am able to print with legend labels (item ...
1
vote
0answers
40 views

How to print CJK characters in the title using ArcGIS javascript api?

I am trying to print Chinese characters title using ArcGIS javascript (3.10); however, the characters becomes a square block. I am able to see the characters in the JSON passed to the print task but ...
1
vote
0answers
40 views

graphics all change to same color when map zooms in or out

As the title states, I have a working "draw tool" where you can draw on the map using polygons, simple marker symbols, lines, and text. Whenever you draw any of these symbols on the map using ...
1
vote
0answers
38 views

404 Encountered Loading Legacy (v2.8) PrintTemplate in ArcGIS JS API

I'm very new to ArcGIS so forgive me if this is a rudimentary problem. I've created a simple page which implements the PrintWidget and PrintTemplate functionality Building this small example using ...
1
vote
0answers
61 views

Popup with related tables

I'm finding difficulties displaying values of a related table in a popup window. Esri said that at version 3.10 and above, popup templates can include fields from related tables using the syntax ...
1
vote
0answers
52 views

Attachment access using ESRI's dynamic services

I need to be able to display photo attachments in a tabbed popup window that ideally only contains a dynamic map service. I have a working demo running that uses a dynamic map to display the data and ...
1
vote
0answers
35 views

Run a locator task

I'm working with ArcGIS javascript api and I have a search function that finds a persons address by name and sorts it into a table inside a modal popup. It returns multiple people with the same name. ...
1
vote
0answers
149 views

Error on domReady callback: TypeError: b is null arcgis

I'm getting this error "Error on domReady callback: TypeError: b is null" when including arcgis javascript api to my project. <head runat="server"> <title></title> <script ...
1
vote
0answers
212 views

How to use ArcGIS API for Javascript print task to create a legend for dynamically rendered layer

I am using v 3.11 of the ArcGIS API for Javascript and executing the PrintTask to generate a printable pdf of a web map. The map has a couple of Dynamic Map Service Layers that are dynamically ...
1
vote
0answers
32 views

ArcGIS API for JavaScript Bookmark in separate Div

Using the ArcGIS API for JavaScript I need to create a number of different bookmarks and access them through the HTML in separate div tags. I created this JS Fiddle in attempt. I thought that if I ...
1
vote
0answers
99 views

Creating a buffer round a polyline

At the moment the code I use creates a buffer extending 1000km from each geometry creating square buffer zones over polygons, lines and points. How can I amend the code so that it creates a 'sausage' ...
1
vote
0answers
34 views

Mobile Safari and ArcGIS JavaScript API Errors

So in creating an application that uses the LaywerSwipe widget the application displays fine on iOS but I am unable to move the scope or slider. I get the following errors from init.js : It keeps ...