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

0
votes
0answers
12 views

how to get all types of layers added to a map? [duplicate]

I want to populate combo-box with all types of layers added to a map to perform a search on selected layer I tried this code. var lyr; var ddlLayers = dijit.byId("ddlLayers"); ...
1
vote
1answer
56 views

ArcGIS Javascript Measure Widget - Location tool shows repeating icons

I am using the measurement widget in my ArcGIS Javascript application, but am having issues with appearance of the Location Tool. Everything works the way it should but for some reason when using the ...
1
vote
2answers
101 views

python geoproseccing output parameter as feature layer on arcgis javascript api

How i can get result of this query in Arcgis Javascript Api?? or how i should publish the its services to work and send for me result?? i run this query and it works in ArcMap but when i publish it , ...
1
vote
1answer
479 views

Preventing webkitMovementX is deprecated error?

I am developing a webpage using JSAPI for ArcGIS server. I keep on getting this error on console : 'webkitMovementX' is deprecated. Please use 'movementX' instead what dose this error message ...
0
votes
0answers
20 views

Using direction widget without a geocoder

Is there any way to force the direction widget to not use the geocoder? I am trying to use the widget but when I choose a location it is automatically geocoded and sometimes it changes the location.I ...
1
vote
0answers
29 views

Adding multiple icons to a single csv layer

I am loading the NumberIcon1 image for every point added through the csv file, is it possible to loop through the images so that way they go in order like NumberIcon 2 for the second point in the csv ...
0
votes
0answers
306 views

Change Logo in Public Information Web App Template

Anyone know how to change the ESRI logo and replace it with a customized logo in the "Public Information" web application template provided by ESRI? Link the Public Information Template Configurable ...
0
votes
2answers
35 views

Dijit Horizontal slide bar issue

I'm trying to implement a Horizontal Slider using 'dijit/form/HorizontalSlider'. I successfully got the Slider working but the slider comes with a red color. How can i change the color to white or any ...
2
votes
0answers
77 views

