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

learn more… | top users | synonyms

5
votes
0answers
136 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
4
votes
0answers
3k 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
107 views

ArcGIS JSAPI - web workers CORS issue

In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file: url = ...
3
votes
0answers
120 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
362 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 ...
2
votes
0answers
39 views

Adding an 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 ...
2
votes
0answers
165 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
67 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
48 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
58 views

Toggle PopUp Functionality

Firstly: I've look through every example on Stack GIS.Stackexchange which might deal with my problem. Of course there was good input, but unfortunately I'm not able to fix it. Admittedly my Java ...
2
votes
0answers
220 views

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

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
131 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
109 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
2k 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
275 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
458 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
262 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 ...
2
votes
0answers
251 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 ...
2
votes
0answers
193 views

JSAPI: How to prevent GetImageUrl from being called twice?

I posted this on the ESRI forum a while back but got no response. PROBLEM: GetImageUrl is called twice resulting in two trips to the server if caching is off. QUESTION: How can this be prevented ...
2
votes
0answers
499 views

ArcGIS Javascript API - IE9 Quirks Mode

I'm having difficulty understanding why ArcGIS Javascript API isn't rendering SVG when running in IE9 quirks mode. When I visit the ESRI sample site at ...
1
vote
0answers
16 views

How to remove ArcGISTiledMapServiceLayer completely

I have a problem related to "ArcGISTiledMapServiceLayer". I have an ArcGISTiledMapServiceLayer map service, which I have added to Map object. This service work as BaseMap. Now I want to add another ...
1
vote
0answers
33 views

ArcGIS for Javascript Template available?

ESRI has a stack of templates in the ArcGIS Online section. But when you download them it turns out that in order to make them run, you have to first create a webmap via their WebMap Viewer ...
1
vote
0answers
43 views

Display 3 maps equally

How can I get a 33% equal split for 3 map panes - I keep getting the middle map being smaller than the left and right ones for some reason. Theres no header or footer - just 3 maps. If anyone can ...
1
vote
0answers
26 views

Change symbol size in legend for FeatureLayer (ArcGIS API for JavaScript)

I'm learning how to create web applications using the ArcGIS API for JavaScript. I have a map that is displaying both an ArcGISDynamicMapServiceLayer (which includes two layers) and a FeatureLayer. I ...
1
vote
0answers
22 views

How to offset/displace overlapping lines in a web map?

I have a dataset of points representing a To/From status - something like distribution centres and delivery addresses. When the user clicks on a point I'd like to show the relationships between this ...
1
vote
0answers
29 views

ArcGIS JavaScript API: onAnimate Error

I am trying to zoom to a point in ArcGIS JavaScript API (3.9). I am doing this one of two ways, I am either grabbing a point feature from ArcGIS Server (10.1), or I am grabbing the center of a polygon ...
1
vote
0answers
55 views

Show Geometric Network Topology data in the web

I am trying to locate any API's for JavaScript (or other) that will help me to display current linear Geometric Network Topology and add multiple point/line geometry from JSON in HTML/JS. I ...
1
vote
0answers
28 views

Trouble adding tabs in identity popup JS API

May 28 Edit I have edited my code a bit and have come up with a fix to the tab container, however I am now having troubles getting my attributes to show when I click on one of my service layers. ...
1
vote
0answers
19 views

Identify Toggle Layers with Attachments

I was looking at this fiddle http://jsfiddle.net/neWnE/1/ and trying to see get attachments to work. Since it uses the popuptemplate I should be able to add the showAttachments: true to it to get ...
1
vote
0answers
53 views

How to combine three data extraction functions into one button?

I am looking to simplify my code. As of right now I have some code that allows users to extract GIS data in three different ways: Extract by drawn extent Extract by extent of the a county Extract by ...
1
vote
0answers
13 views

Make InfoTemplate moveable but still highlight attributes

I’m using the esri/InfoTemplate in the Javascript API to identify features. However, it gets anchored to the mouse click and cannot be moved around. Based on this answer I used dojo/dnd/Moveable to ...
1
vote
0answers
53 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 ...
1
vote
0answers
257 views

esri ArcGIS javascript api compatibility with Internet Explorer 7 and 8

