Welcome to ESRI Blogs

Browse by Tags

All Tags » JavaScript   (RSS)
Showing page 1 of 4 (38 total posts)
  • 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 arrays; using a standard for loop and working with a dojo implementation of one of the ...
    Posted to ArcGIS Server Blog (Weblog) by Kelly on November 11, 2009
  • 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 ''popups''. The concept is the same: the user clicks or hovers over a location on the map ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on November 3, 2009
  • 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 or queries. The ArcGIS JavaScript API does not have a built-in labeling engine with conflict ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on October 26, 2009
  • New Lens Dijit for the ArcGIS API for JavaScript

    Yesterday I added a new dijit to the ArcGIS API for JavaScript Code Gallery: the Lens Dijit. It could also be called an X-Ray dijit. Here's a screen shot: Everything you need to get started using it is in the ReadMe.txt included in the download but, if you just want to take it for a spin, you can try it here:  lens dijit demo. Please ...
    Posted to Applications Prototype Lab Blog (Weblog) by apl2009 on October 20, 2009
  • 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 of the most common questions we’ve received at the ESRI User Conference and other recent ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on October 19, 2009
  • 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 example, we'll use the Dojo ComboBox dijit (read more details on why at the end of this ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on October 7, 2009
  • 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'' /> Version 1.5 adds: Support for Firefox 3.5 ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on October 2, 2009
  • Resources for Getting Started with ArcGIS Server Web APIs

    We’ve had quite a few requests from developers new to our JavaScript, Adobe Flex and Microsoft Silverlight APIs asking for pointers on where to start. There is a lot of good content out there, sometimes it exists in places you might not have thought to look. The best place to start is in the Resource Centers. Each API has a dedicated Resource ...
    Posted to ArcGIS Developer Blog (Weblog) by andygup on September 1, 2009
  • Custom Objects in dojo.ItemFileReadStore: Using a Type Map

    The GeoChalkboard Blog recently published a post about using the dojo.ItemFileReadStore (IFRS). That post does a good job of introducing and discussing basic usage of the ItemFileReadStore, but it leaves out one important aspect, the Type Map. Natively, an IFRS allows you to store primitive JavaScript types such as strings and numbers. If you ...
    Posted to Applications Prototype Lab Blog (Weblog) by apl2009 on August 6, 2009
  • 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 an ArcGIS JavaScript API map in a PDF, which can then be printed. He calls this sample ...
    Posted to ArcGIS Server Blog (Weblog) by sterlingdq on July 27, 2009
1 2 3 4 Next >

Contact Us | Privacy | Legal | Site Map | Careers