The ArcGIS API for JavaScript is a web mapping API from Esri.

learn more… | top users | synonyms

0
votes
0answers
8 views

Configurable Map Viewer (CMV) toogle parent nodes on child node click

I was wondering how to check parent groups and mapservices with click of the child node. In the "demo.cmv.io/viewer/"; viewer, I would like to turn on Group layer and the map service on the click of ...
1
vote
1answer
9 views

CMV Widget Toggle

In Configurable Map Viewer project, I'd like to be able to set the initial display of a widget to hidden and show it with a press of a button, for example, by clicking on a button in a toolbar. Take ...
0
votes
0answers
11 views

Setting a proxy for direction widget arcgis javascript widget [on hold]

I am trying to implement route direction for our organization. I have downloaded the direction widget sample and proxy from github. I have edited the proxy.config file with the server Urls, but it is ...
3
votes
2answers
88 views

Esri basemap render speed abnormally slow in Chrome

Summary of Issue: In my project, using the oceans basemap from Esri is very slow to render when zoomed in very close (for Chrome only). Topo is also slow at high zoom levels, but it is bearable in ...
0
votes
1answer
318 views

How to add Map Legend, Scale Bar and Select tool to an ArcGIS Server Service?

I have published a service from ArcMap to my Server Account but I can't figure out how to add the legend, scale bar and select tool to the service. According to the published service it was built ...
0
votes
1answer
106 views

Mapquest directions API in ArcGIS javascript webmap application

I'm trying to build a webmap application using the ArcGIS JavaScript API. A functionality I would like to include is driving directions from a current GPS location to a feature in my feature service. ...
2
votes
1answer
25 views

Create Chart from Query Task

I need to create a chart from the result of a query task using Esri JS API. Note, the chart does not have to be created with Esri API, but the query runs in that. The result is written to the DOM ...
1
vote
0answers
8 views

Attachment access using ESRI's dynamic services

I need to be able to display photo attachments in a tabbed popup window that ideally only contains a dynamic map service. I have a working demo running that uses a dynamic map to display the data and ...
0
votes
2answers
287 views

Update multiple features attributes in loop - JavaScript