Feature layers don't appear in print result?

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(){ ...
0
votes
2answers
305 views

Adding KML layers to ArcGIS JS API v4 (beta)?

I have been building a web application using ArcGIS JS API v4.0.Beta1. I am having difficulties finding out how to add KML layers to the scene. How do I add the KMLs? I have tried adding a new feature ...
1
vote
1answer
101 views

ArcGIS Javascript Print Text Symbol Color Change

I have an ArcGIS Javascript Map Application that uses the Print task to export the map to a PDF. I have given the users the ability to add graphics to the map, such as points or polygons, along with ...
0
votes
1answer
50 views

Dojo Promise/All Array Not Populating InfoTemplate in ArcGIS Javascript

Using dojo/promise/all I'm attempting to populate an infoTemplate with results from a queryTask which runs later in the script. Our app returns an XY value from a geocoded address search and queries ...
1
vote
0answers
38 views

window.open and adding multiple maps to DOM of new window

I have created an HTML template to open from my existing arcgis JavaScript application. The HTML template is to be populated with several maps and text based on a user selection of the main app. My ...
2
votes
1answer
73 views

Polyline geometry to graphic - SimpleLineSymbol is the only type not displaying on the map

I have modified the Measurement widget to keep a session based history of the measurements the user has made. When a user clicks on a history item, it should display the geometry associated with that ...
1
vote
1answer
53 views

JSON To Features tool does not obey symbology?

I am using the JSON to features tool in the ArcMap conversion toolbox and i cannot seem to get the symbology right. This JSON i am using is a GPFeatureRecordSetLayer which i have written to a .json ...
1
vote
3answers
353 views

Identifying Primary Key field of Layer in ArcGIS Server using ArcGIS API for JavaScript?

I need to get the primary key column of the Particular layer added in the Map. Usually 'FID' be found for a Shapefile Layer Source and OBJECTID found for a SDE source layer. Is there any way to ...
3
votes
1answer
239 views

How to create a time slider using arcgis javascript that only shows a year at a time?

I am looking at this example on how to create a time slider using the arcgis javascript api. Instead of showing the data cumulative from the start date. I want to just show the data for that ...
1
vote
1answer
54 views

Setting the map extent - spatial reference for wkid 27700

I want to set the extent of my basemap on application start but when I add the following code it doesn't seem to like it and renders a blank div? map = new Map("map", { logo: false, extent: ...
0
votes
0answers
27 views

Using checkboxes with cached layers

I have a checkbox that corresponds to certain layers (roads, city limits, etc.) and set up a cache hierarchy so that when the user zooms in and out, the symbology will change and labels will appear ...
0
votes
1answer
292 views

Mapquest directions API in ArcGIS javascript webmap application

I'm trying to build a webmap application using the ArcGIS JavaScript API. A functionality I would like to include is driving directions from a current GPS location to a feature in my feature service. ...
1
vote
1answer
17 views

applyEdits fails in ArcGIS JSAPI

I am using a feature layer in JSAPI, where I edit a feature by the standard selection, change attributes, applyEdits process. It seems that there is a bug in JSAPI both 3.12 and 3.14 which makes the ...
1
vote
0answers
27 views

Displaying SimpleMarkerSymbol in a button

I'm making a button that the user can click and it will bring up the symbol selection window. I'm trying to make it such that after the user has made a selection, the symbol that they select is also ...
1
vote
0answers
38 views

ArcGIS print service not showing images or text in layout template?

Steps using ArcGIS 10.2: with arcmap create a simple map. Edit it to include an image and a text. save said map in the templates folder close arcmap. reopen and create a new blank map using the ...
0
votes
1answer
19 views

Edit feature attribute in layer, which is made from a featureCollection ArcGIS JS

I know ArgGIS has a JS API to edit attributes of a layer when the layer is published as a feature service. But is there a way to edit attribute values if a layer is made from geoJSON as a ...
0
votes
0answers
36 views

map.infoWindow marker symbol does not show up in ArcGIS JSAPI 3.14

I switched my JSAPI version to 3.14 and now, when I have point features selected, the symbol does not show up. It works fine if I only switch back to 3.12. It also works fine for the line features. ...
1
vote
0answers
23 views

Combining ArcGIS API for JavaScript external files for faster performance?

I have a jQuery mobile application which runs 'ok' but I am looking at trying to speed up performance. I ran the 'Audit' tool against it in Chrome's Developer Tools and one of the recommendations is ...
2
votes
2answers
159 views

Browser-based user login (ESRI dojo Javascript 3.14)

I have a web application (several custom Javascript modules plus a single HTML page) hosted on our local server. This works fine when the services that the application consumes are shared to ...
1
vote
1answer
641 views

Add Point Symbol and Zoom to Address using Geocoder Widget

I'm following the tutorial here and it's not working: https://developers.arcgis.com/javascript/jstutorials/tutorial_geocoder.html Issue: I just want to add a point symbol and zoom in for the address ...
2
votes
2answers
211 views

Adding feature layer to ArcGIS Online from REST API?

I need to add a feature layer to ArcGIS Online account from code. i have created a developer account where if i want to create a feature layer i have to upload a CSV file and it makes the feature ...
0
votes
0answers
86 views

ArcGIS Javascript API Search Widget Issue

I am having an issue with the ArcGIS JS Search Widget not returning ANY address results. I have configured it to search through my feature layers which works perfectly. But when I simply try to ...
0
votes
1answer
50 views

How to use the mouse select multiple features on a web based map

Let me know if this question isn't detailed or specific enough. I have a map on a webpage. I have a series of tools on the webpage where I select just a single feature on the map and then perform an ...
0
votes
0answers
46 views

using arcgis jsapi version 3.2 - maps do not display in ie11 (chrome firefox work without error)

I am brand new to arcgis and the current html my company is using references http://serverapi.arcgisonline.com/jsapi/arcgis/?v=3.2 The site works perfectly in chrome, firefox and safari but nothing ...
2
votes
2answers
126 views

ESRI QueryLayer + Javascript API - map displays inconsistent results

We recently migrated one of our map services from FGDB to an SQL Server spatial db backend. We are noticing a problem now in that the map appears to display locations inconsistently. I created a ...
0
votes
0answers
32 views

Error executing tool. ExportWebMap Job ID: somethink"

I have followed this Url http://resources.arcgis.com/en/help/main/10.1/#/Printing_maps_that_contain_secured_services/0154000005q3000000/ and trying to Printing maps that contain secured services. I ...
0
votes
0answers
440 views

ESRI JS API PopupMobile - view attribute page directly

I am using the ESRI Javascript API to write a mobile web application. I have used the PopupMobile widget for viewing/editing attributes. This widget creates a popup on the map when a feature(s) is ...
0
votes
1answer
120 views

ArcGIS Feature Layer from Feature Collection using ArcGIS API for JavaScript?

I am trying to create a polygon feature layer from a feature collection using the ArcGIS API for Javascript. I have modified Esri's Flickr sample to use polygon geometries, rather than point ...
1
vote
2answers
30 views

How to hide Infowindow when using Arcgis Measurement widget?

I am using infotemplates in ArcGISDynamicMapServiceLayer to show the info popups on the map. But the problem arises when using Measurement tool the infowindow popups on every click on the map. Since ...
1
vote
0answers
382 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
2answers
87 views

Programmatically modifying ArcGIS Measurement object's units property

I am using ArcGIS's JS API for Measurement tool to measure and display Area, Distance, and Location points, but I cannot seem to be able to change the units programmatically. There's a method for ...
0
votes
1answer
56 views

Can ESRI JS API show PolyLine as Bezier curve?

Can ESRI JS API somehow show PolyLine as Bezier Curve? If yes, how to do it?
0
votes
1answer
41 views

Removing Layer on ArcGIS API For JavaScript>

I am adding a markers layer called layer1 like this to map function drawPoints(mapInfo) { layer1 = new esri.layers.GraphicsLayer(); for (var i = 0; i < mapInfo.length; i++) { var ...
1
vote
1answer
742 views

Polygon using ARCGIS API for javascript

I've polygon data as POLYGON ((1645481.0939999996 6124506.9885, 1645470.0473999996 6124473.5406, 1645475.7094 6124440.1391,1645481.0939999996 6124506.9885)) in wkid=2193 I want to project ...
0
votes
0answers
19 views

ArcGIS Edit Tool is not working in IE10

I need to move the feature using the Edit tool from esri javascript api 3.13 editLayer : function(layer) { alert("Use 'shift+Mouse Click' to Select the Feature"); this.layer = ...
0
votes
1answer
77 views

ArcGIS JavaScript Print task not working in Internet Explorer 10. error: access is denied

I have created a custom print task using my own custom templates and the Export Web Map tool in Server Tools of ArcGIS 10.2 to create a geoprocessing service similar to the print task made by Esri. ...
1
vote
1answer
79 views

Accessing secure ArcGIS Online map service from custom web mapping application?

I'm building a custom web mapping application for a client. The application will be hosted externally to ArcGIS Online, but the application is registered with AGOL. The application will access the ...
0
votes
0answers
19 views

Overwriting default applyEdits() method of ArcGIS API for JavaScript?

How to overwrite default applyEdits() method written in arcgis javascript api. and customize it . so that it checks for authorization and allows editing
1
vote
0answers
20 views

Geoprocessing in web worker

I would like to use a geoprocess using the esri js api from inside a web worker, can this be achieved? I didn't manage to pass the geoprocessor to the web worker because it seems that you can't pass ...
1
vote
0answers
94 views

Esri Javascript Point Clustering Map Size

I am using Esri Javascript API to display points on a map that are pulled from a json object. Everything is working great, although i seem to be having issues trying to figure out how to get the map ...
1
vote
0answers
27 views

ArcGIS javascript - update a queryTask result on extent change

I'd be grateful if someone could help me with the following query. I have an application that runs a queryTask on a map service layer and returns various feature results in a div when they click on a ...
0
votes
0answers
46 views

Heat Map From Point Array Instead of Map Service

ArcGIS API is illustrating a Heat Map sample at This Sandbox var serviceURL = "//services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/2012_CA_NHTSA/FeatureServer/0"; var ...