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

learn more… | top users | synonyms

0
votes
0answers
8 views

ArcGIS Javascript API - carrying out multiple query tasks

I have carried out a QueryTask on a map service that returns a polygon when I input a postcode. Within the same service there is an additional layer that allows the user to query a local authority ...
0
votes
0answers
10 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
16 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
0answers
15 views

(How) can I render the features of a DynamicMapServiceLayer?

I have a webmap that displays the contents of a dynamic map service. For performance reasons I'm currently using FeatureLayers for the individual sublayers (they are all point layers with relatively ...
-3
votes
0answers
44 views

ArcGIS Interview Questions? [closed]

Can anyone provide ArcGIS Server, ArcGIS Javascript API, & ArcGIS Desktop interview questions?
0
votes
1answer
16 views

Buttons wont work when I copy the Content of the TOC dynamically into dojo FloatingPane and back

We work with a combination of dojo Vers 1.10 and ArgGis Javascript APi 3.11. We were asked if it ist possible to copy the TOC Layerlist into a seperate dojo FloatingPane by rightclicking into the ...
0
votes
1answer
25 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
1answer
34 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 ...
2
votes
1answer
28 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
0answers
17 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 ...
1
vote
1answer
23 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
34 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(); ...
0
votes
1answer
18 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 ...
1
vote
1answer
44 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
0answers
14 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
50 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
1answer
45 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 ...
0
votes
1answer
40 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
0answers
25 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
31 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 ...
0
votes
1answer
37 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 ...
1
vote
0answers
20 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
36 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
26 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
0answers
11 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
31 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 = { ...
-1
votes
1answer
24 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
26 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
7 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 ...
0
votes
0answers
7 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
0answers
24 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 ...
0
votes
0answers
20 views

Adding .CSV file

When I add my file to ArcGis SandBox it shows the data from CSV file to Layer . But when I try to Add it through ArcGis API For JavaScript it doesn't work.I'm working on localhost. Help!!! ...
0
votes
0answers
35 views

Customizing timeslider labels using ArcGIS API for JavaScript?

i'm use javascript ArcGIS map with timeslider, and now have problem with timeslider labels - with large number of timestops labels are overlaps Show only part of labels is not solution - timestops ...
0
votes
0answers
26 views

Set destination address using Esri Directions

I am using the sample on the Esri JS API and would like to set the destination of the directions to always be my address; any idea how to do that? The code to do this is: <!DOCTYPE html> ...
0
votes
0answers
17 views

How do I remove HorizontalSlider dynamically?

I am using ArcGIS API for JavaScript and am creating Horizontal Sliders for opacity of maps dynamically. However, when I select a different map and create a new slider, it doesn't get rid of the old ...
0
votes
0answers
23 views

Problem with popups and points in a graphic layer

I have a graphic layer with two points on a graphic layer, zoomed out such that they overlap. I have a Popup as the info window for the map with paging controls enabled. My expectation is that when ...
0
votes
0answers
17 views

SVG image color to be changed by CSS when using ArcGIS API for JavaScript?

I have a image "a.svg" (let's say). I want to change the fill attribute of this svg symbol using CSS. I use this image in a picturemarkersymbol to display a graphic on the map. Is it possible to ...
0
votes
1answer
49 views

Can't close custom Web AppBuilder widget programmatically

I am creating a custom widget in ArcGIS Web AppBuilder. This page shows how you can use the WidgetManager to close a widget programmatically, saving the user from having to click the X button ...
0
votes
0answers
37 views

Adding shapefile from local drive to WebApp using ArcGIS API for JavaScript?

I want to add a shapefile of certain data to my WebPortal (which is currently running on Localhost) how can I do it? I'm using ArcGIS API for JavaScript.
1
vote
1answer
70 views

Should I use Basemaps or Layers to overlay two maps?

I'm trying to create a map that essentially has two maps on top of each other (chosen from many map choices) at the same time. One of maps will have an opacity slider. Should I be trying to use two ...
2
votes
1answer
29 views

Remove 'zoom to' tool in pop up feature information ArcGIS API for JS, or define the number of clicks i.e. defined scale

How can I remove at all 'zoom to' tool in the pop up attribute information? Or how can I define the scale (number of clicks) in case if the 'zoom to' can not be removed. I have particular layers ...
0
votes
3answers
72 views

Create non-GIS Front End to ESRI Server Web Map

I have a webmap that I have created using the ESRI ArcGIS Javascript API / Web App Builder. It manages City projects. The departments that manage this data would like a web-interface to manage the ...
1
vote
3answers
76 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 ...
0
votes
0answers
11 views

Identify task to multiple tiled layers

I have a map consisted of many tiled layers that show points. How can i perform an identify task to the visible tiled layer. Be aware it is tiled layers not dynamic. Any suugestions?
0
votes
0answers
37 views

Esri Basemap switch between dynamic and tiled layers

Here's the scenario: Using the Esri JS API 3.13 and ArcGIS server, we have a cached tile layer that has display levels from 0 to 14. We have a dynamic map service layer that is enabled for all ...
0
votes
0answers
30 views

How to create custom traffic Layer

Please, tell me, how to create custom traffic layer into RouteTask? I need to get directions between two points, using data about traffic (road traffic). At this stage, draw a route between two ...
0
votes
0answers
39 views

Navigation zoom in / zoom out not working in ArcGIS API for JavaScript?

is it just me or the zoom in and zoom out customized buttons [The ones at the top with the icons that read "Zoom in" and "Zoom out"]do not work? ...
0
votes
1answer
94 views

Create a polygon from an array of coordinates in arcgis javascript api

Well I am building a GIS web app using ArcGIS Javascript API , I want to create a user interface in which the user provides an array of coordinates and I have to get those coordinates and create a ...
0
votes
2answers
46 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 = ...