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

learn more… | top users | synonyms

3
votes
1answer
179 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 = ...
1
vote
2answers
182 views

Adding field to ArcGIS Map Service without feature access?

I have published a mapservice without feature access on a remote machine only with a file geodatabase (shapefile on the disk). Because of limits of authority to create a spatial database(don't have ...
1
vote
2answers
109 views

Upgrading custom Java script tool (ver. 1.3 to 3.1 ) for ArcGIS Java Script API and getting error?

I have found useful tool here (All US States and counties on combo-box) its using Java script API 1.3 version. I have downloaded the tool and trying use but its gives an store error (using version ...
0
votes
1answer
148 views

ESRI ArcGIS JavaScript API - get client ip address

I have a need to direct to url a if the client is inside the local area network or url b if the client is outside the lan. Is it possible to determine a client ip address using plain old html and ...
0
votes
0answers
17 views

Adding UTM to dijit measurement location in JAVA API

2 coordinate systems are shown when using dijit measurement by default. is it possible to add UTM to the Dropdownlist ? Here is the code : var measurement = new Measurement({ map: map }, ...
0
votes
1answer
19 views

Configuring attachments for ArcGIS Local Government “Citizen Service Request” App

Has anybody configured the Citizen Service Request app that ESRI's Local Government has developed? I have it ready to go, but can't get the attachments to work properly, either pics or documents. I ...
0
votes
1answer
32 views

arcgis 10.2 how to order query results

is there a way to order the returned results of a query task? this: query.where = "COD > 0"; works fine, but this: query.where = "COD > 0 order by COD"; throws: dojo.io.script error ...
0
votes
2answers
247 views

Is it possible to show multiple infowindow?

I just started working with API Arcgis. I can not find a way to leave open the popup that I add with: mymap.infoWindow.setContent(); I wish that every click of a POI then opened his infoWindow. Is ...
2
votes
2answers
304 views

Create a web application with ArcGIS Server

I have a question about ArcGIS server: I want to make an application for users who can search for proper houses, like a house-finding engine, and I published my map to ArcGIS Server but how can I ...
1
vote
1answer
958 views

Displaying unique records in combo-box in ArcGIS API for JavaScript?

I am displaying almost 9000 records by four type (A,B,C & D) in which I am displaying records using combo-box. Each record is classified by "ctype" ( A or B or C or D) so I am putting this in ...
0
votes
1answer
2k views

Print and saving map with tiled and dynamic layers in ArcGIS using JavaScript?

I want to print this map. Can anyone please suggest to me how to print and save the displaying pap in ArcGIS using JavaScript? <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ...
2
votes
1answer
464 views

Error while placing labels within polygons using ArcGIS JS API and a external Geometry Service

I have published in my ArcGIS server a map service with a table containing the polygons of all countries on Earth. So this table contains more than 200 rows and the geometry field is of type type: ...
-1
votes
1answer
95 views

Upgrading ArcGIS JSAPI 2.x to 3.x & getting different errors

I have few data in which ArcGIS Java Script version 2.6 and 2.8 is used & I am upgrading it to ver.3.0/3.1 and getting different errors like (Store error,Map display is blank etc.) I searched on ...
2
votes
1answer
35 views

ArcGIS javascript api ignores proxy when getting basemaptiles

The ArcGIS-javascript is ignoring my proxy.ashx when getting the tiles for a basemap-layer. In my case this tiles will come from "HERE". For this I need authentication-informations (AppID & ...
1
vote
1answer
38 views

Change feature layer symbol of single polygon on mouse hover

My goal is to display a complete feature layer of ~400 features with a default symbology when the map loads and then replace the symbology of a single polygon in that feature layer on a mouse hover ...
0
votes
1answer
38 views

Incorrect time displaying in ArcGIS Javascipt popup template

I'm creating a web map that is updated a few times a day showing voltage readings from meters on our distribution network. This layer has a field called ReadTime, and the data type is Date. The date ...
3
votes
1answer
405 views

Difference between Identify task & Attribute Info in ArcGIS API for JavaScript?

I am confused about the difference between Identify task and attribute info task. According to research, both are displaying attribute information Interestingly if one point contains multiple ...
0
votes
3answers
912 views

Explode clusters of overlapping points in ArcGIS Javascript API

In my map application built on ESRI's javascript API there are a number of points that share a lat/long. I need a way to allow the user to see all of the points at a specific location by exploding ...
1
vote
0answers
27 views

How to add legend to Mosaic Dataset (ArcGIS Image Service Layer)

I have snow cover data of MODIS (46 images for an year) I put them in a mosaic dataset (with in a file geodatabase) and published them as an Image Service from ArcCatalog and added a time slider. I ...
0
votes
1answer
135 views

esri/dijit/Search multiple sources not updating drop down list

I am trying to reproduce the tutorial on one of my own layers Here I have put in one of my own layers <!DOCTYPE html> <html><link rel="stylesheet" ...
0
votes
1answer
39 views

Prevent Editor Widget auto save

I'm writing a feature layer editor demo and I'm using the esri.dijit.editing.Editor class. According to documentation (https://developers.arcgis.com/javascript/jsapi/editor-amd.html), both attribute ...
0
votes
1answer
45 views

How activate href link in ArcGIS API?

I have some problems with opening a link in ArcGIS API. I have my popup window where LAT, LONG and LINK are shown. function addPoint(evt) { var latitude = evt.mapPoint.getLatitude(); ...
4
votes
2answers
665 views

How to auto-add new values to unique values classification values range?

I am using ArcGIS Desktop 10.1, ArcGIS Server 10.1 & SQL Server 2008 software. I am adding the query layer and directly publishing to ArcGIS Server and accessing the map in a JavaScript ...
1
vote
1answer
56 views

How to add href to popup (infoWindow) in ArcGIS API?

I'm a newbie in programming. I'm trying to make a href link inside of arcGIS js infoWindow (popup). I don't know how to make this link work. The code that I'm trying is shown below. Could you please ...
0
votes
1answer
55 views

ArcGIS API for JavaScript QueryTask for user's own map

I am using ArcGIS online to create a web map and then I want to query this web map using ArcGIS API for JavaScript. In the tutorials I read I see var queryTask = new ...
0
votes
0answers
15 views

Autogenerate a token for ArcGIS 9.3 and 10.X

I'd like to autogenerate a token with, so my js/jquery-application can access the admin REST API. This is how far I have come: function sendTokenRequest(name) { var data = ...
0
votes
1answer
58 views

Plotting shapefile on map using ArcGIS API for JavaScript?

We are using dojo framework to develop our portal.We have bind the arcgis map in our web portal.Is there any arcgis JavaScript API which will accept the path of the shape file and plot that shape ...
1
vote
3answers
91 views

What are the low cost options for converting FLEX API based web mapping applications to any other platform?

As flex is reaching the end of its life, I have one project to convert Flex based web mapping application to any other possible solution with minimum development effort and secure way. I believe Dojo ...
-1
votes
1answer
26 views

ARCGIS Javascript query throwing error

Below are two screen shots, one for when I am querying on arcgis server and the other when I am querying the same server through javascript. For some reason, javascript querying is throwing error for ...
0
votes
1answer
42 views

Project Polygon using ArcGIS API for JavaScript

I recently did a javascript application that has since stopped working, well partially. The users enters an address, then they are presented various voting related information State Rep, State ...
0
votes
1answer
49 views

Plotting GeoJSON data on map using ArcGIS API for JavaScript?

We are developing the portal in which we are using Arcgis javascript APIs.The requirement in our project is one of the weather provider is going to publish the webservice which will return the weather ...
0
votes
1answer
49 views

How to highlight polygons around my geolocation?

I'm using the ArcGIS JavaScript API to create a map. I need to select/highlight polygons on my feature layers around my geolocation. I use in-build "LocateButton" function for geolocation. I looked ...
3
votes
2answers
687 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
0answers
44 views

Display the map based on geoserver as using arcgis javascript API WMS?

I'm developing mapping website, My map is based on geoserver and i need very good Javascript API, that has plenty of functions to develop my website such as direction route etc... So i decided to use ...
0
votes
0answers
33 views

ESRI JavaScript API: Feature layer from x,y events

I am trying to create a Feature Layer on the ESRI JavaScript client using the Map Service Feature layer that was created on the map document as an XY event theme (ArcMap -> File -> Add Data -> Add XY ...
1
vote
0answers
33 views

Add Save and Zoom To Button to Editable Feature Service? ArcGIS JavaScript API?

I am very new to ArcGIS JavaScript API. I am using the following code from the ESRI samples, and I wanted to see if anyone knew how to add a 'zoom to' and 'save' button to the Info Window. Any ...
0
votes
2answers
40 views

Where can I find ArcGIS/ESRI sample graphics?

I am looking for sample graphics/pictures that I can use in my program for pinpoints and other markers. Does ArcGIS/ESRI have any that are available to the public? I'm trying to use ...
1
vote
1answer
31 views

How can I get a list of map.graphics?

Is there any way I can get a list of all the graphics currently on the map? I was thinking that there would be something along the same lines as adding a graphic to a map such as ...
0
votes
2answers
62 views

CMV Secure Feature Service - Proxy

I m triying to add a secured feature service to CMV using a proxy page. My viewer.js file is the following: esriConfig.defaults.io.proxyUrl = 'myProxyURL'; esriConfig.defaults.io.alwaysUseProxy = ...
6
votes
1answer
154 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 ...
0
votes
3answers
285 views

Display Network analysis route service in India

I am working on ArcGIS JavaScript API, I need to display route from one point to another. Thats why I need any Network Route Service for India. Is there any?
0
votes
0answers
13 views

Snapping Manager Snapped Layer

ım using esri js api 3.12 I want to snap another layers and find snappedl layer's geometry. How can ı find.? var deferred = _root.map.snappingManager.getSnappingPoint(_root.map._map.extent); ...
0
votes
1answer
39 views

How to pass a line feature as a GPFeatureRecordSetLayer parameter to a geoprocessing service using the JSAPI?

Can some one tell me whats wrong here. The geoprocessing job always fails and i don't see much info in firebug to debug. This is my code to generate the feature set. var inputFeature = { ...
0
votes
1answer
39 views

Esri JavaScript API ApplyEdits update not working

When I attempt to applyEdits as an update to my application I receive the following errors: I uploaded my most recent revision on Github at: ...
0
votes
0answers
30 views

Printing (or exporting) Imagery from a Image Service using pre-defined map layout templates within an JavaScript based ArcGIS web app

Quick back story: I've been tasked with creating a simple web app that will display vector and imagery data for a surface mine site. This site would be used by office personnel who aren't well-versed ...
0
votes
0answers
8 views

Raster loading on arcgis javascript api on user request

In my project, i want to give the user the option to select the date of the raster he/she wants to display, then that raster would be loaded onto the basemap. I loaded daily raster (CREST hydrological ...
1
vote
0answers
107 views

How do I modify the WebAppBuilder "LayerList' widget to use radio buttons instead of checkboxes?

I've downloaded the developer version of the Web app builder and installed in on my machine. I can open up the widget '\LayerList\LayerListView.js', and I have been exploring the source code. I would ...
0
votes
0answers
10 views

Enabling Image Layer List (rather than RGB) when Consuming a Mosaic Dataset Image Service

I would like to be able to access a mosaic dataset image service and have the available images within it listed in the layers window, below the service label, rather than the Red, Green Blue that is ...
1
vote
1answer
175 views

Use Java to automate service creation and display up to date data on map?

Our team is using ArcGIS and our requirement is To create a web application in JAVA with a map displaying various data from DB. The data gets updated periodically in the DB and the map should ...
1
vote
0answers
31 views

Direction widget Arcgis JS Api not working correctly for my own network analyst service

I have been following example on this link: http://developers.arcgis.com/javascript/samples/widget_directions_basic/ for my own network analyst service. Though I have been getting correct routes ...