The ArcGIS API for JavaScript is web mapping API from Esri.
27
votes
2answers
848 views
Is there a “Select by Attributes” plugin/widget for ArcGIS Server JS API?
I'm hoping to find some existing code which emulates the "Select by Attributes" dialog in ArcMap, within the ArcGIS Server JavaScript API.
Writing a hard-coded QueryTask is easy - I'm looking for ...
22
votes
6answers
3k views
ArcGIS Web APIs: What are the differences?
Esri currently offers 3 different web API's that can be freely downloaded.
Are they all equal?
If not, what are the relative strengths/weaknesses of each of these API's?
19
votes
5answers
2k views
Future of Silverlight in ArcGis?
On the last Build Conference in September 2011 Microsoft told a lot about Windows 8 and the Future of JavaScript over Silverlight. No Plugins wanted!! JavaScript with html5 ftw!
Now what is the ...
13
votes
1answer
298 views
Are there any Javascript map labeling engines available?
Does anyone know of a javascript library containing functions that would allow me to generate labels for points on the map so that the labels don't overlap one another, and have optional leader lines ...
12
votes
4answers
2k views
Which framework is best to implement an application robustly, using ArcGIS Server JS API?
Over on the Esri forum, user Matt Moyles suggested that the approach used in the Esri JS samples isn't suitable for robust development of a web mapping application using HTML, JavaScript and CSS:
...
10
votes
3answers
2k views
How to Identify layers from multiple ArcGIS Server instances
This applies to ArcGIS Server 9.3 with the JavaScript API 2.4.
My goal is to click on the map and have the Identify task run on all visible Dynamic layers.
IdentifyTask requires a URL to the REST ...
9
votes
3answers
468 views
What is the future of ArcGIS web development ? Is it JavaScript and HTML5? [closed]
I want to know about the future of ArcGIS web development; is it HTML5?
I used to work with ArcObjects and .NET Web ADF so what is the best technology I must follow, especially when I know that ...
9
votes
4answers
2k views
Looking for a Table of Contents sample for the ArcGIS Server JavaScript API
Where can I find an example of a Table of Contents control to plug into the ArcGIS Server JavaScript API 2.3? Ideally it should support feature/dynamic/tiled layers; show symbology; and allow grouped ...
8
votes
1answer
625 views
What are some examples of interesting zoom slider customisations?
The default Claro zoom slider control is pretty boring.
It's also hard to see on top of many basemaps:
Are there any examples of some nice customisations I could use for inspiration?
7
votes
3answers
428 views
Map Application Requires Refresh to Initialize
I tried this question over on StackOverflow but didn't get any answers. Hoping you all might be able to help.
Creating a web mapping application in Javascript/Dojo:
When I load the app in a browser ...
7
votes
1answer
915 views
Browser support for ESRI ArcGIS JavaScript API (v2.4)
Can anyone give me information or a good pointer on browser version support in the ESRI ArcGIS JavaScript API v2.4?
I can't find much in their documentation beyond changes in support for specific ...
7
votes
3answers
860 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 ...
7
votes
4answers
447 views
Is it possible to access the Bing Maps “dark” mode in the ArcGIS JS API?
Stamen Designs have made a beautiful Hurricane Tracker application which uses a "dark" mode of the Bing Maps backdrop.
This is perfect for directing people's attention to the overlay rather than ...
7
votes
3answers
320 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 ...
7
votes
2answers
81 views
How to use the ESRI JS API to map SQL Server Spatial Types without ArcGIS Server
I have heard of people using the ESRI Javascript API to create webmaps with spatial data from SQL Server or other RDBMS's. From what I can tell, they are not using ArcGIS Server as a middleware. In ...
7
votes
1answer
765 views
How do we add a custom basemap in ArcGIS.Com that can be used in Javascript API?
It's possible to add a layer as a basemap in ArcGIS.com by checking the check box use as baselayer:
But when I consume the map using:
var mapDeferred = esri.arcgis.utils.createMap("<guid>", ...
7
votes
1answer
304 views
Will hundreds of attributes cause performance problems in an ArcGIS Server layer?
This relates to ArcGIS Server 10.0 SP1, with data served from a file geodatabase polygon featureclass.
1) For performance reasons, is it a bad idea to have a featureclass with hundreds of attributes?
...
7
votes
1answer
841 views
Incorrect date displayed with Esri JavaScript API v.2.6
I am working on a site that is using version 2.6 of the Esri Javascript API. I have an info window that displays some date information, and the date is one day behind the date in the database. For ...
7
votes
1answer
323 views
How can I use an ArcGIS.com map that's not shared with everyone from JavaScript API?
I like to use the ArcGIS.com to create a map with operational layers on top of a baselayer. I would like to have the Content and Map as private but to show the map in an application built with ...
7
votes
3answers
177 views
CORS issue ArcGIS 10.1 IIS (Cross Origin Resource Sharing)
I have ArcGIS 10.1 installed with the web adapter for IIS. I've added a config file to the root of IIS7 to enable Cross Origin Resource Sharing (CORS) as per this page. I've pushed the cors enabled ...
7
votes
2answers
460 views
How “complex” should a JavaScript map become? When does a plugin make more sense?
Background:
A client is looking to upgrade an ancient ArcIMS site, which is quite complex. It has a table of contents, the ability to change symbology on-the-fly, print the map, use spatial ...
7
votes
3answers
684 views
what is the right way to delete all features from featureLayer
I have a feaureLayer and I don't want to kill it and create another one. I want to delete all features from the current featureLayer. I found that I can use applyEdits method but in order ot use it I ...
6
votes
2answers
918 views
Restrict pan and zoom in ArcGIS Javascript API?
I'm creating a web map of a university campus. I have the map functioning, but I don't want to be able to pan off of the basemap, into whitespace. Do you know of a function that will auto-pan the ...
6
votes
1answer
1k views
Is it possible to use esri.dijit.Popup for editing
In the new arcgis js api ESRI added new nice infowindow - esri.dijit.Popup. We can use it this way:
//create a popup to replace the map's info window
var popup = new ...
6
votes
1answer
75 views
How to select all remaining features after a Layer Definition filtering?
I have a map service that represents the World map with a table with population associated. I would like to filter some of the data matching a criteria and then, select ALL remaining features to work ...
6
votes
2answers
2k views
How to navigate the REST endpoints and retrieve Field information programatically
I'm adding a Dynamic Map Service to an ArcGIS Server JavaScript API map, and I need to get hold of each component layer and its fields, so I can run a query.
See the sample ArcGIS Server services ...
6
votes
1answer
81 views
CSS Spritesheets and picture marker symbols in the AGS Javascript API
I'm working on improving the load performance of a large ArcGIS Javascript application, and one area where we can have trouble is that there is a visible delay between putting a graphic with a ...
6
votes
2answers
181 views
Rendering huge amount of points
Evening Guys,
I am new to ArcGIS, and currently developing a small app that uses ArcGIS Javascript API.
I have encountered a couple of problems while working on this and would greatly appreciate if ...
5
votes
3answers
5k views
Draw a point with ArcGIS Javascript API
I am currently trying to draw a point with the ArcGIS Javascript API.
Pretty much like this example, http://help.arcgis.com/en/webapi/javascript/arcgis/demos/toolbar/toolbar_draw.html, except the ...
5
votes
3answers
395 views
Measure Snapping with ArcGIS Javascript API
I would like to know if the ArcGIS Javascript API has built in snapping functionality for the measure tool. I am trying to create a measure tool which only measures distances along the edge of roads. ...
5
votes
1answer
242 views
Unclear on proxy used for AJAX in Javascript
I do understand how the proxy helps in transferring the XMLHttpRequest between the ArcServer and the Server (IIS/Apache) but where I am confused is that the first time the Html Doc loads, doesn't the ...
5
votes
3answers
642 views
How to display the map.InfoWindow outside of the map container?
I need to show an infoWindow outside the map (i.e. have it owned by the body of the HTML document, not the map div).
If i subclass InfoWindowBase I can do this myself but I really don't want to do ...
5
votes
1answer
76 views
Editing without clicking on a map - ESRI JS API
I'm looking to build a new application that allows staff to edit a service/layer. They will be inputting new survey benchmark data based on lat/long.
All of the current samples I have seen on the ...
5
votes
2answers
327 views
Unable to display FeatureLayer using ArcGIS server
I can't figure out why this FeatureLayer doesn't show up on top of my base map. I'm using ArcGIS Server 10.0 and the ArcGIS JS API 2.6.
Here's the information from the service's REST parameters page:
...
5
votes
3answers
2k views
Add shapefile from a local file to a JS API map
Using ArcGIS.com's Map Viewer it's possible for the user to add a local shapefile to the map, using an Add Data approach.
Is it possible to add this functionality to an ArcGIS Server map built on ...
5
votes
1answer
102 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:
...
5
votes
1answer
176 views
Is it possible to install ArcPy on a server for use in a geoprocessing web application?
I have a website on my intranet and would like to add some geoprocessing tools to it with Python.
Many Users will not have Arc installed on their machines, so I think I need to have the scripts set ...
5
votes
2answers
235 views
Moveable ESRI / 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 ...
5
votes
1answer
491 views
What server and API to use for displaying complex polygons with dynamic symbology?
Background
I need to interface a map into an existing website which allows the user to query a database and which currently results in a table listing population statistics per county.
For example, ...
5
votes
1answer
788 views
Automate export of ArcMap legends
I've been building legends for my javascript websites that use 9.3.1 services. I know there's the ESRI legend tool for older services but I don't feel that it does a good job of producing legend ...
5
votes
1answer
128 views
Can we insert arbitrary HTML layers the ESRI ArcGIS JavaScript API?
We would like to implement a completely custom visualization to be included in a map, whose other layers we'd like the JavaScript API to control. This custom visualization would be updated by hand in ...
5
votes
3answers
1k views
Is there a 3rd party ArcGIS viewer (builder) for Javascript?
Esri provides an ArcGIS Viewer for Flex as well as an ArcGIS Viewer for Silverlight.
Strangely though, there are no plans for a similar viewer for Javascript.
Are there any 3rd parties that have ...
4
votes
1answer
146 views
Why does a cache service need to load first when a dynamic service is involved?
I notice if you have 2 services 1 cached and 1 dynamic you have to load the cache first for it to display.
Does anyone know why?
4
votes
2answers
497 views
Application Templates for ArcGIS Server?
Esri provide a lot of excellent template applications for us in conjunction with web maps.
These templates are specifically designed for using with your resources on ArcGIS Online as opposed to ...
4
votes
3answers
1k views
Query Layer with user-defined (dynamic) parameters in ArcGIS 10.1
I have prepared and published with ArcMap 10.1 to my ArcGIS Server a Query Layer to access
some information in my database. My output map represents the European
Union states and using annotations, ...
4
votes
1answer
241 views
PrintTask in ArcGIS Online JS Api
I'm using the PrintTask() function from the ArcGIS Online API. Works like a charm...untill you add your own graphics.
When I don't run the addedAskedSymbolsToMap function in the code below, and only ...
4
votes
2answers
322 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 ...
4
votes
2answers
717 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 ...
4
votes
1answer
320 views
Feature Service layer issues
What is the maximum number of records returned by WFS protocol? What is maximum number of records returned by a Feature Layer in ArcGIS Server 10.1? What is maximum number of records the ArcGIS ...
4
votes
2answers
376 views
ArcGIS JS API Edit Toolbar permits MOVE but not EDIT_VERTICES or ROTATE - JavaScript error thrown
I'm putting together an ArcGIS (v10.1) JS API (v3.2) application and I've hit a snag in drawing / editing functionality.
Users can draw a new geometry or edit an existing one. I'm using the draw and ...

