[mapserver-users] mapscript and image extent
Joe Bussell
joe at otsys.com
Fri Aug 16 10:45:17 PDT 2002
In Perl I can do:
my $img = $map->prepareImage() or
carp "Unable to prepareImage $mapscript::ms_error->{message} \n";
carp "Scale = $map->{scale}".
" maxY = $map->{extent}->{maxy}".
" maxX = $map->{extent}->{maxx}".
" minY = $map->{extent}->{miny}".
" minX = $map->{extent}->{minx}";
I still haven't managed to get these values returned to the client fo
proper mouse movement calculations, but its a start.
Joe Bussell
On Time Systems
On Fri, Aug 16, 2002 at 11:47:50AM +0200, Michael Schulz wrote:
> Hi,
>
> is it possible to get mapscript access to the calculated image extent
> (in map coordinates) when/after drawing the map image? Because this is
> not the same as the actual map extent set in the mapfile, is it?
>
> Thanks, Michael
>
> --
> -----------------------------------------------------------
> Michael Schulz in medias res
> Dipl.-Geologe Gesellschaft für
> Informationstechnologie mbH
> Sautierstr. 38, 79104 Freiburg
> 0761 55695-95 (Fax 96)
> mschulz at webgis.de www.webgis.de
>
>
>
More information about the MapServer-users
mailing list