ArcGIS API 3.0 Prerelease for Flex released March 19, 2012

844
11
03-19-2012 09:14 PM
BjornSvensson
Esri Regular Contributor
The new API community site:
resourcesbeta.arcgis.com/en/communities/flex-api/

What's new in ArcGIS API 3.0 Prerelease for Flex
http://resourcesbeta.arcgis.com/en/help/flex-api/concepts/index.html#/What_s_new_in_ArcGIS_API_for_F...

Note that the URLs have changed slightly from the 3.0 beta.  We will remove those pages later this week.
Tags (2)
0 Kudos
11 Replies
BjornSvensson
Esri Regular Contributor
Just tried 3.0 pre-release with our applications. I came across an issue of the 'GraphicsLayer' class no longer having 'units' as an attribute but don't think this change is mentioned in the release note?


Correct, the "units" have been removed (and it wasn't mentioned in the "prerelease" release note). This property was needed for the Map in a few edge cases where it wouldn't get the Units from the metadata of the first layer added to the map.  At 3.0, the API is now figuring out the units based on the spatial reference, thus no more need for the "unit".  At least that's what we were thinking...

What are you using the GraphicsLayer.units for?

Will it (at 3.0) just work fine if you remove those lines?
0 Kudos
SarahBurgin
New Contributor
I was setting the units in relation to polygons that our application draws, which need to be accurately sized.

Yes, I did find that commenting out the affected lines of code for building with ArcGIS API 3.0 seems to work just fine!
0 Kudos