[Chameleon-dev] [Bug 186] New: [Chameleon 1.1] Locate Widget doesn't center new point
Mon, 19 Jan 2004 08:53:04 -0500

           Summary: [Chameleon 1.1] Locate Widget doesn't center new point
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P3
         Component: Widget

When zooming to a new location found by the Locate widget, the map does not
center on the new location.  This is because the location is calculated in pixel
coordinates at the full map scale and then a zoom scale at the pixel location is
performed.  The new location can be significantly offset from the center of the
map once this operation is performed.

A work around is to add code to recalculate the pixel location of the point
after the zoom scale and then do a recenter on that pixel location.

The real solution would be to set the map extents directly from the geographic
center and scale value without any pixel calculations.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

This archive was generated by Pipermail.