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
19 views

esri.geometry.normalizeCentralMeridian error on calling gp.submitJob

I'm getting an error Error: esri.geometry.normalizeCentralMeridian: 'geometryService' argument is missing. when I call submitJob on my GP service. I'm not making a call to normalizeCentralMeridian ...
5
votes
1answer
216 views

ESRI Javascript FeatureLayer Select by Attributes

I am trying to select a group of features in an ESRI javascript API featureLayer by attribute. The call errors out. My code is as follows. Here is the layer definition: var fieldDefs = [{ ...
0
votes
1answer
362 views

jsbin require is not defined

Here is the simplest example of the web map using ArcGIS Javascript API in jsbin. I'm getting a Reference error: "require is not defined". Does anyone know why is this happening since require ...
0
votes
1answer
49 views

Not Able to Add a RasterLayer to ArcGIS API For JavaScript Map

Can you please take a look at This Demo and let me know why I am not able to add the Raster Layer Layer: fishing_effort.tif (ID: 53) into the Map? var map; require([ "esri/map", ...
0
votes
0answers
53 views

Using Advance Search function and Proxy in Configurable Map Viewer?

I am having a problem with the CMV and Advanced Search tool. When searching by selection, if I input a 200 mile buffer, the system crashes. I believe this is because the request is over the 2000 ...
1
vote
0answers
49 views

Use a dropdown menu to display various feature layers

I am trying to develop a dropdown menu that can display various feature layers, something similar to the following, except that I don't need the relocation function and when each option is selected, ...
1
vote
1answer
55 views

Arcgis JS API WMS Layer zoom without basemap

I have an OGC WMS resource which I am adding to a map without any basemap. To view this resource I have to zoom in, so I have decided to set a center point and zoom to this point. The problem is that ...
0
votes
1answer
106 views

select features within buffer arcgis javascript

I am trying to use the arcgis javascript to create a buffer select. when I try to add the script to select the features within the buffer, nothing works, but when I remove the selection part of the ...
0
votes
0answers
54 views

Adding/Removing Service Layer by Checkbox In ArcGIS API for JavaScript?

Can you please take a look at this code and let me know how I can add and remove some layers based on their index number in a Map Service? I tried this before but it is not working! Here is the HTML ...
2
votes
1answer
51 views

Story Map SpyGlass without ArcGIS Online?

I am looking to see if there is an implementation example of the Spy Glass widget without ArcGIS Online or Story Maps. I have found the LayerSwipe documentation and can implement that fine, but I ...
2
votes
2answers
51 views

Esri Distance Calculation

What is the difference of using esri/geometry/geometryEngine distance method and GeometryService length method? Which is faster and capable of calculating distance on Mouse Move event on client side ...
1
vote
0answers
39 views

Apply.Edit Function for Delete

i have problem with my json of delete feature form Applyedit Jason on the arcgis server Json. Here my code. delMaintData: function(){ console.log('Bri'); var maintTable = new ...
-1
votes
1answer
112 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
96 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
209 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
192 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
60 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
40 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
60 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
164 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
47 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
111 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
13 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
80 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
41 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
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
1answer
170 views

Python geoprocessing 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
604 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
96 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
83 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
67 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
99 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
44 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
167 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
58 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
28 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
20 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
48 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
61 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
41 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
31 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
70 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
80 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
73 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
105 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
61 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
226 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
221 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 ...