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
vote
0answers
62 views

Getting Z component from point in ArcGIS API for JavaScript?

I am trying to get the z value from PointZ geometry from an ArcGIS map service, using the identify task. Setting returnGeometry=true only returns XY even though the Z value is there. I can see the z ...
0
votes
0answers
118 views

Plotting points with ArcGIS API for JavaScript

I have set some latitude & longitude values that I would like to show on my heated map using "Esri/geometry/Multipoint". I have specified some json data in a variable called mpJson that I would ...
1
vote
1answer
47 views

Snapping in ArcGIS API for JavaScript?

I want to add more than one layer to snapping in map var layerInfos = [ {layer:results[0].layer} ]; snappingManager.setLayerInfos(layerInfos);
0
votes
1answer
22 views

selectFeatures Javascript Removes Feature

Hi I've been messing around with linking up a dgrid to select a feature layer and then fire an info template. When it fires, it removes the selected point feature. Right now I have it set to when ...
0
votes
1answer
117 views

Cannot read property 'on' of undefined

while clicking on the button on.click event is not fired and getting error "Cannot read property 'on' of undefined",how to solve this issue. Simple Map html, body, #...
3
votes
1answer
53 views

ArcGIS Online - How to change underlying planet?

Background: I am a high school teacher with a brand-new ConnectED K-12 account from ESRI for ArcGIS Online and am trying to figure out the very basics to use this for planetary science. I have loaded ...
0
votes
0answers
42 views

toggle the same layer with a query, Layer Control widget swipe option

I want to alternate the same layer with a query to the geodatabase , if there is one line over another, to see the differences separating them with the swipe option, but I have no idea how to start , ...
0
votes
1answer
46 views

CMV Geocoder widget - adding a location symbol

Is there a geocoderOption to have a symbol dropped on the map for a location searched for with the CMV Geocoder widget?
0
votes
0answers
23 views

Creating Bar Chart in standalone div in arcgis Javascript app?

I want create an application in arcgis javascript in which a bar chart in a standalone div is placed on the map. I saw lot of examples its only showing chart in an info window.
3
votes
2answers
110 views

Why does local ArcGIS API for JavaScript over https trigger info request over http?

I got the esri js api 3.14 deployed on a server and an application that is reachable over https. Now I got a proxy script that delivers the map requests. When you look at the requests of the page ...
0
votes
0answers
72 views

ArcGis Feature layer does not display symbols consistently on web browers

I have a Feature layer that does not display symbols consistently. Symbols at certain locations are randomly not be visible. Zooming in-out will randomly show/hide a symbol at a particular location ...
0
votes
0answers
15 views

Heatmap renderer geoprocess result?

I have a geoprocess that returns a featureset of points. from this i create a feature collection and from the collection i create a feature layer. when i try to attach a heatmap renderer to the layer ...
0
votes
1answer
124 views

Uncaught TypeError: webMercatorUtils.webMercatorToGeographic is not a function

I have write the following code for displaying coordinates of a map.But coordinates are not displayed and getting error i.e "Uncaught TypeError: webMercatorUtils.webMercatorToGeographic is not a ...
0
votes
0answers
24 views

Default symbol in ClassBreaksRenderer (ArcGIS javascript api) is not working

I have a dynamic Layer created by joining LayerDataSource and QueryDatasource. Everything seems to be OK, it has correct attributes and values. But when I try to apply ClassBreaksRenderer the default ...
0
votes
2answers
77 views

uncaught type error:dom is undefined

when trying to find radiobutton id using dom.byId("id") getting the error dom is undefined. require([ "esri/map", "esri/layers/ArcGISDynamicMapServiceLayer", "esri/layers/ImageParameters",...
0
votes
0answers
15 views

How to add a table to printTemplate layout using ArcGIS JS API?

I have a table data from a .NET service, and would like to add that table to the map layout. How to add the table as part of my template?
2
votes
2answers
127 views

Using legend with dijit/form/DropDownButton in ArcGIS API for JavaScript?

I am very new to the ArcGIS API for Javascript and am by no means a programmer. Nonetheless, I have been fairly successful at finding existing code and modifying it to my needs. That is, until now. I ...
1
vote
1answer
94 views

Export legend element using arcpy.mapping

I'm working on an ArcGIS JS API web application that requires a heavily customized PDF report. When a user submits their desired extent to our reporting function, we need to convert their webmap to ...
1
vote
1answer
153 views

SVG for symbols in ArcGIS JavaScript API

I'm developing a web app based on ArcGIS for Javascript. My customer's problem requires using many different point symbols, some of them graphically quite complex. I use PictureMarkerSymbols to create ...
0
votes
1answer
56 views

CSVLayer: Unsupported query parameters

I have a CSVLayer with a number of features to display on top of my basemap. The layer is added to the basemap as follows: var map = new Map("map", {...}); var basemap = new ...
0
votes
0answers
44 views

Updating Popup window inside ClusterLayer on cluster refresh of ArcGIS API for JavaScript?

va content = '<div class="win" id="uPopup">' + '<img width=30 height=30 class="img-circle" src="UploadedFiles/' + p.ProfilePicFilename + '"></img>' + '<p class="win_name"&...
0
votes
0answers
26 views

Zooming to selected polyline draws with no vertices other than start and end points - ArcGIS Javascript API 3.14

I have a search data tool in my mapping application using ArcGIS Javascript API 3.14. The search data tool I created allows a user to search a pipeline by pipeline id like so: Once clicking the ...
2
votes
1answer
153 views

Not getting updated zoom level after extent is set? (ArcGIS JavaScript API)

There is a function in my map that works very nicely for zooming to a polygon (parcel) that has been selected: _zoomToParcel: function(parcel) { this.map.setExtent(parcel.geometry.getExtent()....
1
vote
1answer
101 views

Zoom out grayed out in ArcGIS API for JavaScript?

I'm using ArcGIS API for JavaScript 3.13 The zoom out slide button is grayed out, however it works when clicked. Does anybody know how to make it not grayed out? My map initialization code looks ...
0
votes
1answer
44 views

How to show 100K results of a complex query on map without using graphics

I need to show all 100K points on the map without using any sort of clustering. Since they are too much they cannot be shown using a graphics layer. since they are result of a very complex Oracle text ...
0
votes
0answers
20 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 ...
6
votes
2answers
249 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
406 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
62 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", "esri/...
0
votes
0answers
59 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
53 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
59 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
121 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
55 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
55 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
55 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
43 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
120 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
116 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
233 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
218 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
75 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
43 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
61 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
170 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
53 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
116 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"); dojo.connect(...
0
votes
1answer
87 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 like:...
0
votes
0answers
43 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 ...