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

learn more… | top users | synonyms

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
474 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
41 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
49 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
41 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
429 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
968 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
28 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
53 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
55 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
676 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
69 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
59 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
17 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
66 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
106 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
27 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
46 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
58 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
61 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
718 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
64 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
36 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
41 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
41 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
32 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
80 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
157 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
295 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
19 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
42 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
46 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
122 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
14 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
177 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
34 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
36 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!!! ...
7
votes
4answers
2k views

Merging Popups with Relationship Queries using ArcGIS API for JavaScript?

I am trying to merge two ArcGIS JS API examples: Feature Layer with Popup and Query Related Records. The idea I have in mind is clicking on a country feature, retrieve all related records from a ...
1
vote
1answer
664 views

Identify Tool for JS API similar to the tool in ArcGIS Desktop?

As documented in my earlier questions, I am having trouble connecting multiple ArcGIS Server services to identifyTasks. Therefore, I'm wondering if there is a tool/process or if its possible to create ...
1
vote
2answers
915 views

How to install ArcGIS Code Assist in Aptana 3?

I have downloaded Aptana and ArcGIS Code Assist but I don't know how to "DRAG" the vsDOC into Aptana. Aptana 3 Installation Instructions Download the zip file that contains the VSDoc file for ...
3
votes
2answers
2k views

Export map to PDF using Esri JavaScript API

I've searched a lot and tried many ways to export a web map to PDF. I need to export a web map and all active layers. Can anyone help me?
-2
votes
2answers
339 views

Deleting feature from geographic database using ArcGIS API for JavaScript? [closed]

How do I delete a selected feature from database when it is clicked on in the ArcGIS API for javascript?
3
votes
3answers
452 views

How to ensure that only my application has access to ArcGIS Server services

I'm making a web map based on the ArcGIS Server JS API. How can I ensure that users must use my front-end to access the ArcGIS Server layers? That is, I want anyone visiting MyDomain.com/index.html ...
2
votes
1answer
107 views

Creating a Map with Spatial filtered layer on the fly

I created a web application with User accounts. based on the User type I need to filter certain point layer with a selected cities region. Ie , when user log in, his accessible cities (city ids are ...
0
votes
0answers
43 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
43 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
20 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 ...