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

learn more… | top users | synonyms

4
votes
2answers
3k views

Hiding infoWindow of ArcGIS API for JavaScript while using measure tool?

In my Javascript API Web application I'm using the infoWindow to query a parcel layer and display display information in a popup when I click the parcel. I've set this functionality to turn on and off ...
0
votes
0answers
233 views

How to add GeoTagged images to the map and store as KML

I have the requirement that i need to add a GeoTagged Image into the map and save that image in KML format. Give the approach to do this task.
4
votes
1answer
2k views

Tiled map service base layer does not display properly in ESRI Javascript map

I am adding a map to a website built in asp.net and Javascript. When I add the esri.Map using a tiled map service layer base map, the map overlaps the map div and what I assume are tiles show up out ...
2
votes
1answer
401 views

ArcGis Javascript api detect one second hover

For reference I am using arcgis_js_v33 api. I am trying to figure out a good way to detect if a user has hovered over the map for at least one second and if they have to pop up the info box ...
2
votes
1answer
461 views

UTM NAD 1927 to DMS

I have requirement to convert UTM NAD 1927 Northing (4804172), Esting(753352) to Geographic coordinatesystem(Degrees Minutes, Seconds). Iam doing like below m_mapPoint[0] = new ...
5
votes
2answers
1k views

Moveable ArcGIS Identify Popup Window (Dojo)

