[mapguide-users] Getting the Current Scale

Scott McFarlane scott at geotropix.com
Thu Mar 15 21:15:25 EDT 2007


Hi Mark,

Take a look at the GetViewScale() method of MgMap. If you look up MgMap in
the Web API reference
(http://mapguide.osgeo.org/files/mapguide/docs/webapi/index.html) there is a
PHP example that demonstrates how to get lots of information about the
current map.

- Scott


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Nichols, Mark
A.
Sent: Thursday, March 15, 2007 4:18 PM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Getting the Current Scale

I can retrieve the map name and session from the right frame, but I'm
having a difficult time getting the current scale.

Any ideas?


Mark Nichols
markn at spicergroup.com

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users






More information about the mapguide-users mailing list