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.

This entry was posted in Services and tagged , . Bookmark the permalink.

Leave a Reply

4 Comments

  1. sterlingdq says:

    Hi Steve. Image services are supported in both the ArcGIS JavaScript API 1.2 and the ArcGIS JavaScript Extension for the Google Maps API 1.2. The “Google Maps only” was to imply that image services aren’t supported in the Virtual Earth extension. This is because VE only allows tiled overlays.

  2. I’ve run into a problem while creating shapes with the Virtual Earth API. I was hoping that this would be fixed in the 1.2 release, but it is not.

    When I create a polygon or polyline, it displays correctly in Firefox but not in Internet Explorer. Taking the ArcGIS JavaScript for Virtual Earth out of my page solves my problem.

    Have you all noticed this before?

  3. Thanks for the response, Bryan.

    I have posted in the support forum (I had actually done this before I posted a comment here, but wasn’t confident of a response there).

    I will also open a support ticket.

    Just so you know, the shape that I’ve created does not appear after panning/zooming the map, so your fix will not help.

  4. sterlingdq says:

    @adrian- That’s interesting…have you followed the steps in this ESRI Knowledge Base article 34749? http://support.esri.com/index.cfm?fa=knowledgebase.techarticles.articleShow&d=34749