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

learn more… | top users | synonyms

0
votes
0answers
46 views

How to improve performance in ArcGIS Javascript API?

I created a webgis using ArcGIS Javascript API . I used dynamic map service layer with two layer in my map.I don't use 3D symbol and the symbology of layers are simple but when i run the project,I ...
1
vote
1answer
248 views

add marker to map from list of coordinates

Forgive me if this question has an incredibly obvious answer. I'm very new to ESRI and I'm trying to add markers to my map via gps coordinates. I have not found an example that does something this ...
1
vote
0answers
176 views

Feature Layer performance improvement

I have create a application where we show world map using arcgis .Here user does lot of interaction with map he click on the map or we highlight map programmatically so i want to improve performance ...
1
vote
1answer
133 views

How to open InfoTemplate programmatically?

Could somebody help me? How to open InfoTemplate programmatically??? Using of FeatureLayer.selectFeatures(...) not helps. Here is example: http://jsfiddle.net/gfV2K/ When I click on the map then ...
2
votes
2answers
95 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 ...
0
votes
0answers
203 views

Get XY coordinates in UTM from web-mercator where UTM zone is not known

How to get XY(northing/easting) coordinates in UTM where data is WGS_1984_Web_Mercator_Auxiliary_Sphere(WKID: 3857) coordinate system and UTM zone is unknown. For e.g. India falls under multiple UTM ...
0
votes
0answers
35 views

Arcgis Javascript code InfoWindow template

I am creating an InfoWindow in javascript code like following. var htmlForms = "<span>City ID: ${CITYID}</span>"+"</br>"; htmlForms += "City Name: ...
1
vote
0answers
21 views

How to hide infoWindow while using measure tool and showing it back after using it ArcGis JavaScript API [duplicate]

I have an infoWinfow set on the click event of the map. I want to disable this event when I'm using the measurement tool and then enable it back after the measurement tool is used. So far I've done ...
1
vote
0answers
81 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 ...
2
votes
1answer
51 views

How to flash a JSAPI map graphic only when contained in map extent [closed]

Using ESRI JSAPI 3.7 I'm flashing a graphic that works fine when the graphic is located within the bounds of the map extent (is visible). However, when you move the map so the graphic is located out ...
0
votes
1answer
53 views

esri map popup problem [closed]

My map works fine. Popup works fine. For some reason, the bottom of the popup window has some layout issues. I have all the resources included. script: dojo.require("esri.map"); ...
0
votes
1answer
65 views

Bottom half of javascript web map application missing

Having an issue where the bottom half of a javascript web application is missing. I have checked the ArcGIS map services and they are functioning properly. I'm not a JS developer and am not sure ...
0
votes
0answers
65 views

Arcgis custom spatialreference and geolocation problem

I have a tiled map service layer that has custom spatial reference. This is url of map. Spatial Reference: ...
1
vote
1answer
206 views

How to create working Hyperlinks in OnDemandGrid Cells

I'm creating a simple ArcGIS application that shows a table of data from a feature layer, one of which is a URL string. I'd like to make that string be a clickable hyperlink. Is this possible and if ...
0
votes
1answer
370 views

Get displaylevels/zoom level javascript API

Is there any way using JavaScript API to get the current "displayLevels" of the basemap or "basemap zoom level" or "basemap scale" of the map and if it was more/less than certain number I change the ...
0
votes
1answer
152 views

Change Map layers when zooming in (JavaScript API)

