MapTools.org

[maplab-users] help retrieve current extents

Thomas van den Berg tbeg2002@yahoo.com
Wed, 8 Jan 2003 07:58:16 -0800 (PST)
--0-1340467755-1042041496=:62128
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi all,

I'm following the guidelines on
http://mapserver.gis.umn.edu/cgi-bin/wiki.pl?PHPMapscriptPDF
to allow saving to pdf from my gmapfactory
application. I'm able to do that straight from the
mapfile but not for user extent or selected layers. To
set the map file into the state the user is expecting,
I need to maintain in my script the arrays in the
gmapfactory application that record:

  - The current extent
  - Layer status

I'm new to php & phpmapscript and have not been able
to find those arrays (I'm totally lost). I would
appreciate any hint. I have attached my script.

Thanks,
Thomas vd Berg


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--0-1340467755-1042041496=:62128
Content-Type: application/octet-stream; name="tuto1.php"
Content-Transfer-Encoding: base64
Content-Description: tuto1.php
Content-Disposition: attachment; filename="tuto1.php"

PD9waHANCg0KJHAgPSBQREZfbmV3KCk7DQpQREZfb3Blbl9maWxlKCRwLCAi
Iik7DQoNCiRtYXBfcGF0aD0iYzovd3d3L2FwYWNoZS9odGRvY3MvZ21hcC9o
dGRvY3MvIjsNCiRtYXAgPSBtc19uZXdNYXBPYmooJG1hcF9wYXRoLiJnbWFw
NzUubWFwIik7DQoNCiRtYXAtPnNldCh3aWR0aCwxMjAwKTsNCiRtYXAtPnNl
dChoZWlnaHQsMTIwMCk7IA0KDQokZWxlbWVudD0kbWFwLT5kcmF3KCk7DQok
aW1hZ2VmaWxlPSRlbGVtZW50LT5zYXZlV2ViSW1hZ2UoTVNfUE5HLDAsMCww
KTsgDQoNCiRpbWFnZSA9IFBERl9vcGVuX2ltYWdlX2ZpbGUoJHAsICJwbmci
LCAiYzovd3d3L2FwYWNoZS9odGRvY3MvJGltYWdlZmlsZSIpOw0KaWYgKCEk
aW1hZ2UpIHsNCiAgICBkaWUoIkNvdWxkbid0IG9wZW4ga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