GART 1.0.1 Hits the Web
GART gets a service release tonight with version 1.0.1 now on CodePlex. This release is mostly for bug fixes and a few performance tweaks but we now allow finer control over how items are positioned in 3D space.
Here’s the 1.0.1 changelog:
Updated ARHelper.DistanceBetween to use changes suggested by Kenny Spade. The new code is much more accurate and maintainable and fixes issue 8759 where some points were being drawn on the wrong side of the user.
Removed WorldCalculationMode enumeration and WorldCalculationMode property from ARItem. The enumeration was replaced by the property ARItem.WorldCalculation, which can point at any function that will calculate and update an ARItem.
Added two methods to ARHelper that can be used with the ARItem.WorldCalculation property mentioned above. WorldFromGeoLocation and WorldFromRelativeLocation provide the functionality that was previously provided by the WorldCalculationMode enumeration.
Defaulted ARItem.WorldCalculation to point at ARHelper.WorldFromGeoLocation. This means that ARItems will be projected into WorldView using their GeoLocation property by default.
Added code to ARHelper.DistanceBetween to calculate the difference between two points in altitude. If both coordinates have valid altitudes, the difference will be calculated. Otherwise, the difference in altitude will be returned as zero. This will place items on the horizon whenever the altitude of the user or the item is unknown. This change resolves issue 8760.
HeadingIndicator did not scale and has been updated to use grid layout. Keep in mind that this control must still have a square aspect ratio for it to be drawn correctly.
OverheadMap_LayoutUpdated was being called very frequently and we were assigning a new clip on every call. We now check to see if the size has actually changed before creating a new geometry and updating the clip.
Removed event handlers from the map control that were attempting to disable panning but were not working.
Updated BingAR and SimpleAR samples to use Grid layout at the root instead of Canvas layout.