I am trying to update multiple features in a feature layer through a loop. I have a feature layer that I would like to select and then assign someone to the features (through an attribute update. I ...
0
votes
1answer
92 views

Error code 500, error performing execute operation from Print task of ArcGIS API for JavaScript?

I'm trying to use print task to generate a PNG or PDF file of my web map but i always get an Error code 500, error performing execute operation. Any Ideas? I'm using ArcGIS API for JavaScript ...
3
votes
1answer
31 views

Creating WMS, which can be previewed via ArcGIS JavaScript Viewer, based on buffer model tool?

I am really new to arcgis, so i think you will find this to be an easy question. Arcgis docs are abundant, but however, after too much browsing, i cannot find a concrete answer. these are the ...
1
vote
1answer
24 views

Tabs in ESRI Popup

I am trying to get popup's working in my esri JS map and I have the tab's mostly working but I am missing a resize function to have the tab container sized properly on load. When I click a polygon and ...
3
votes
2answers
61 views

Adding video to ArcGIS API for JavaScript popup template?

I was wondering how do I add a video to be played in the popup template? I've looked at the documentation here: https://developers.arcgis.com/javascript/jssamples/widget_extendInfowindow.html and ...
1
vote
1answer
121 views

ESRI JS API : FeatureLayer : pure client side query?

so I've created this wrapper around feature layer where I create the empty feature layer as is in the API help page : new FeatureLayer(featureCollectionObject, options?) providing the first ...
0
votes
1answer
18 views

Web Map loading feature layer

I have requirement where i have to use web map . I have have lots of feature layers which will loaded conditionally hence in my json i have provided visibility as false for all layers then i have ...
1
vote
0answers
161 views

Without Proxy page can't use IE8 and IE9 for Editing and Buffer

The server where my editing application is hosted does not allow a proxy page because of outgoing calls restriction. This makes it difficult for IE8 and IE9 since using CORS is not an option as there ...
0
votes
1answer
409 views

Error executing tool.: Layer “layer1” Unable to connect to map server

I am using the Configurable Javascript Viewer, and have only changed a couple of the configuration settings. One change I made was to use my own Export Web Map Task. In viewer.js, I changed: ...
0
votes
1answer
19 views

add featureset in graphics layer without iterating

I have a geoprocessing service that returns a large amount of features (featureSet). I want to attach them in a graphics layer, but I dont wont to iterate over all them. I tried using the ...
6
votes
1answer
70 views

Mousewheel event being locked by map

I've got a tabbed UI on my web page, the last tab is an arcgis javascript map built with their API. The problem I'm having is that just adding the map and all of the esri / dojo libraries to the page ...
3
votes
1answer
152 views

ArcGIS JavaScript API: onAnimate Error

I am trying to zoom to a point in ArcGIS JavaScript API (3.9). I am doing this one of two ways, I am either grabbing a point feature from ArcGIS Server (10.1), or I am grabbing the center of a polygon ...
0
votes
1answer
127 views

Displaying Geodatabase Published Map On ArcGIS Server (JavaScript API)

I Google this a lot but unfortunately I didn't find any useful Tutorial for this.Can you please let me know how I can Put my published Geodatabase/ shapefile on the top of a ArcGIS JavaScript API map? ...
0
votes
1answer
28 views

Creating a buffer - ArcGis Javascript API

How can I create a buffer that is based on the shape of the geometry that has been drawn. My map application creates a default square buffer extent and I want to create a buffer round a circle based ...
1
vote
0answers
25 views

Run a locator task

I'm working with ArcGIS javascript api and I have a search function that finds a persons address by name and sorts it into a table inside a modal popup. It returns multiple people with the same name. ...
0
votes
0answers
9 views

Error on domReady callback: TypeError: b is null arcgis

I'm getting this error "Error on domReady callback: TypeError: b is null" when including arcgis javascript api to my project. <head runat="server"> <title></title> <script ...
0
votes
2answers
35 views

US Geological Survey Standard Projection?

Is there a standard or default projection on maps created by the US Geological Survey (USGS)?
1
vote
1answer
328 views

Fixed Zoom Extend For Overview Map on ArcGIS Server JavaScript API 3.8

Can some one please let me know if it is possible to have the Map Overview with Fixed extend and none zoom in or out functions? I know this was not possible on v.3 but how about v3.8? Thanks
0
votes
3answers
146 views

Measure Widget Issue - ArcGIS Javascript API 3.11

I am having an issue with the Measure Widget in my application after updating to 3.11. The widget does not appear after the application loads. I have checked my code and do not see an issue, also ...
2
votes
2answers
19 views

How to use infoWindow.setFixedAnchor

In the older versions of the ArcGIS JavaScript API, you could specify the position of the infoWindow using map.infoWindow.setFixedAnchor(esri.dijit.InfoWindow.ANCHOR_UPPERRIGHT); In version 3.11 this ...
1
vote
1answer
240 views

Is there a way to get the extent of a query and not each individual feature?

I'm using this solution to get the extent of a query. It brings every feature geometry back to the client where I then calculate the extent of all the individual geometries. Since these can be ...
0
votes
1answer
137 views

How do I make a picture marker symbol at a given latitude and longitude in ArcGIS for Javascript?

I have no idea how to use ArcGIS, so I spent about six hours trying to figure it out and got nothing. The only thing I have working is showing the map. ...
1
vote
1answer
58 views

Can I plot points on a map using JSON data from a Node.js API?

I am new to the arcGIS JavaScript API. I have a Node API that is providing geographical information in JSON. I have google'd for examples and searched for solutions on this web site. Can anyone ...
2
votes
3answers
1k views

ESRI proxy page not working properly + CORS + cross domain scripting

I have set up a proxy page. I am using jsp version of proxy page. I have set up a server URL which will point to my Java. When I load the my page which the proxy URL has set in its html it will work ...
0
votes
0answers
15 views

Individual Feature Class that jumps TO individual Feature in Webmap

I am using the WAB(3) (Web App Builder, Beta 3) doing development of ESRI-based maps using FeatureClasses stored in our own City Government REST Services. We currently have a program called ...
0
votes
0answers
12 views

Feature layer is not shown if it contains esriGeometryMultipoint Features

I have published a map service which contains Multipoints. As I can see, in my browser console, the features are brought in the front (js Api). The problem is that despite the fact that I get all the ...
5
votes
4answers
2k views

Is there a 3rd party ArcGIS viewer (builder) for Javascript?

Esri provides an ArcGIS Viewer for Flex as well as an ArcGIS Viewer for Silverlight. Strangely though, there are no plans for a similar viewer for Javascript. Are there any 3rd parties that have ...
3
votes
1answer
141 views

ArcGIS JSAPI - web workers CORS issue

In my JS web-application, I'm trying to store the tiles in my localstorage using web workers.I'm using the code from this Esri sample. I just deleted line 20 in the ioWorker.js file: url = ...
0
votes
1answer
337 views

Geoprocessing tool not executing when Map's SpatialReference is Web Mercartor

I am facing a strange issue when trying to execute GP service when my map's spatial-reference is Web Mercator. I appreciate all help. I have a JavaScript API application. Initially I only had my map ...
1
vote
1answer
583 views

ArcGis Server Java script API error code 500 while using proxy.ashx on one particular server

I am looking for help with using proxy.ashx in Javascript API on one particular server at a client site. We have a GP service that the proxy is used to access (when request is more than 2048 ...
1
vote
1answer
98 views

How to append result to Geocoder text box using ArcGIS JavaScript API?

I want to append result of a custom search in a Geocoder text box in ArcGIS JavaScript API by overriding the default result. I have written the below code for this, but I am not getting a ...
0
votes
0answers
243 views

adding a column containing buttons in dojo grid arcgis jsapi

I am using ArcGIS jsapi to develop a web application where I use a synchronous geoprocessing service that return a shapefile. I used the shapefile table to populate 2 dojo grids depending on the value ...
4
votes
2answers
1k views

How To Use Tiled Map Services with Different Spatial References in ArcGIS API for JavaScript?

I have the following code fragment in an esri page to try and change basemaps, the following code works, unless the next basemap layer uses a different spatialreference. if (baseMap) ...
2
votes
2answers
2k views

How to Hide InfoWindow/Popup when “no information available” or when buffering?

I have an app that does some buffering, only problem is when I click on the map to put in the point/line/polygon vertices to do the buffer, I get popups at every mouseclick. It doesn't interrupt the ...
2
votes
1answer
319 views

How to write addressToLocations onError?

How can I write a code for checking the error condition in Javascript (ArcGIS) for addressToLocations(params, callback?, errback?). if somebody entered an invalid address- how can I call error ...
0
votes
1answer
43 views

Is it possible to make a stackable label with the Esri LabelLayer

I'd like to add a line break, but the textstring is always taken literally. For example: labels.addFeatureLayer(states, statesLabelRenderer, "Line 1 \r\n Line 2"); is displayed on the map as: ...
1
vote
0answers
506 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
0
votes
2answers
238 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
0
votes
0answers
15 views

line chart similar to Esri Histogram Time Slider [duplicate]

I am looking for a solution similar to the one provided by the Esri DIGIT class "HistogramTimeSlider" but instead of a histogram, I would like to use a line chart. Anybody seen a suitable reference?
0
votes
1answer
128 views

arcgis javascript api featureLayer not available immediately upon show click event

I am adding a feature layer as such in my index.html file. featureLayer00 = new FeatureLayer("http://webadaptorserviceurl/MapServer/0",{ mode: FeatureLayer.MODE_ONDEMAND, id: "0", ...
-1
votes
1answer
296 views

TitlePane not rendering - working with basemapGallery sample code 2

I'm having the exact same issue as this question: TitlePane not rendering - working with basemapGallery sample code but the solution doesn't work for me. my javascript: ...
1
vote
0answers
40 views

Near Geoprocessing service

I created a simple model that includes a near geoprocessing tool with a point feature layer as an input and a line feature layer as a near feature and it works perfectly in desktop. Now I would like ...