What's new in version 1.2 of the ArcGIS JavaScript extensions for the Google Maps API and Microsoft Virtual Earth
Versions 1.2 of the
ArcGIS JavaScript Extension for the Google Maps API and the
ArcGIS JavaScript Extension for Microsoft Virtual Earth are now
available for you to use. To get started, just change the version number in the
script tag that references the API.
Google Maps example:
<script src="http://serverapi.arcgisonline.com/jsapi/gmaps/?v=1.2" type="text/javascript" ></script>
Virtual Earth example:
<script src="http://serverapi.arcgisonline.com/jsapi/ve/?v=1.2" type="text/javascript"></script>
Below are some of the new features in each API:
Geometry service can provide label points
The ArcGIS Server 9.3
Service Pack 1
geometry service can calculate a point that lies within a polygon and
expose that point through REST. Both the Google Maps and Virtual Earth
extensions have new methods that take advantage of this functionality. You can
place text or some other marker at this point as a way of labeling the polygon.
Geometry service can calculate spatial relationships
In both the Google Maps and Virtual Earth extensions, methods have been added
that allow you to calculate spatial relationships (such as "touches",
"overlaps", "intersects") using the geometry service. Previously you could use
queries to calculate some spatial relationships, but the geometry service
provides more relationship types and doesn't require that the geometries come
from ArcGIS Server. The geometries can just be two sets of graphics that you
get from a Web service or derive from task results. To use this functionality
your geometry service needs to be running on ArcGIS Server 9.3 Service Pack 1.
Image service layers supported (Google Maps only)
Using the ArcGIS JavaScript Extension for the Google Maps API 1.2, you can add
ArcGIS Server image services as layers in Google Maps. Image services come from
standalone raster datasets or .iscdef files produced by the
ArcGIS Server Image Extension (formerly Image Server).
The Google Maps extension also has a few new methods on DynamicMapServiceLayer that are listed here.
Contributed by the ArcGIS JavaScript API team.