[mapguide-users] Re: Automatic zoom to selected features

2011-12-02 Thread Jackie Ng
I built the installer, so I sort of have an idea where everything is ;-) - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp7047230p7055000.html Sent from the MapGuide Users mailing list archive at Nabble.com. __

[mapguide-users] Re: Automatic zoom to selected features

2011-12-02 Thread soudemans
Thanks Jackie, Note, that it wasn't untill you mentioned it, that I sought to look for it, and you are right it is there. I am curious, how you ended up finding out about it? Sierk -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp704

[mapguide-users] Re: Automatic zoom to selected features

2011-12-01 Thread Jackie Ng
I got this information right from the Viewer API reference, that's installed as as start menu shortcut as part of your MapGuide installation - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp7047230p7053139.html Sent from the M

[mapguide-users] Re: Automatic zoom to selected features

2011-12-01 Thread soudemans
Jackie Ng wrote > > try: main.ExecuteMapAction(10); > > 10 is the command code for the built-in zoom to selection viewer command > > - Jackie > That was it: s += " main.ExecuteMapAction(10); " & vbLf Now the obvious question: Is this kind of stuff documented anywhere. How is anyone s

[mapguide-users] Re: Automatic zoom to selected features

2011-12-01 Thread Jackie Ng
try: main.ExecuteMapAction(10); 10 is the command code for the built-in zoom to selection viewer command - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp7047230p7051043.html Sent from the MapGuide Users mailing list archive

[mapguide-users] Re: Automatic zoom to selected features

2011-12-01 Thread soudemans
Jackie Ng wrote > > You could also just invoke the Zoom to Selection viewer command in your > javascript. > > - Jackie > Thanks Jackie, I tried using your suggestion by substituting: s += " main.ZoomToView(" + _CtrPtX + "," + _CtrPtY + "," + _MapScale + ", true);" & vbLf with: s += "

Re: [mapguide-users] Re: Automatic zoom to selected features

2011-11-30 Thread Scott Hameister
Chris and I need a scheduled day a little earlier...I have some submits and documentation and examples to make. Jackie Ng wrote: >You could also just invoke the Zoom to Selection viewer command in your >javascript. > >- Jackie > >-- >View this message in context: >http://osgeo-org.1803224.n2.n

[mapguide-users] Re: Automatic zoom to selected features

2011-11-30 Thread Jackie Ng
You could also just invoke the Zoom to Selection viewer command in your javascript. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Automatic-zoom-to-selected-features-tp7047230p7049124.html Sent from the MapGuide Users mailing list archive at Nabble.com. ___

[mapguide-users] Re: Automatic zoom to selected features

2011-11-30 Thread soudemans
I love it when I get the answer before anyone gets a chance to respond. And (I think that) this solution is pretty sweet. Some how I came accross the fact that you could get the extents of the Mg selection. Well as they say, everything else is history. If you have any questions or comments ple