I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example: var popupOptions = { fillSymbol: new ...
2
votes
1answer
140 views

Why is there no Map.SnapToLevels property in the ESRI JS API?

The ESRI Silverlight and WPF API's both have a Map.SnapToLevels property that can be set on or off. It "gets or sets whether zooming will snap to scale levels if the map contains cached layers". But ...
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 ...
-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?
2
votes
1answer
287 views

What is the difference between the compact build and standard build of the ArcGIS JavaScript API?

I am creating a JSAPI application using version 3.2/3.3 and have recently gone through the page detailing the difference between the compact build and standard build. Right now, I am confused about ...
8
votes
3answers
2k views

ArcGIS Server 10.1 - Inconsistent Querying Errors

I have recently upgraded to ArcGIS Server 10.1 SP1. Since making the switch, I am getting a lot of inconsistent errors, specifically performing queries against a map service's REST API with the ...
1
vote
1answer
573 views

Responsive design via an iframe for ArcGIS Java Script API 3.2

Currently I am working on ArcGIS JSAPI ver 3.0/3.2 . I have created few maps in .html files then my IT admin putting this file in i-frame (at our custom site) I am not using i-frame in my .html ...
1
vote
1answer
2k views

sorted ItemFileReadStore list not pushed to dropdown menu // Dojo, ArcGIS

this may be more a Dojo question than ArcGIS, but I am not sure if the Javascript API is related to this issue. I am trying to alphabetically sort a Dojo store and show these items in a dropdown ...
2
votes
1answer
966 views

ESRI JS API 3.3- setExtent, when called twice, same code, different behavior, jumps

Our map has a toolbar 'home' button with code that grabs extent values from a config file, creates an Extent object from those values, and passes the Extent object to the map's setExtent function. We ...
1
vote
1answer
667 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 ...
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 ...
0
votes
1answer
5k views

How to convert AutoCAD file to Shapefile for map from ArcGIS API 3.2 for JavaScript?

I have an AutoCAD file that I want to convert to Shapfile to appear in a map by API for JavaScript in .net. What do I do?
2
votes
1answer
2k views

How can I add an onmouseover tooltip pop-up to a PictureMarkerSymbol in JavaScript API?

When the mouse pointer hovers over a PictureMarkerSymbol, I need a tooltip to pop-up, then disappear onmouseout. If that's not possible, then how might I have the marker's esri.symbol.TextSymbol ...
3
votes
1answer
888 views

Dynamic Map Service with Zoom Slider in arcgis by API for javascript

I have ArcGISDynamicMapServiceLayer and I want to show Zoom Slider by API 3.2 for javascript
1
vote
1answer
2k views

How to Install the ArcGIS JavaScript 3.2 API library on an IIS Web Server? [closed]

I would like to deploy Server API for JavaScript 3.2 in my server to use it in my asp.net project instead of connect to server What are the steps to be followed in deploying it to a local ...
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
1answer
731 views

ArcGIS API Javascript - FeatureLayer from json: problem with queries and popup

Hello everybody I've tried this code proposed by Derek Swingley in JSFIDDLE: JSFIDDLE-FeatureLayer from JSON Everything "seems" to work fine, but not always. If you go down to the closer scale (level ...
1
vote
1answer
2k views

How to setup proxy and use “POST” method when executing Geoprocessing Service in ArcGIS Server Javascript API

I am passing five featuresets to a ArcGIS Server Javascript API. When I do that I get 'Deferred Object not defined error'. Then I tried to use dojo.Deferred(). At that point the error goes away. But ...
4
votes
1answer
1k views

ArcGIS JS API: Convert ESRI Date Type into String

I am following this ESRI tutorial to display information from a related table for the selected features. The example in itself for my project works fine, however, my data include two Date fields and ...
2
votes
1answer
80 views

Method to find “if map data is available or not”

I am using Arcgis javascript api 3.2. I use the mapservice, https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer. I realized that map data is not available when the ...
3
votes
1answer
581 views

How to control the rendering priority/order of feature layers?

I am displaying polygon, line and point feature layers on a button click event and adding layers in order based on their geometry type, e.g.: polygon -> line -> point. In certain cases layers are ...
2
votes
1answer
587 views

Is there a Swipe tool for ArcGIS JavaScript API?

I was researching the ESRI JavaScript API, and was wondering if there is a sample which shows layer swiping in the browser. Is there such a Swipe sample?
1
vote
2answers
3k views

Is it possible to display 3-D maps in ArcGIS Java Script API?

We are going to create 3D maps in ArcGIS Desktop with the help of 3d analyst extension and then I want to integrate those maps with ArcGIS Java Script API 3.2/3.3 (after publishing maps on server ...
1
vote
3answers
267 views

Identifying Primary Key field of Layer in ArcGIS Server using ArcGIS API for JavaScript?

I need to get the primary key column of the Particular layer added in the Map. Usually 'FID' be found for a Shapefile Layer Source and OBJECTID found for a SDE source layer. Is there any way to ...
2
votes
1answer
310 views

ESRI Javascript APT FeatureSet input to custom Geoproecessing tool

I have an ESRI Javascript application that uses a geoprocessing service that uses a cutsom GP tool. Since I have a set of values to be passed to the GP service I am planning to pass in it as a record ...
5
votes
1answer
228 views

How to draw graphics in a child window?

I am adding some graphics to the map in a parent window, and I would like to show the same graphics in a child window. I am using the ArcGIS Javascript API (version 3.1). I have written code as below: ...
1
vote
1answer
322 views

Heat Maps only for feature layer (why not for dynamic layer ?) in ArcGIS Java script API 3.0/3.2

I am referring this link to generate the heat map. In this example they used feature layer and I tried using dynamic layer but getting an error (that no map is displaying). I researched on Google ...
4
votes
2answers
4k views

How to calculate distance between two points with esri.geometry?

The function http://help.arcgis.com/en/webapi/javascript/arcgis/jsapi/#namespace_geometry/esri.geometry.getLength should calculate distances between points. When I am trying to calculate distance ...
9
votes
3answers
3k views

How to query all records (>1000) and export to csv?

I posted in arcgis forum but never got any answer. Can anyone tell me how to solve this? Assume you have a vehicle tracking records from Oct.1 to Dec. 31 with wind speed information. All data is ...
0
votes
1answer
113 views

How to configure web map data layer that can accept csv data uploaded by user?

I made this map: http://tinyurl.com/a368268 on arcgis online. How do I get the same map but instead you can upload a new csv every time? Instead of having to first add it as data layer on arcgis ...
11
votes
3answers
8k views

Programmatic authentication to ArcGIS Server secured layers via RESTful API

I have an ArcGIS 10.1 Server instance exposing secured mapservices on the Internet. My need is to code down a client application (which I am currently building using the 3.3 version of the ArcGIS ...
2
votes
1answer
803 views

HTML5 local storage for tile maps and feature layers using ArcGIS Java Script API

I am developing a mobile arcgis application I want to store data locally so that when a user is offline he/she can use the maps. I want to store tile layers,feature layers and a table data. Any ...
2
votes
1answer
2k views

Popup from multiple services

I am trying to have one infowindow/popup show from multiple services. I have successfully added the second service to my code, however, only 1 result will display. Ex. if I am at full scale, only ...
3
votes
1answer
2k views

How to use Zoom Slider like the older version in Arcgis Javacript API 3.3?

I'm using Arcgis Javacript API 3.3. In this version zoom slider look like this. And here, this is the older version. Is there any way to make it like the older version?
3
votes
1answer
247 views

Opacity causes tiles to 'flash' in

I have a map sitting on top of a dark gray background. I have the canvas basemap set to initially load as semi-transparent: var canvas = new ...
2
votes
2answers
680 views

pass string varialbe to placeholder for attribute in infoWindow (ArcGIS Javascript)

I am working on a Javascript-based webapp that uses an ArcGIS map service, which has several attribute columns containing URLs to photos. The user will be able to open photos by clicking on a link in ...
5
votes
2answers
3k views

Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application

I am writing my first ArcGIS Javascript API web map application and consuming a web map authored in ArcGIS Online. The ArcGIS Online web map apparently does most of the work for me in terms of ...
2
votes
1answer
307 views

SOAP url of arcgis service

I basically use REST URL to display feature layer or ArcGISDynamic Service layer and it is commonly promoted by ESRI by their api example. I was wondering since the ArcGIS server also provide SOAP URL ...
0
votes
1answer
1k views

Plot points using ArcGIS javascript api from co-ordinates

I would like to map co-ordinates that I got from the exif in photo's using my own command line tool that I made. As opposed to uploading your private photo's for everyone to see on flickr. How to I ...
2
votes
2answers
853 views

How to retrieve the mapPoint behind a PictureMarkerSymbol?

I am using ArcGis Javascript API 3.2. After instantiating a Point, PictureMarkerSymbol, attribite and an InfoTemplate, I use this code to plot a point on the map. var graphic= new ...
3
votes
1answer
3k views

Changing ArcGIS Server 10.1 port (6080 to 8080)

Due some network issue (Maps are not displaying in secure environment), I want to change the default port 6080 to 8080. I am going through Web help and few links in which they mentioned that install ...
1
vote
0answers
149 views

setLayerDefinitions without defining layers?

I am working on a similar project to How to zoom to feature when clicking on drop-down list box item with ArcGIS JS API?, trying to filter the graphics on my map based on the user input into a ...
0
votes
1answer
402 views

Esri Query Task service does not display

I am trying to make my way through some ArcGIS server Javascript API tutorials. My current issue is that when I try to display an Esri.Map, all I see is the "powered by esri" logo in the bottom right. ...
2
votes
1answer
454 views

Positioning esri.symbol.PictureMarkerSymbol at the center when clicked?

I use ArcGis Javascript api 3.2. I have a symbol: candidateSymbol=new esri.symbol.PictureMarkerSymbol('image/PushPin.png', 30, 30); I want to center it when it is being clicked. PS: There will be ...
1
vote
1answer
313 views

Need help in ArcGIS Java Script API : Installation & configuration with different browsers

We are using ArcGIS Java Script API (version 3.2, 3.0, 2.8) according to our requirement we are using various API’s. Currently ESRI launched new version 3.3 so if I want to view old examples ...