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
votes
1answer
80 views

Python or Javascript focus (for self-directed study at university) [closed]

Next semester is my last at university. I have taken all 3 of the GIS courses offered in my program. Besides some very light interaction with Python though, their has been zero discussion of ...
1
vote
1answer
54 views

Unable to find all points in extent area using ArcGIS API for JavaScript?

I am trying to create a map where I can draw a selection area, and get info of all graphic pointers under it, I tried to modify ArcGis example but the problem now is that I can only able to select ...
2
votes
1answer
103 views

Detecting onClick event for clicking Printout button of ArcGIS API for JavaScript?

I am wondering if there is a way to detect when a user clicks the "Printout" link after using the print task in ArcGIS Javascript 3.14. I have set up many custom options in my mapping application ...
1
vote
1answer
83 views

Automating Pop up configuration of web app in ArcGIS for Portal?

I have been tasked to customize several hundred layers (pop up windows) in Portal for ArcGIS (web app). I was wondering if there is a faster way to accomplish this, instead of using the on client pop ...
0
votes
0answers
30 views

Activate click events on graphics outside of map

Using a JSON feed, I have plotted map points onto a basic map. I've set them up to center and display a popup when clicked. I would also like to activate the centering and popup by clicking on an ...
1
vote
0answers
18 views

ArcGIS Javascript Legend widget does not show full color ramp

Has anyone used the legend widget with raster map services? I have created a GP service that returns raster maps, but the legend is incomplete. The ArcGIS layer properties are shown here, and below ...
1
vote
1answer
50 views

Getting email addresses of pointers after selection with JSON or array and ArcGIS API for JavaScript?

I am trying to create a map where I can create a selection area, and get info of all graphic pointers under it, I tried to modify with following example, but they are using web service and queries, ...
3
votes
1answer
131 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 ...
1
vote
0answers
31 views

Querying attachment info from ArcGIS map service?

Like feature layers have the queryAttachmentInfos() method to fetch attachment info, is there something like this to fetch attachment info from a map service (ArcGISDynamicMapServiceLayer)? My app ...
1
vote
1answer
72 views

ArcGIS Javascript API using CMV - Tiled Map Service Popup

Using ArcGIS Online webmaps, you can enable a popup for a tiled map service by selecting a feature layer either currently in the map, or providing a url to the feature layer service. I believe then ...
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"); ...
0
votes
1answer
53 views

Access ArcGIS map created on localhost using JavaScript

I've created an ArcGIS map on my local ArcGIS map server using ArcMap desktop and I am able to open up the map from "View In: ArcGIS Online map viewer". When viewing the map, the url is something ...
0
votes
0answers
34 views

arcgis 10.2 javascript api proxy printtask error

when i invoke a printtask without the proxy, everything runs fine. But, when i use it, the invocation fails. It seems that the cause is that the proxy is appending a double quote to the end of the ...
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
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
475 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
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
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 ...
2
votes
1answer
58 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
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 ...
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 ...
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 ...
0
votes
1answer
34 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
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 ...
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
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
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
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
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. ...
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 ...
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 ...
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
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
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 ...
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
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 ...
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 ...
0
votes
1answer
119 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
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 ...
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 ...
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
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
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 ...
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
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
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
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
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 ...