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

learn more… | top users | synonyms

0
votes
2answers
15 views

CMV Viewer Floating Widgets

I asked this question on Gitter but I think it got lost pretty quickly. Does anyone have an example CMV site without the side bar or any indication whether it would be worth pursuing CMV if what I ...
0
votes
2answers
35 views

Defining custom basemap toggle in ArcGIS API for JavaScript?

I'm using arcgis js spi for 3.13 edition, when I using basemaptoggle widget from https://developers.arcgis.com/javascript/jssamples/widget_basemap.html is ok, but when defining my own basemap is ...
1
vote
1answer
15 views

Zooming to ArcGIS JavaScript API graphic feature, but not to full extent?

I feel there must be an easy solution for this because I can't be the only one who's had this need before. I have a Python based geoprocessing service that gets called in my web app. The web app ...
1
vote
1answer
13 views

How to add a polygon in Google Earth on a Website

As it is said in the title i have to add a polygon in Google Earth which is integrated in a website. I managed to integrate Google Earth in the Website, so i can view the world but i can not use any ...
0
votes
0answers
42 views

Popup content with deferred object in ArcGIS Javascript

I am trying to display attribute infos and attachment in popup window. It can be quite good handled by code selected as correct answer here (https://geonet.esri.com/thread/159806). Basically you ...
1
vote
0answers
17 views

How to use ArcGis JS API Directions with embedded coordinates

I want to use ArcGis Javascript API for directions with the users current loaction as the start location, and a predetermined location as the stop destination. All the examples I can find use a widget ...
0
votes
0answers
5 views

Map click working on Apple Ipad, Iphone but not working on Android Chrome

I had a web application using ArcGIS javascript API 3.3 Few months before the zoom buttons +/- stopped working I am trying to update it to 3.14 API However now the buttons are working great but the ...
1
vote
1answer
10 views

g.renderer is null. And sometimes is not

I have an TypeError: g.renderer is null while I'm loading my map application. The worst is that problem sometimes happens, sometimes not. require([ 'dojo/parser', 'dijit/layout/ContentPane', ...
0
votes
1answer
19 views

How can i highlight a point using arcgis api for javascript?

How can i highlight a point using arcgis api for javascript? When i use the function of centerAndZoom ,I also want to highlight this point,how can i do?
0
votes
1answer
16 views

Trying to update field in a feature Without “attInspector” …Using ArcGis JavScript api

I cannot find any changes in the field. Please help me out. I am attaching my code: for (var i = 0; i < features.length; i++) { feature = features[i]; feature.attributes["X"] = Value; ...
0
votes
0answers
21 views

Adding KML layers to ArcGIS JS API v4 (beta)?

I have been building a web application using ArcGIS JS API v4.0.Beta1. I am having difficulties finding out how to add KML layers to the scene. How do I add the KMLs? I have tried adding a new feature ...
3
votes
1answer
61 views

ArcGIS JavaScript API won't recognize ArcGIS online material that isn't shared publicly

I am trying to add KML Layers to the ArcGIS JS API. I have the KML layers hosted on the ArcGIS Online server. This data that I am working with contains some sensitive information and I am trying to ...
0
votes
0answers
15 views

WMTS layer at every scale using ArcGIS API for JavaScript?

I want to display wmts layer (in KVP mode) in every scales using arcgis_js_api 3.4. When I create wmts layer and set MapWidget.scale to one that isn't in the wmts capabilities level description, ...
0
votes
2answers
29 views

3D equivalent to ArcGIS API?

I am currently working on a 3D mapping project. And I have created some KML files from ArcGIS Online, and I have edited them in Google Earth to adjust the 3D attributes. I am also designing a webpage ...
2
votes
1answer
36 views

Esri Javascript API Graphics Removal

Hey Guys new to ESRI and the javascript api. I have the following function that when you click on the map adds a circle graphic to the map at that locations geographic lat and Long. But what im tyring ...
0
votes
1answer
28 views

Add REST map service to basemap

I have created a JSON file which includes 30 map service layers and their attributes. This includes the map service url. My function creates a table of contents from the JSON object so that when I ...
-1
votes
0answers
28 views

Is there any Tool which can be used to automate ArcGIS web based application? [duplicate]

We have a web applications created using ArcGIS JS API. It is supposed to be automated, but I have no clue about how to do this. Can anyone please help me out. Ex: Clicking on the feature(s) and ...
0
votes
0answers
17 views

How to get a map service with multiple legends loaded? [duplicate]

This is based on browser crashes when loading legends at startup which is currently unanswered. I'm trying to get legends loaded from a feature service that contains multiple legends within the same ...
0
votes
0answers
16 views

How to create an if else condition with ArcGIS Javascript API for slider and imageLayers from switch statement

The code below is the switch statement that I am currently using. I can't seem to get the values (case) to match up with the horizontal slider I am using (4 unique values-each layer). I was thinking ...
1
vote
0answers
46 views

Change HTML markup used it PopupTemplate in ArcGIS (javascript api)

everyone. I'm sorry if it is common question but I'd googled it for a couple days and still haven't find the answer. Everything I see in documentation is style an exist HTML layout, which looks like: ...
1
vote
1answer
38 views

ArcGIS API for Javascript nd BING tiles

I'm using the "esri.virtualearth.VETiledLayer" in my map application as a basemap successfull,y but am restricted to 18 levels of detail. BING's resultion is higher than this, but the ESRI widget ...
0
votes
0answers
19 views

“ERROR 000800: The value is not a member of” when calling GPservice with javascript API

I've published a GP tool with a string choice list input but when I try and call it, I get error 000800. Request URL: ...
0
votes
0answers
15 views

Can I create charts that are NOT in an InfoWindow or Popup?

I want to create a bar chart of some query results that I'm using in my ArcGIS Webpage. However, all of the examples that I can find only put the charts in an InfoWindow or Popup. I need the chart to ...
0
votes
0answers
13 views

Esri Map ArcGISDynamicMapServiceLayer click infobox

I am developing on esri map. I need to add ArcGISDynamicMapServiceLayer layer on the map. How can I get feature from ArcGISDynamicMapServiceLayer layer, and apply click for each layers. Currently I ...
0
votes
1answer
17 views

Arcgis featureset to kml client side

I want to convert a js feature set retrieved from a geoprocessing service to a kml client side, and perhaps also to a csv (i have the object from the JS API). Is there any way do this? To clarify: ...
0
votes
0answers
13 views

How to enable navigation tools when the dialog is appeared on map?

I created a simple webgis with Navigation tools.The navigation tools is located in a dialog. the problem is when the dialog appeared on map, i couldn't interact with map and the background of dialog ...
0
votes
1answer
39 views

ArcGIS Javascript Api centerAt

Trying to center the map at a certain coordinates but map only centers at 0,0 instead. Coordinates are in decimal degrees. Code below. function foo(data) { var lon = data.address.longitude; ...
1
vote
1answer
51 views

How to change cursor of navigation tools in ArcGIS javascript api?

I want to change the cursor symbol for navigation toolbar(zoom in- zoom out- pan ...). i search and found the question about change cursor symbol but i could not use the code. I dopn't know why its ...
0
votes
1answer
17 views

PrintTask with proxy does not add the correct contet-type header: application/x-www-form-urlencoded

I am using a proxy which I have made on my own so as to perform the map export tasks. I have noticed that GET/POST requests use the content-type header: application/x-www-form-urlencoded. However ...
0
votes
0answers
37 views

Having a basemap, tiled map and a dynamic map together

I have a basemap and a dynamic map which works perfectly together. But i have to add a tiled map too. But if i add the basemap first tiled map wont show up. I want to remove and add the Tiled layer ...
0
votes
1answer
40 views

Arcgis javascript - Set different symbol for each graphic in feature layer

I have a feature layer that contains 12 items with the same defined style. But I want to change each item to have a unique symbol when rendered. var Layer = new FeatureLayer("http://...my map ...
0
votes
0answers
38 views

ArcGIS Web AppBuilder View Query Results in AttributeTable

I'm building a couple of custom widgets for use on a Web AppBuilder app that do some queries against feature layers. I get back a feature set, which I can convert to a local feature layer. What I'd ...
0
votes
0answers
32 views

Publishing an interactive map made with ArcMap when I don't have access to ArcGIS Online

I apologize if this question is a silly or vague -- I am fairly new to ArcGIS and still grappling with how to articulate what exactly I don't understand. I have created an interactive map in ArcMap ...
0
votes
3answers
36 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
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
30 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 ...
0
votes
1answer
19 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
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
1answer
37 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
33 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
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 ...
1
vote
1answer
37 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
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(); ...
0
votes
1answer
38 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
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
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
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
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 ...
0
votes
1answer
48 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 ...