Welcome to ESRI Blogs

Browse by Tags

All Tags » JavaScript

Looping through graphics using the ArcGIS API for JavaScript

When working with the ArcGIS API for JavaScript you'll often find yourself looping through arrays, like the collection of graphics stored in a graphics layer or the results of a QueryTask. In this post we'll explore two approaches for looping through
Posted by Kelly | 4 Comments
Filed under: , ,

Working with info windows in the ArcGIS JavaScript API

An easy way to add interactivity to your ArcGIS JavaScript applications is through info windows that display information in response to a user action. From working with other APIs, you might know info windows as "balloons", "map tips", "callouts", or
Posted by sterlingdq | 4 Comments
Filed under: , ,

Working with TextSymbol in the ArcGIS JavaScript API

This post discusses how you can add text to your map using the ArcGIS JavaScript API. Your map service probably already has some labeling in it, but you may want to add descriptive information about graphics that you add on top of your map through tasks
Posted by sterlingdq | 2 Comments
Filed under: ,

Which ESRI Web mapping API should I choose?

Since the release of ArcGIS Server, ESRI has offered Web application developer frameworks (ADFs) for .Net, and Java. Last year, ESRI also released Web mapping APIs for JavaScript, Flex, and Silverlight, further expanding the choices for developers. One
Posted by sterlingdq | 13 Comments

Using JavaScript to populate a ComboBox with unique values

In this post we'll answer a question that comes up frequently in the ArcGIS API for JavaScript section of the ESRI Discussion Forum, "How do I populate a ComboBox with unique values"? Create a ComboBox First let's look at how to build a ComboBox, in this
Posted by sterlingdq | 12 Comments
Filed under: , ,

ArcGIS JavaScript API 1.5 released

Version 1.5 of the ArcGIS JavaScript API is now available! To take advantage of the new version, change your script reference to the ArcGIS JavaScript API to use v= 1.5, like this: <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.5"
Posted by sterlingdq | 21 Comments
Filed under:

ArcGIS JavaScript API printing through PDF

A common question we received at this year's ESRI User Conference is how to print maps from the ArcGIS JavaScript API. One way to get a printable map is to export to PDF. ESRI's Rahul Ravikumar recently uploaded a sample to the Code Gallery that captures
Posted by sterlingdq | 8 Comments
Filed under: ,

ArcGIS API for JavaScript events at the 2009 ESRI User Conference

If you're developing with the ArcGIS API for JavaScript, or you want to get started, there's plenty to learn at the 2009 ESRI International User Conference. Here's what you can look forward to. Special Interest Group Come join fellow JavaScript developers

ArcGIS JavaScript API 1.4 released

Versions 1.4 of the ArcGIS JavaScript API and the ArcGIS JavaScript Extension for the Google Maps API have been released. Version 1.4 of the ArcGIS JavaScript Extension for Microsoft Virtual Earth will be available soon. ( Update on June 12, 2009 : The
Posted by sterlingdq | 14 Comments
Filed under: ,

An easier way to zoom: A Dojo dijit that zooms to states and counties

Dijits (Dojo widgets) have been a semi-regular topic on this blog and those posts helped me get up to speed on how to develop my own dijit for use with the ArcGIS JavaScript API. One requirement that has come up a couple of times when I've worked with
Posted by sterlingdq | 7 Comments
Filed under: , ,

Code Assist for the ArcGIS JavaScript API: Aptana Studio plug-in

The ArcGIS JavaScript API provides classes to deliver rich mapping functionality to your applications. The Resource Center has a wealth of information about these classes, their properties and methods. When building your applications, you want this information

Creating a reusable task-oriented dijit

In a previous blog post, we learned how to create a simple dijit with the ArcGIS JavaScript API that combines a map with a couple of buttons and an image. Today's post will show how to create a sophisticated task-oriented dijit, which we have uploaded
Posted by sterlingdq | 9 Comments
Filed under: , , ,

ArcGIS JavaScript API version 1.3 released

Version 1.3 of the ArcGIS JavaScript API is now available. You can reference it in your code with this tag: <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.3"></script> The new version includes 10+ bug
Posted by sterlingdq | 8 Comments
Filed under: ,

Displaying an image service with the ArcGIS JavaScript API

An image service allows you to consume imagery directly through ArcGIS Server without the overhead of adding the image to a map service. Image services are accessible in ArcGIS JavaScript API starting in version 1.2. You also need to have ArcGIS Server
Posted by sterlingdq | 4 Comments

Using the Dojo BorderContainer to design application layouts

The ArcGIS JavaScript API samples provide a great way to learn how to use specific mapping and analysis functionality available from the API. Unfortunately, when building web applications with this functionality, we sometimes spend more time figuring
Posted by sterlingdq | 2 Comments
Filed under: , ,
More Posts Next page »