Ticket #854 (closed defect: wontfix)
zoomToRectangle/Point/Feature - not precise
| Reported by: | monicasocol@… | Owned by: | mapserverbugs |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapScript-PHP | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The zoomRectangle, zoomPoint and ZoomToFeature are not precise enough when zooming from a large extent to a small extent. Zooming a small amount works well. When you start from the full extent of the map and try zoomRectangle() for example, it zooms in, but it is not centering to that rectangle. A work around will be to calculate the centroid of the rectangle and recenter to that point after zooming in, but this will refresh the map again so double the time for the operation --- it is not a good solution.
Change History
Note: See
TracTickets for help on using
tickets.
