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

learn more… | top users | synonyms

0
votes
0answers
412 views

How to display Heatmap in Internet Explorer 7 using ArcGIS JavaScript API?

Trying to find a solution to heat maps on IE7/IE8 (i.e. not using Canvas/HTML5/heatmapapi). Any ideas?
3
votes
1answer
315 views

ArcGIS Server 10 GP Service Cannot Download Result?

I have implement the ArcGIS JavaScript example just like the ESRI official example (clip and ship) .Everything was going right except the final step ,when the gp job have finish and my browser lead me ...
2
votes
1answer
149 views

Duplicate source information from esri.tasks.PrintTask

We are trying out the PrintTask in ArcGIS Server 10.1 pre-release. When an Esri base map is enabled, we are getting source information in two places in the resulting .pdf. I can confirm that this ...
2
votes
1answer
2k views

ESRI javascript API layer order

I have the below code which ensures a layer is valid before adding it to the map. mapConfig.Services is an array of service url's and loadMapService is a simple function which returns an ESRI layer. ...
1
vote
1answer
1k views

ArcGIS JSAPI selectFeatures on feature layer with “stacked” features only returns one feature

I am using the selectFeatures function to launch a popup when clicking on a feature. Because of the nature of my data, many of the features (street segments) have coincident geometry (they are stacked ...
1
vote
2answers
841 views

Convert ArcGIS Javascript api Geometry Object to GeoJson [duplicate]

Possible Duplicate: How to convert ArcGIS Server JSON to GeoJSON? How to convert ArcGIS Javascript api Geometry Object to GeoJson using Javascript?
1
vote
0answers
666 views

Send ArcGIS JavaScript Geometry Object JSON to server using JQuery Ajax request

I need to send ArcGIS JavaScript Geometry Object JSON string to Asp.Net Handler. I am using JQuery Ajax request to post the Geometry Data. I am not able to pass JSON geometry like this ...
6
votes
3answers
2k 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 ...
2
votes
2answers
2k views

Javascript Api's ArcGISTiledMapServiceLayer won't show map

I am currently trying to show a map that has been tiled. I am using version 10 of the arcgis server, and version 2.5 of the javascript api, the odd thing i am running into is that the map will not ...
3
votes
1answer
801 views

Does the esri javascript api Identify Task Return a FeatureSet?

I am trying to get the results of an identify task using ArcGIS JS API 2.7 into a featureSet so I can utilize this sample http://arcscripts.esri.com/details.asp?dbid=16528 that takes the results of a ...
0
votes
3answers
582 views

JSAPI 2.8 and Dojotoolkit 1.7.2? May?

I realize no one can give a definitive answer but is it reasonable to think the next release of ESRI JSAPI will be built on top of dojotookit 1.7? And will be released in the next 2-3 months? Any ...
4
votes
3answers
2k views

Zoom to selection

I am trying to create an application, where in I want to zoom to selected features. Basically, I want to zoom to the extent of a selected point or polygon.
8
votes
1answer
930 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?
0
votes
3answers
750 views

How to load spatial data into ArcGIS Javascript API application from SQL Server 2008?

I have geometry data in SQL Server 2008 R2. How do I load that spatial data using the ArcGIS Javascript API?
2
votes
0answers
195 views

JSAPI: How to prevent GetImageUrl from being called twice?

I posted this on the ESRI forum a while back but got no response. PROBLEM: GetImageUrl is called twice resulting in two trips to the server if caching is off. QUESTION: How can this be prevented ...
3
votes
1answer
3k views

How to add or remove layers using esri javascript api

I want to use javascript and dojo to add and remove layers.
0
votes
1answer
359 views

ESRI JSAPI: How to use GMap3 as 1st layer when using gmaps-utility-gis.googlecode.com?

This question relates to ESRI JSAPI and Google Maps V3 integration... I've put together this fiddle http://jsfiddle.net/br4pk/1/ which demonstrates a mismatch between the LOD of the map and ...
3
votes
1answer
6k views

How to Zoom to a FeatureLayer Using ArcGIS Javascript API

I am making a web application using the Javascript API and am trying to zoom to a feature layer from a row click in a dojo data grid. I have this working for a dynamic layer, but am having issues with ...
3
votes
1answer
433 views

Any Open Source Extensions to ESRI JSAPI?

I'm looking for some functionality beyond what ESRI already provides in the JSAPI. For example, the ability to display the LOD in a tooltip on the zoom control. It seems like there should be a ...
2
votes
1answer
625 views

ArcGIS javascript API: A way to position Dynamic Service layer on top of Graphic Layer?

I have 3 layers: Tiled based map DynamicServiceLayer with ~1000 points Graphics layer with ~20 polygons I really need the DynamicServiceLayer to be on top of the graphics layer (point must be on ...
2
votes
1answer
1k views

How to vary the infoWindow size for different feature layers

I have multiple feature layers on the map, and I wish to display a different sized infoWindow for each layer. As far as I can tell, the map has one infoWindow, which can be resized using: ...
7
votes
1answer
2k 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
2k views

Is the ArcGIS Server JavaScript API free to use?

The 2008 blog post announcing the ArcGIS Server JS API says: Everyone can use the ArcGIS JavaScript API. There is no fee for using the ArcGIS JavaScript API or deploying an application built with ...
1
vote
2answers
172 views

Tips and advice for Filtering on a large dataset

I am attempting to build an application using the ArcGIS JavaScript API that will allow my users to research competitor pipelines across the country. The main layer in this application is comprised ...
1
vote
2answers
2k views

ESRI Maps - Refresh the map

First time, map loads and the locations are plotted properly. Second time, when the new set of locations are pulled from the app, map reloads and gets the new set of data. But it is not refreshed. ...
1
vote
1answer
407 views

How to save Bookmarks between sessions using the JS API

The ArcGIS Server JavaScript API contains a Bookmark dijit which allows users to add and delete bookmarks. These are not persisted between sessions, but are reset each time the page refreshes. Has ...
4
votes
2answers
331 views

Why is the Button code on the ArcGIS.com sample viewers so complicated?

I'm trying to modify one of the ArcGIS.com sample maps to add my own buttons, and I'm surprised at how complicated the HTML page is. Here is the code for the simple "Details" button at the top left ...
1
vote
2answers
552 views

Using TiledMapServiceLayer and On Demand Tiling

I have a tiling services which generates tiles on demand but TiledMapServiceLayer does not use a callback for getTileUrl so how would one implement this? I've tried using the refresh! method to no ...
1
vote
1answer
660 views

How to join an external table to a set of polygons, and symbolize on the joined values, in a web map?

Say I have a table showing a number of statistics - for example, various gun crime by US State measures. I also have a dataset of state boundaries. How can I join the table to the features in a web ...
6
votes
1answer
693 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, ...
1
vote
1answer
580 views

Issues with ArcGIS JSAPI in a jQuery UI Accordion?

Has anyone had success using an ArcGIS Javascript API map within a jQuery UI accordion? I have a simple example here: http://chadwilcomb.com/maps/test/AGS_jQueryUI.htm There is an offset between the ...
2
votes
2answers
437 views

Importing ALOHA plume .pas file in ArcGIS Server web API application

I want to import a .pas file (ALOHA plume file) in ArcGIS Server web API application (JavaScript/Silverlight/Flex). Has anyone tried this before? I am looking for some directions to achive the same. ...
1
vote
1answer
235 views

Does a graphic or graphicsLayer support time-awareness?

In the ArcGIS Server JavaScript API 2.6 I'm looking to implement map graphics. I can't see whether they support time-awareness. The help entry for graphicsLayer doesn't mention timeInfo, which is ...
1
vote
1answer
384 views

Create toggle buttons to activate individual query and identify tasks

Can you please help with toggling query and identify tasks? For example, Parcel: button Footpring: button CIP: button whenever one of the buttons is checked, all others are inactive. D.E.Wright ...
13
votes
4answers
3k 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: ...
2
votes
2answers
1k views

Populating a Dojo widget with country names based on an ESRI hosted layer

Wow, Javascript is not that easy - can someone help me make a simple breakthrough just to understand some basic concepts. Does anyone know how to populate a filteringSelect Dojo dijit with the names ...
2
votes
1answer
687 views

ESRI - Polyline insertPoint issue (JS 2.5 API)

I am trying to basically draw a path on an esri map. with circles like so, but when I call Polyline.insertPoint it doesn't show the new segment: I keep adding points as time progresses. My ...
2
votes
1answer
392 views

How to add a legend for raster (GRID) layers in ESRI JS app

I have a grid in an MXD that I am publishing using ArcGIS Server 9.3.1. In the TOC I have made a legend with labels against each of my 5 classifications. I was expecting this to appear in my JS web ...
3
votes
1answer
2k views

Web mapping within ASP MVC 3 framework

Just curious if anyone has used the ASP MVC 3 framework for creating web mapping applications. I have one coming up and am planning on using the ArcGIS javascript API. Would be interested in hearing ...
3
votes
2answers
447 views

Many of the Esri samples fail the WC3 HTML validator. Is this a problem?

I'm running into problems with some ArcGIS Server JavaScript code (page elements are positioned different in IE than FF/Chrome), so I checked it against the HTML validators at http://validator.w3.org ...
3
votes
3answers
3k views

Printing with the ArcGIS Javascript API?

Any examples of how to print a map using the JSAPI? All from the client?
2
votes
2answers
4k views

ArcGIS javascript API - draw circle of a specified radius in meters

I am trying to add a circle of a specified radius (let's say 200 meters) to a map. My thought is to create a SimpleMarkerSymbol object. The constructor asks for a size of the symbol in pixels, but I ...
2
votes
2answers
4k views

ESRI - add graphics from a different spatialReference

I want to know if I'm approaching this incorrectly. We are attempting to create an esri-based map where we add graphics to a map thru the javascript API. The points that we're adding are lat/lng ...
4
votes
1answer
1k views

ArcGIS javascript API - How To Use Tiled Map Services with Different Spatial References?

I have the following code fragment in an esri page to try and change basemaps, the following code works, unless the next basemap layer uses a different spatialreference. if (baseMap) ...
28
votes
2answers
1k 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 ...
1
vote
0answers
198 views

IE 9 reopen tab if close window while applyedits are executing [closed]

We load a map in a pop up using window.open but when we execute the applyedits method and immediately after this we close the pop up, on Internet Explorer the parent window "crash" and show the ...
4
votes
2answers
563 views

Point clustering only works for part of an area?

I am using the 3rd party scripts for point clustering as published by Globoserve, http://globoserve.posterous.com/ . I followed the instructions to the letter - and just replaced the queryTask ...
2
votes
1answer
506 views

How can I edit lines containing M values with the ArcGIS JS API?

I am working with the ArcGIS JavaScript API and want to move and edit the vertices of a polyline analog to the following sample: ...
21
votes
6answers
2k views

What is future of Silverlight with ArcGIS Platform?

At the September 2011 Build Conference, Microsoft said a lot about Windows 8 and the Future of JavaScript over Silverlight. No Plugins wanted!! JavaScript with html5 ftw! What is the future of ...
4
votes
1answer
675 views

Text and circular background marker with ArcGIS Javascript API?

I see that it is possible to create a circular symbol (among other shapes) with SimpleMarkerSymbol. I also see that it is possible to create a text symbol with TextSymbol. Is it possible to combine ...