MapTools.org

[maplab-users] zoomrectangle and zoompoint, keeping user w/i original extents

Charlton Purvis cpurvis@asg.sc.edu
Tue, 13 May 2003 11:41:04 -0400
Hi, folks:

Just curious why gmap75.php3 does not include the optional fifth
parameter for zoomrectangle and zoompoint:  MaxGeoref extent (rectObj).
It's not hard to pan or zoom-out off the page w/o it.

Changing zoom*'s to read . . .
   $gpoMap->zoomrectangle($oPixelRect, $dfWidthPix,
      $dfHeightPix, $oGeorefExt,
      $gpoMap->extent);

. . . at least keeps the user in bounds.

Just a thought.

Charlton
 
 
 
Charlton Purvis
(803) 777-8858 : voice
(803) 777-8833 : fax
cpurvis@sc.edu
 
Advanced Solutions Group
Department of Physics and Astronomy
University of South Carolina
Columbia, SC 29208
 



This archive was generated by Pipermail.