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
1answer
33 views

Timing external javascript with ArcGIS Online embedded map

I have an ArcGIS Online time-enabled map on a webpage. When the map loads, the time slider begins moving. I would like to have a chart that moves along with the time slider, but I don't think ESRI has ...
0
votes
1answer
28 views

Loading Scene from ID into ArcGIS JavaScript API 4 Beta: “SyntaxError: Unexpected token ILLEGAL”

I have created a city engine web scene,and I am trying to display the 3d-visualisation view on sceneview by using the portal Item Id of my webscene. But I am getting "SyntaxError: Unexpected token ...
0
votes
0answers
30 views

Error: Unable to complete operation

While clicking on map,getting the error "Unable to complete operation".How to solve this please suggest me. Simple Map html, body, #map { height: 100%; ...
0
votes
0answers
58 views

JavaScript API Local Install not working

I have installed the JavaScript API locally to use in a developer environment with no internet connection. The issue I am encountering is when I attempt to view the sample service hosted by ArcServer ...
0
votes
1answer
42 views

Receiving dojo.io.script error Error: Invalid URL?

I am trying to get a buffer circle on my map,when I click on map. I tried with the following code, but I got error: dojo.io.script error Error: Invalid URL How can I avoid this error? ...
0
votes
1answer
28 views

Selected Feature not highlighted in map of CMV (Configurable Map viewer)

I have copied the whole code of Find widget and added it into another widget. First widget is working fine and highlighting the feature(creating feature from geometry), second widget is also working ...
4
votes
1answer
31 views

How to handle two onclick events that not both are fired?

I make a web application with ArcGIS API for Javascript (version 3.15) to access a geoprocessing service. The service is executed on an onclick event by the user, because the clicked position is used ...
1
vote
1answer
49 views

ArcGIS API - Creating Popups for Geoprocessing Result

With the ArcGIS API for Javascript I created a web application that accesses my before published geoprocessing service. The result of the service are a set of points and are displayed on the map. Here ...
0
votes
1answer
26 views

ArcGIS network analyst JavaScript API “No Facility found” error

I am using below code for ArcGIS SERVER Network Analyst API: ArcGIS JavaScript API for Network Analyst I need to customize it for my own NA server. I have successfully created an NA-SERVER on ArcGIS ...
2
votes
2answers
70 views

Basemap layer disappear on print. Only happens with max zoom

I am fairly new to arcgis, please bear with me here. ISSUE: I uses standard esri.dijit.Print for map printing. The base map displays normally in my map pane at all zoom levels. The printing ...
1
vote
1answer
35 views

Histogram Time Slider in Legacy Style ESRI JavaScript API

I tried to modify the sample code Histogram Time Slider ArcGIS API for JavaScript from AMD to Legacy style. However, I found the histogram was not shown in the bottom in the application (link listed ...
2
votes
3answers
71 views

Configuring ArcGIS Online Map Template

I'm creating a configured template to host to ArcGIS Online. I started from the Finder app, and configured simple things like the color scheme. My only problem is that the Share button isn't ...
0
votes
1answer
37 views

Get JSON WebMap from ArcGIS JavaScript API Map object [duplicate]

I'm trying to get a WebMap object (as JSON) from a JavaScript Map object in the ArcGIS JavaScript API. Is there any way to do this within the API, without using ArcGIS.com? Ideally something like: ...
2
votes
0answers
90 views

dojo/request a png image array buffer using NodeJS, and return the image to the client

I am attempting to request a png image using NodeJS and dojo/request from an ArcGIS Server REST feed, and return the image to the client. I need nodeJS to add a token to the request as a query ...
3
votes
2answers
58 views

Retrieving geoprocessing results in ArcGIS JavaScript API

I'm executing a geoprocessing script in an ArcGIS JavaScript API map viewer, and it works until I attempt to read the job's output parameter. My script: function extractModel(results) { var ...
0
votes
1answer
39 views

Different colors in the same layer

I have an app that is consuming ArcGIS REST Services through the ArcGIS JavaScript API (10.2 or 10.3). One of the available layers contains several Polylines. These lines belong to different groups, ...
1
vote
1answer
57 views

Add a canvas on the map that can pan and zoom along with it

I want to know if it's possible to add a canvas on a ArcGIS map that can pan and zoom along with it. The reason I ask that it's because we have different workflows where we have a lot of entities ...
0
votes
1answer
37 views

Retrieving User Input using ArcGIS API for JavaScript?

I am using the ArcGIS API for JavaScript to build a web application. Within the web app a geoprocessing service is executed which requires an input that is user dependent. I thought of a text box ...
0
votes
0answers
5 views

CartographicLineSymbol with caption

I can draw CartographicLineSymbol (lines) over the map. Now I have so many lines there, so I would like to add captions to the lines using. Is it possible? How?
1
vote
1answer
22 views

getSymbol of FeatureLayer

I'm working with the arcgis javascript API on a webmap. I have a feature layer on some server which I'm consuming in my webmap and now I want to get the different symbols/icons of that layer one by ...
1
vote
1answer
34 views

How to make the map auto fit the available div area in full view. Is auto-repeat possible to fill white gaps

I need to show the entire world, but my map is very small at the zoom level 0 and 1. As a result it leaves white gaps and looks ugly. Is there any way to tell the map to auto-fill the white area with ...
0
votes
1answer
58 views

Esri API JS, popup not displaying after first click [duplicate]

Demographics data shows upon first click but not after, park information does work. I've changed around almost everything with non real solution. I feel like for whatever reason my feature server data ...
1
vote
0answers
54 views

ArcGIS API for JavaScript census info popup and parks popup one map?

I have two operational ArcGIS API for JavaScript maps that I want to combine to have two different popups. I am trying to figure out a way to add the number of parks to the census popup that would ...
1
vote
0answers
22 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
70 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 ...
0
votes
1answer
36 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
17 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
30 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, ...
0
votes
0answers
22 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
27 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
16 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
62 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
42 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
9 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
56 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
12 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
43 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", ...
0
votes
0answers
13 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?
0
votes
0answers
31 views

HTML <meta tag viewport “content=” >, why is maximum-scale=1.0 used in when user-scalable=no is also used?

so the example i saw in the tutorial im following in this book Mastering ArcGIS Server Development with JavaScript uses the following in the view port . My question is if maximum-scale=1 prevents ...
2
votes
2answers
61 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
57 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
51 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
35 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
26 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 ...
0
votes
0answers
24 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
67 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) { ...
1
vote
1answer
61 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
41 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 ...
0
votes
0answers
10 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
106 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 = [{ ...