I have created a web map application (Javascript API) : require([ "esri/map", "esri/dijit/InfoWindowLite", "esri/InfoTemplate", "esri/layers/FeatureLayer", "dojo/dom-construct", ...
0
votes
2answers
123 views

How to set different map layers for different zoom levels using ArcGIS JavaScript API?

I have created a layer using "clip" tool in ArcMap. I have another layer in TOC too. whichis the same area in "clip" Layer with more polygons. In my web map application (javaScript API) Is there ...
0
votes
0answers
30 views

scalebar doesn't print properly in IE or FF

I have a ruler-style scalebar in my webapp, which uses the ArcGIS JS API version 3.1. When I send the map to print using window.print(), the scalebar renders as expected in Chrome, but in both IE and ...
2
votes
0answers
109 views

Can I highlight a selected feature using the ArcGIS REST API only?

I have a .Net web application with embedded maps, using the Arcgis javascript API. For non-interactive maps, I thought I would just make calls using c# to the REST endpoints. This works fine for ...
1
vote
1answer
62 views

Query Selected Records Only: Javascript API

For a web application I am working on, I currently have a feature layer with ID 0 (Street Lights) and feature layer with ID 1 (Maintenance Records Table). Multiple records in layer ID 1 are related to ...
2
votes
1answer
116 views

How to flash a graphic in JSAPI using AMD

With the code below I was hoping to flash the selected polyline, however no success. function flashResults(featureSet) { alert("flash"); //remove all graphics on the maps graphics layer ...
1
vote
1answer
70 views

How do I change the color of an ArcGISImageServiceLayer?

I have published an image service of a raster layer (.tif). When I use it online, it is grayscale. In ArcMap, I have the option to change the color of the display. How can I do this from the ...
2
votes
0answers
55 views

Cannot use published zonal stats geoprocessing service (Arcgis Java API)

I am primarily following this tutorial. Here is the signature for the service used in the sample. It is slightly different than the one I have had any success with, though if I recall correctly the ...
0
votes
0answers
65 views

ESRI reverse proxy setting

My application is running on https but my arcgis server is not running on https hence I configured revrse proxy on my webserver.Even though map loads but when I query the rest services the url I ...
0
votes
2answers
145 views

Moving ArcGIS JSAPI Basemap Gallery Widget down 10px when opened

How can I move the Basemap gallery 10px down from its original position when it's opened. The basemap gallery sample, I am referring can be found here: ...
1
vote
0answers
24 views

Implementing day night functionality [duplicate]

I want to implement day/night functionality on world map i.e there will be dark layer showing countires having night now. This world map could be creaeted through ESRI or SVG map.I want to ...
0
votes
1answer
132 views

ESRI Javascript API Geocoder VS Locator module

What's the difference between ESRI's Geocoder and Locator module in the javascript API? I know the Geocoder defaults to ESRI's geocoding service, or both modules can be set to a custom Address Locator ...
0
votes
1answer
89 views

Flash a graphic using JSAPI AMD style

This should be simple, but not sure why I'm not getting it. Does anyone have a stub for showing how to flash a graphic? I want to be able to call it from a button in the JSAPI UI. I am using the AMD, ...
0
votes
0answers
111 views

How to get initial datas after bind time Slider to map , ArcGIS JavaScript API

Like this example:https://developers.arcgis.com/en/jav..._layerDef.html , I have added my featureLayer to my map, and bind the timeSlider with the timeExtent = featureLayer's timeExtent. After bind ...
0
votes
0answers
34 views

One Layer in Two Maps with Esri JS API

Is it possible to put a single FeatureLayer in multiple maps in the same app with the Esri JS API? I have two maps that I want to contain the same layer and I want the maps both to honor and changes ...
2
votes
0answers
43 views

Dissolve Statistics Fields and Statistic Type as Parameters in GeoProcessor

I have a published service which uses a dissolve. In arcMap the I get prompted for all the fields, including statistics fields and stat type. I have the statistics fields marked as parameters. ...
0
votes
1answer
40 views

ArcGIS javascript api Rendering some parts of the Featurelayer?

Hi I'm confused how to render only some parts of a feature layer. Since all the given classbreak rendering samples are rendering the whole feature layer, is there any method to render only a few of ...
0
votes
1answer
45 views

Infowindow selection change

I am using infowindow to display the results of identifyTask that has two layers from my map service so it returns multiple features. The infowindow has more button in each feature it identifies so ...
0
votes
1answer
47 views

Add layer from a folder to Map using java script api

I know you can add layers to map through map service using javascript api. Can we directly add layers (placed in a folder on ftp) to the map using javascrip api. If so, can please explain it and ...
0
votes
0answers
39 views

How do you set the TimeZone for a feature layer in ArcGIS JavaScript?

The author of this question says: Esri recommends that databases are in UTC time. And if I’ve got this right, unless you set a time zone in your layer, you are entering a date in a date field ...
0
votes
0answers
72 views

Editing a stand-alone table in ArcGIS API for JavaScript

I am new to scripting and the API, and it would be good to have a clear idea of what to look into for this task. I am trying to let users add information to a table (but not edit that table in any ...
0
votes
0answers
266 views

How to add WMS Layer from openweathermap?

I've tried to add some WMS Layers to my webmap using ESRIs Java Script API. I'm very interested in using weather WMS layers and I've already found some usefull. If there is anything better free ...
2
votes
1answer
114 views

How to add a “loading” image is ESRI JSAPI AMD

Does anyone have an example of how to display a "loading" image in the new AMD environment of ESRI's JSAPI? Familiar with doing it in the past, just seems there's quite a lack of documentation. ...
2
votes
1answer
431 views

Help with getting the coordinates of a point updated using ESRI JS API Editor

I've been working with ESRI's javascript API for about a week and finding that somethings click while other things are still a mystery to me. I've already created a simple web map that loads an ...
5
votes
1answer
266 views

Redraw info window after centering map on click (ESRI Javascript API)

When I click on one of the features on my map the map gets re-centered using the following event handler: var pointClick = projects.on("click", function(e){ // Center map on selected feature ...
2
votes
1answer
51 views

Change SDE Version in ArcGIS JavaScipt API depending on connected user

I am programming for an web editing application with ArcGIS API for JavaScript. I've published a version of ArcSDE with Feature Acces and I need to know how can I change in the web application from ...
0
votes
1answer
92 views

How to Set a feature layer Editable? (without Editor widget)

I'm new to arcgis JS api, now I want to update the whole records in a specific field of the feature layer, but I don't want to use the Editor Widget, is it possible? How to set the layer editable? I ...
2
votes
0answers
51 views

Toggle PopUp Functionality

Firstly: I've look through every example on Stack GIS.Stackexchange which might deal with my problem. Of course there was good input, but unfortunately I'm not able to fix it. Admittedly my Java ...
2
votes
1answer
103 views

Print FeatureLayer labels in Esri JavaScript API 3.5 and earlier

I have a need to implement labels on features in a FeatureLayer in version 3.5 if Esri's Javascript API. The labels are from a field returned by a REST feature service. I can't move to 3.7 for various ...
4
votes
1answer
190 views

Why should I use the AMD style deceleration in ArcGIS JS API?

It seems to me like this: var point; require(['esri/geometry/Point'], function(Point) { point = new Point(); } does the same thing as: var point = new esri.geometry.Point(); Is there any ...
2
votes
1answer
71 views

How to handle URLs longer that 2048 chars in JSAPI v2.7 and ArcGIS 10.2

In ArcGIS Server 9.3 and JavaScript API v2.4 there was need to set proxy.config in ASP.NET in order to handle requests to REST map services having more than 2048 characters in the URL as parameters. ...
3
votes
1answer
69 views

Use a Tiledmap service as basemap instead of an Arcgis.com map in AMD style coding

How will I define a arcgisTiled map service as the base map (instead of “topo”) as against using arcgis.com map services while defining a new map in AMD style? map = new Map("map", { ...
0
votes
1answer
91 views

Change the extention of a map to show a query result

Does anyone know how to change the extent on the map in function of a query? in legende I have no problem using the function showResults (featureSet) {... but, can not get any display in AMD. Here ...
1
vote
2answers
87 views

How can I use arcgis server to help me find a street according to Latitude and longitude?

I am now in a project using a taxi GPS data(latitude and longitude ) to locate the road segment it is being on.I have the road map data. So, I wonder if I can use arcgis server to get the road segment ...
0
votes
0answers
70 views

No automatic refresh of map OR no working TOC

I have a problem using nliu's TOC Either I can use NLiu's TOC, but the map doesn't update when I zoom. I have to pan the to update the map. Also I can't see the lines for the editor and measurement ...