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

learn more… | top users | synonyms

4
votes
0answers
113 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
163 views

how to disable duplicate items in the legend for ArcGIS JavaScript API

I have a problem with duplicate items in the legend panel! Can anyone help me? This is my feature Layer with popup info: // Feature Layer var msFeatureLayer = new ...
3
votes
0answers
94 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
310 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
109 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
55 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
43 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
51 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
170 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
115 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
95 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. ...
2
votes
0answers
104 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
246 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
377 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
250 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
238 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
185 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 ...
1
vote
0answers
17 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
57 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
26 views

Customize ESRI Template Picker Widget

I am using the template picker from the ESRI JS API. As far as I see it, the look and feel of the picker, cannot be customized very much at all. The rows and columns can be controlled, and in the ...
1
vote
0answers
40 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
34 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
65 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
64 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
51 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
145 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
73 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
71 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
175 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
81 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
28 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
73 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
189 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
212 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(), ...
1
vote
0answers
67 views

Populate print template title text from a dojo textbox

I have a print widget that starts up great. It's based on the typical ArcGIS print widget sample. However, I want to tweak this a bit. There is a "titleText" property in the layout options that I ...
1
vote
0answers
76 views

Create Materialized View to Flatten ArcGIS JavaScript API Database

I'm doing a project using ArcGIS JavaScript API v3.5 hosted on ArcServer v10.1. While reading the question below, remember that I do not have control over the datasource and cannot just create a ...
1
vote
0answers
117 views

View attachments in popup when using the editor widget

I am using ArcGIS javascript API to construct an editor app for a layer. I am using the default out of the box editor widget to edit and display data for an app. The layers I am editing contain ...
1
vote
0answers
311 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 ...
1
vote
0answers
171 views

How can I display popup when graphic object is added in map using Arcgis Javascript

We have to display callout popup for each graphic object that are available on map. i.e if point is created on map, it should be associated with callout popup which will display information about that ...
1
vote
0answers
67 views

Changing kml marker in esri javascript api

I can load my kml file but I want to be able to define a marker for my points. I can't find anywhere in the api which allows me to define the marker. How can you define your own marker using a kml ...
1
vote
0answers
142 views

Unable to reorder after layers from multiple ArcGISDynamicMapServiceLayers

I used the ArcGIS Javascript layer reordering sample as template. Initially I have 4 layers added to the map by ArcGISDynamicMapServiceLayer where reordering was working. Then, instead of using add ...
1
vote
0answers
145 views

Point Within, Query in a buffer polygon in WMS like in ArcGIS ESRI

I need to do a query to filter the result inside a polygon or geometry, like this: http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/query_buffer.html But, i need to do this in a opengeo ...
1
vote
0answers
1k 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 ...
1
vote
0answers
181 views

Error: Objects in this class cannot be edited outside an edit session

I'm simply trying to modify the Default Editing Widget ESRI sample to show my extent and service and am noticing the following error in Firebug when trying to add a point: ...
1
vote
0answers
108 views

MemoryLeak - http://help.arcgis.com/en/webapi/javascript/arcgis/samples/fl_any_projection/index.html

Attention ESRI - Loading http://help.arcgis.com/en/webapi/javascript/arcgis/samples/fl_any_projection/index.html inside of sIEve shows a significant amount of memory loss each time the page loads ...
1
vote
0answers
272 views

ESRI JavaScript API - Multiple KML Layers - Internal KML Parser Error

I am building a webmap with the ESRI Javascript API. I am trying to add several KML layers, as well as a Legend Toggle and am repeatedly getting "Internal KML Parser Error" and only some of my layers ...
1
vote
0answers
362 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
1
vote
0answers
98 views

setLayerDefinitions without defining layers?

I am working on a similar project to How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?, trying to filter the graphics on my map based on the user input into a ...