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)

1
vote
1answer
214 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
476 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
41 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
8 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
25 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
571 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
133 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
18 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
569 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
18 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
14 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
30 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
13 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
6 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
249 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
115 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
496 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
19 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
629 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
831 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
226 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
40 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
325 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
182 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
214 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
21 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: ...
1
vote
1answer
34 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
230 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
283 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
390 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
268 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 ...
2
votes
1answer
458 views

Set definition expression from click event

I'm trying to set a definition expression according to a user-selected value from a drop down menu, but I can't get the map to update the feature layers according to the expression. The user is able ...
0
votes
1answer
495 views

Plotting GeoJSON data on map using ArcGIS API for JavaScript?

We are developing the portal in which we are using Arcgis javascript APIs.The requirement in our project is one of the weather provider is going to publish the webservice which will return the weather ...
1
vote
0answers
27 views

TOC with secure services

I have secured map services with AGS. I also have the proxy.config, proxy.ashx, and web.config in my application. My map layers display OK using the proxy. When I try to display my legend using the ...
1
vote
1answer
26 views

Embed a map or OverviewMap in an InfoWindow/Popup

Our page has a main map area with sidebar widgets that trigger different functionality. The widget I'm working with at the moment is going to be annotating points on the map with details including ...
1
vote
1answer
29 views

Converting a Map Scale

I need some guidance. I'm using an ESRI Base Map with Web Mercator projection(Wkid - 102110) in an web application using JavaScript. I'm trying to display the Map Scale as range on the map. I got the ...
0
votes
1answer
2k views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...