I've developed a web map using esri arcgis javascript api version 3.8 and its not compatible with IE 7 or 8. I've advised the people who have reported this to update their version of IE but, if it ...
1
vote
0answers
38 views

Automatically update the result of a QueryTask

I have developed a application using the ESRI JS API to allow users to create and edit features in a web map. I have used the QueryTask to create summary statistics to report back to the user on ...
1
vote
0answers
104 views

Dynamically set field information in popup template discussion (Automate the process)

I want to create a certain function to streamline some of my customization work. I work with a web app that's built using ArcGIS JavaScript API which contains a few layers. Each layer is configured ...
1
vote
0answers
51 views

How to display lines with Arrows on a FeatureLayer?

I've setup a feature service with a symbology. One symbol is a line with an arrow at the end. The description for such a symbol is not part of the FeatureServer response data. So it is not ...
1
vote
0answers
88 views

WMS in Google Chrome (ArcGIS API JavaScript) not working

I am doing a small web with WMS, but I have a problem with Google Chrome (and IE... but with this one I don't mind). Down of this lines there is two website: Galicia: This one contains WMS from ...
1
vote
0answers
136 views

Snapping in Esri javascript api does not work on mobile device

I have an Esri map loaded using the javascript api. I try to enable snapping, where a point should always snap to a given line. I have a snap point symbol that will trace the line to snap to when I ...
1
vote
0answers
45 views

using Map Service or Feature Service for Feature Layer

Both, Dynamic Map Services and Feature Services allow for querying data (through FeatureLayer) and bringing FeatureSets to the browser. Which of the above would yield better performance at querying ...
1
vote
0answers
86 views

How to set Content for ArcGIS Server Identity Manager signin dialog in JSAPI

I am trying to change the content for the signin dialog of Identity Manager and something seems to be off. I used dialog.set("content",newContent); Similar title method worked for title-but not for ...
1
vote
0answers
310 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
1
vote
0answers
98 views

Generate Map Tiles in Lambert Conformal Conic Projection

I have a question for you. I. I am trying to do the following: - Render map tiles for my given area in the Lambert Conic projection (EPSG:3347) for a select number of levels - Take the rendered ...
1
vote
0answers
111 views

How to pass OAuth token to fetch web map without passing userid?

I'm using the ArcGIS JavaScript API 3.7 for web map service. The web map is based on Oauth2 authentication. I use java code to fetch the token. Then I need to fetch the map in javascript by calling ...
1
vote
0answers
207 views

Feature Layer performance improvement

I have create a application where we show world map using arcgis .Here user does lot of interaction with map he click on the map or we highlight map programmatically so i want to improve performance ...
1
vote
0answers
122 views

Without Proxy page can't use IE8 and IE9 for Editing and Buffer

The server where my editing application is hosted does not allow a proxy page because of outgoing calls restriction. This makes it difficult for IE8 and IE9 since using CORS is not an option as there ...
1
vote
0answers
31 views

Using AttributeInspector to Create New Record

This is a follow up question to another questions I posted earlier: Adding Record to Related Table using JavaScript API Without repeating too much information from that previous question, I was able ...
1
vote
0answers
88 views

How to get TOC and Widgets (scalebar, overviewmap and basemapgallery) all working with ArcGIS JavaScript API?

Yesterday I spent many hours trying to get a scalebar, overviewmap and basemapgallery working in one webmap using nilu'S TOC. Unfortunately without success :( I have one version, where scalebar and ...
1
vote
0answers
315 views

How to get the feature set for geoprocessing service?

I am calling a geoprocessing service in a web app. The geoprocessing service has one parameter (a feature set). But I am not sure how to find the parameter in the javascript code to send it to the ...
1
vote
0answers
302 views

Does on click functionality work with a feature layer or map?

I have implemented a world map, onLoad of the page I query the feature layer and highlight some countries based on some criteria. I have to define onClick events for the highlighted countries. When ...
1
vote
0answers
32 views

ArcGIS Javascript - Editor API methods?

I was looking at the API for the ArcGIS Editor widget (esri.dijit.editing.Editor), and I couldn't find a list of methods that are on the widget. I've seen other examples online that call destroy(), ...