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
22 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
2answers
143 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
595 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 ...
1
vote
0answers
33 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 ...
1
vote
1answer
79 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 ...
2
votes
1answer
80 views

Should ArcGIS change the path of a gdb to the server data store when publishing a GP service?

I've published a GP service to ArcGIS server and it fails when I try to run it. The workspace is a file GDB on the local network, and the script contains a UNC path to it. There is a copy of the data ...
1
vote
0answers
60 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 ...
0
votes
0answers
30 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 ...
2
votes
1answer
92 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 ...
0
votes
1answer
42 views

Table of Contents(TOC) Widget for ArcGIS JavaScript API in Legacy?

I want to develop a legend using Table of Contents(TOC) Widget for ArcGIS JavaScript API in Legacy code. I have tried its development by following the steps in the documentation of TOC Widget for ...
1
vote
1answer
144 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 ...
1
vote
1answer
55 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
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
1answer
19 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
47 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
0answers
52 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. ...
0
votes
1answer
33 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 ...
1
vote
0answers
29 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 ...
1
vote
1answer
67 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
1answer
74 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
66 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 ...
0
votes
0answers
100 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
0answers
50 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 ...
2
votes
2answers
213 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 ...
0
votes
1answer
193 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 ...
0
votes
1answer
78 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 ...
1
vote
2answers
147 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 ...
2
votes
2answers
135 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
1answer
78 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
52 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
2answers
36 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 ...
0
votes
0answers
29 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
0answers
24 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
1answer
117 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
1answer
125 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
0answers
24 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 ...
0
votes
0answers
118 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
34 views

ArcGIS javascript - update a queryTask result on extent change

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 table of contents. However, I'd like it to automatically update ...
0
votes
0answers
55 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 ...
2
votes
1answer
56 views

How to Hide and Show ArcGIS API ClusterLayer on Demand

I followed This API Tutorial to create Cluster Points on the map. Now I would like to have a function to hide them. I already tried like? clusterLayer.hide(); but it didn't work! I also tried to ...
2
votes
1answer
84 views

Closing InfoTemplate Programmatically in ArcGIS API for JavaScript?

I am trying to hide a layer on the map like var point = new esri.geometry.Point(-106.61, 35.1107); point = esri.geometry.geographicToWebMercator(point); var symbol = new ...
0
votes
0answers
23 views

Issue on Point Graphic Order in ArcGIS API for JavaScript

I am trying to add a point to map like this var point = new esri.geometry.Point(19.82, 41.33); point = esri.geometry.geographicToWebMercator(point); var symbol = new ...
0
votes
0answers
33 views

How to create mobile attribute inspector?

I'm trying to convert a desktop Javascript app to a mobile app, one of the problems I have is that the attibute inspector is not adapting to the cmobile screen, because this widget is not designed for ...
0
votes
1answer
52 views

Custom Home Button In ArcGIS API for Javascript

Can you please take a look at This Demo and let me know how I can set up a custom home button var map; require(["esri/map", "esri/geometry/Point", "esri/symbols/SimpleMarkerSymbol", ...
0
votes
0answers
37 views

Which version of Chrome supports ArcGIS JavaScript API (version 1.6)?

I need to use google chrome to open a html file. The html file contains arcgis javascript api (version 1.6). Since the ArcGIS js api version is too old, some functions not supported by the latest ...
2
votes
1answer
120 views

Issue on Loading Required ClusterLayer.js With dojo

I have js file like this and I have saved the ClusterLayer.js in all directories like root --> ClusterLayer.js root --> extras/ClusterLayer.js root -->js/extras/ClusterLayer.js root ...
1
vote
1answer
66 views

Positioning Overview Map On ArcGIS API for Javascript

I am adding an overview Map to the main map by this way var overviewMap = new OverviewMap({ map: map, visible: true }); overviewMap.startup(); which the ...
0
votes
1answer
38 views

Javascript API: queryTask error - where should I put the alert?

Where in the code do I add an error message if nothing is returned? function execute() { // var queryTask = new ...
0
votes
1answer
90 views

Stop queued click event if another event is fired

I'm looking for a way to suppress a map click event if some other event has already happened. The application I have created has two primary functions: Click on marker (park points) --> Brings up ...
1
vote
2answers
132 views

CMV How to use growler

I am trying to use growler into a plugin, does anybody know how to set up a working growler or can point to some documentation?