Use this tag when ArcGIS API for JavaScript is the web mapping API that you are using from the ArcGIS platform.

learn more… | top users | synonyms (1)

0
votes
0answers
5 views

keep dijit menuitem open after select

I have a table of contents (TOC) with a legend that allows me to turn on/off layer in my map. I placed my the TOC in a dijit menubar across the top of my page. When I make a selection from the TOC to ...
0
votes
1answer
12 views

Paginate with FeatureTable widget?

I'm using the FeatureTable widget to add a table to map app that I built in the 3.17 JS API. As it's currently set up, the table loads more content as you scroll. My trouble is that my table has tens ...
2
votes
1answer
471 views

How to append result to Geocoder text box using ArcGIS JavaScript API?

I want to append result of a custom search in a Geocoder text box in ArcGIS JavaScript API by overriding the default result. I have written the below code for this, but I am not getting a ...
1
vote
1answer
380 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 think)...
1
vote
1answer
23 views

ESRI JS API - Get Data in Infowwindow when scrolling through multiple selected features

I would like to be able to grab attribute data from a popupwindow when its associated feature is clicked. When there is only one feature in the window this is no problem by accessing the features by: ...
0
votes
1answer
11 views

ArcGIS API for JavaScript: Draw a Tracker Line from GPS points

I have gps points which sent from tacker device I need to draw a link in openstreet map ArcGIS with Javascript, How can I do this. I can convert gps points to any format that needs to be (XML, JSON, ...
1
vote
1answer
746 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
1answer
215 views

Polyline graphics not displaying in Javascript API?

I am getting features (graphics) back from an IdentifyTask, setting a symbol and adding to a graphics layer. Polygons and points show up just fine, but not lines. Has anyone else encountered this? ...
0
votes
1answer
237 views

limiting circles to a specific radius

I am new to ArcGIS javascript api and I have created a map which allows users to draw circle geometries. I just want to limit the functionality so that the radius is specified at 10000km. This is ...
1
vote
1answer
480 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" href="http://js.arcgis.com/3.13/...
0
votes
0answers
42 views

Making Search Widget with custom map

I whant to make Search Widget with autocomplete. I have seen Search Widget Sample : and its making the job that i need from search field. Now my Question is how to implement my map!? [This is my ...
0
votes
1answer
10 views

ArcGIS javascript api application page shows blank page in Internet Explorer

I have a ASP.net application from where I send query parameters (using hyperlink) to a ArcGIS javascript application to show query result on map. Now the issue I am having is, when I first send the ...
0
votes
1answer
28 views

Button to turn off all layers in ToC at once?

I have created a map that has a Table of Content that i use to turn on and off desired layers. Is there a way to create a 'Clear' button that will untoggle the selected layers? I have a clear button ...
2
votes
1answer
573 views

Remove selected feature symbol

Background: I am dynamically populating a feature layer. On this feature layer I have set the symbol (as you can see) to a nice little .png image. Everything seems to work fine around the layer except ...
0
votes
1answer
134 views

Add REST map service to basemap

I have created a JSON file which includes 30 map service layers and their attributes. This includes the map service url. My function creates a table of contents from the JSON object so that when I ...
0
votes
1answer
20 views

ESRI JS API - Buffer FaetureLayer

I have a Feature Layer that I would like to buffer using user input and a geometry service. FeatureLayer: var texasPipeline = new FeatureLayer(pipeURL, { mode: FeatureLayer....
3
votes
1answer
570 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 esri.layers.FeatureLayer(...
0
votes
0answers
23 views

Reverse time slider - portal for ArcGIS

I am trying to change the time slider functionality in reverse using javascript API. The current functionality is in increasing order like 2000 to 2010, I want to change it from 2010 to 2000. Any ...
0
votes
0answers
17 views

How to add an InfoTemplate popup?

I have this Combobox code set up where it populated the different kind of tree according to its common name. all I want to do is add an info template that pops up when you click on the individual ...
1
vote
1answer
33 views

Intranet GIS app with JS web app builder?

Is there a work-around for building an intranet GIS app with ESRI JS web app builder (without sharing data to the public)? Does it mean that I have to create a web map in ArcGIS com or is there an ...
0
votes
0answers
14 views

Modifying a map object parameter for ArcGIS JavaScript API printTask?

I want to modify a map object for executing a printTask. In other words, I want to change the extent and operational layers included on the printed map. What is the best approach to do this? I have ...
0
votes
0answers
13 views

Tax Parcel Viewer Application Locator not functioning?

I'm attempting to deploy an Esri out of the box solution for a Tax Parcel Viewing application. My published services are working fine, caches built, can view, pan, and zoom etc. However, when I ...
0
votes
0answers
7 views

dojo/parser::parse() error TypeError: Cannot read property 'toString' of undefined

** error message may seem duplicate, but the source of error is probably different. I am trying to implement drawing on map using arc gis js api 3.16. The order of loading modules is ok as far i've ...
4
votes
1answer
1k 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
2answers
254 views

Basemap layer disappear on print. Only happens with max zoom

I am fairly new to arcgis, please bear with me here. ISSUE: I uses standard esri.dijit.Print for map printing. The base map displays normally in my map pane at all zoom levels. The printing ...
3
votes
3answers
5k views

Problems with ESRI JavaScript API

I'm having some problems to get started using the ESRI JavaSript API. I have a test map service published on my notebook but I can't get it to display. I don't have problems with esri hosted services, ...
1
vote
2answers
257 views

Is it possible to make a stackable label with the Esri LabelLayer

I'd like to add a line break, but the textstring is always taken literally. For example: labels.addFeatureLayer(states, statesLabelRenderer, "Line 1 \r\n Line 2"); is displayed on the map as: ...
1
vote
1answer
268 views

ArcGIS Javascript API FeatureLayer not available immediately upon show click event

I am adding a FeatureLayer in my application as follows: featureLayer00 = new FeatureLayer("http://webadaptorserviceurl/MapServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, id: "0", ...
4
votes
0answers
117 views

Error after successful ArcGIS PrintTask

Using ArcGIS Javsacript API on one server to grab a PDF from a custom print service published on a different server. We have used the exact same script successfully on other apps/servers before with ...
1
vote
1answer
500 views

Why do I have to reload the page, to show the Map correctly?

I added a map, in the way I'm supposed to, but why do I have to reload/refresh the page, to get the map (almost) as I want to? This is, what I mean: Map before reloading the page: Map after ...
1
vote
0answers
20 views

ESRI ARCGIS Flex - Javascript migration

We have a current architecture of FlexViewer and part ArcGIS Flex API based custom tool that's sitting on a IIS server to draw zones. ESRI is migrating to ESRI Javascript API and we have two options ...
0
votes
2answers
31 views

ArcGIS Javascript BasemapToggle requires double click on iOS Cordova

I am developing a Cordova application using the ArcGIS Javascript SDK. One minor annoyance I have run into that I can not quite figure out is why the BaseMapToggle & GeoLocate options require a ...
0
votes
1answer
634 views

Attribute Inspector for points - JavaScript API

I am attempting to get an application working where editors can click on a point feature and edit a form. I need the form to have a save button that when clicked will apply the edits to the feature. ...
0
votes
1answer
47 views

Drawing Queried Geometry using ArcGIS API for JavaScript?

I am new to all of coding and I have a rest point with all of my park polygons, what I want to do is be able to select a park name from a drop down menu and query out and display the single park ...
1
vote
1answer
14 views

Client side caching in ArcGIS JSAPI maps

Is it possible to cache a map layer or feature layer on client side (the browser) using ArcGIS JSAPI, if so, can someone provide a link to documentation and/or samples? If not, what other client ...
0
votes
2answers
833 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
0
votes
1answer
227 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
1answer
79 views

AttributeInspector is not showing up on 'click' event using ArcGIS API for JS?

I'm creating a application to select features on event 'click' and then using AttributeInspector to edit the attribute fields. I'm also creating draw tools to select features on event click and ...
0
votes
0answers
41 views

Selected Feature disappears when selected again

I am having problem editing line layer with editor widget If i click the selected feature for editing vertices the selected features disappears sometimes If i select the graphics and then select ...
1
vote
3answers
328 views

How to work on map created by using arcgisUtils.createMap

arcgisUtils.createMap(id,"map").then(function(response){ //update the app dom.byId("title").innerHTML = response.itemInfo.item.title; dom.byId("subtitle").innerHTML = ...
3
votes
1answer
177 views

Zoom hangs ArcGIS API for JavaScript application?

I'm using ESRI arcgis 3.13 I have map with minZoom set to 3. When user tries to zoom in to level 19, the program just hangs and after a while, comes back with a generic browser error not from the ...
2
votes
1answer
183 views

Toggle between custom basemaps (different projections/tile structures)

Wondering if it is possible to toggle between two basemaps with that have a different wkid and tile structure? I have tried with a basemap gallery and a basemap toggle with no luck. We have one ...
0
votes
1answer
215 views

How activate href link in ArcGIS API?

I have some problems with opening a link in ArcGIS API. I have my popup window where LAT, LONG and LINK are shown. function addPoint(evt) { var latitude = evt.mapPoint.getLatitude(); ...
1
vote
1answer
37 views

Trouble adding and populating field on the fly in ESRI feature layer

I'm trying to build a mashup consisting of a Census tiger web feature layer, and some JSON. I want to make a map of the feature layer, then add a new field to the layer, and populate from the JSON. ...
0
votes
2answers
233 views

CMV Viewer Floating Widgets

I asked this question on Gitter but I think it got lost pretty quickly. Does anyone have an example CMV site without the side bar or any indication whether it would be worth pursuing CMV if what I ...
1
vote
1answer
1k 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
1answer
284 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' ...
3
votes
1answer
393 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 ...
3
votes
2answers
336 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
2
votes
2answers
271 views

How to add an attribute value to info window as a link? (ArcGIS JavaScript API)

I am using ArcGIS API for JavaScript and I want to use a value from a feature class attribute as a hyperlink. For example, "template.setContent("Web Address: http://www.esri.com>${Web_Address}"); This ...