https://bugzilla.novell.com/show_bug.cgi?id=681070

https://bugzilla.novell.com/show_bug.cgi?id=681070#c0


           Summary: MKMapView.SetCenterCoordinate does not set to the
                    correct coordinate
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: Community User
           Blocker: No


Created an attachment (id=420344)
 --> (http://bugzilla.novell.com/attachment.cgi?id=420344)
Break in code showing difference in values after calling
MKMapView.SetCenterCoordinate

After creating a new CLLocationCoordinate2D instance, calling
SetCenterCoordinate on an instance of MKMapView with the CLLocationCoordinate2D
instance results in a different value shown for MKMapView.CenterCoordinate than
what is contained within the CLLocationCoordinate2D.

Steps to reproduce the problem:
1. Create a barebones MonoTouch application
2. Create a new instance of MKMapView in said application
3. Create a new CLLocationCoordinate2D with lat/lon of 47.6065462/-122.336429
4. Call SetCenterCoordinate of the MKMapView with CLLocationCoordinate2D as the
coordinate argument and true as the animated argument.
5. Observe the value of MKMapView.CenterCoordinate. Lat/lon values are
47.6066259/-122.3365402

Actual Results:

Latitude value differs by +0.0000797
Longitude value differs by -0.0001112

Expected Results:

Latitude value should differ by 0
Longitude value should differ by 0

How often does this happen? 

Always.

Additional Information:

None.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to