|
|
Browse by Tags
All Tags » JavaScript (RSS)
Showing page 1 of 4 (38 total posts)
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
-
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 ...
1
|
|
|