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

learn more… | top users | synonyms

0
votes
0answers
142 views

FeatureLayer infowindow position appears on wrong location

When I click the feature layer, info window popup is appearing wrong position. I use dojo dijit like this toolkit. <div id="main" data-dojo-type="dijit/layout/BorderContainer" ...
0
votes
2answers
73 views

database using arcgis [closed]

i want to know, can arcgis software do the database such as oracle or ms access?? for example, create own database and form?? and can the database in arcgis read the programmer program such as from ...
0
votes
1answer
101 views

Accessing the esri js api over ssl

I changed the url i was using to fetch the esri js api to https://js.arcgis.com/3.7 and i can see in Fiddler that the call to that url is going out as ssl. But the file it pulls down (init.js) must be ...
0
votes
1answer
51 views

How do I change my title of app?

We have a map with streets as basemap. We have been trying unsuccessfully, for the last two days to change the basemap to tiled layer with no success at all. I am posting a snippet because script is ...
0
votes
1answer
281 views

Adding OGC complaint WMS Aerial Images as Base Maps using arcgis javascript api

I have an WMS layer which is a cross domain resource and I wanted to embed those layers as basemap in my application using JavaScript api rather than using built in ArcGIS Basemaps. WMS Layer is ...
1
vote
1answer
95 views

Is it possible to provide proxy.ashx for the other domain?

Usually, we use proxy.ashx for the same domain by this code. (working well.) esri.config.defaults.io.proxyUrl = "proxy.ashx"; esri.config.defaults.io.alwaysUseProxy = true; If the other domain ...
0
votes
1answer
67 views

Call Identify Click Function on Dropdown Change

I am a web programmer with no GIS experience and I am working with a GIS specialist with no web service experience. I am using the JavaScript API 3.7 but I am not very familiar with the API. I have ...
1
vote
1answer
76 views

ArcGIS JSAPI Toggle Identify (AMD style)

I am trying to convert the Toggle Identify example to AMD style. However, I am stuck with an empty map. Debugging in Firebug doesn't help too much. Could anyone help me to find where I am wrong? The ...
0
votes
0answers
100 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
1k 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
237 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 ...
2
votes
1answer
526 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
213 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
417 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
80 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
22 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
146 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
83 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
74 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
72 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 ...
1
vote
1answer
946 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 ...
1
vote
1answer
986 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
305 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
403 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 ...
2
votes
0answers
252 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
81 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
419 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
197 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
89 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
2answers
402 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
340 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
200 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, ...
2
votes
0answers
61 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
52 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
137 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
63 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 ...
2
votes
1answer
264 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
1k 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
734 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
104 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
224 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
1answer
80 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
277 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
240 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
96 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
108 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
665 views

How to zoom to the extent of 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
129 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 ...
1
vote
0answers
34 views

Using AttributeInspector to Create New Record

This is a follow up question to another questions I posted earlier: Adding Record to Related Table using JavaScript API Without repeating too much information from that previous question, I was able ...