[mapguide-users] Creating command w/ Invoke Script

Steven J Reed sjreed at edcomputing.com
Fri May 5 12:56:46 EDT 2006


Why can't I get anyone to give me info on the 'Invoke Script' command?

 

This is my 2nd request in 2 weeks and it just seems to be ignored!

 

Does anyone use this?  Is there documentation somewhere that might lead me
down a successful path to use this capability?

 

Here's hoping someone knowledgable will respond!

 

.Steve

 

  _____  

From: Steven J Reed [mailto:sjreed at edcomputing.com] 
Sent: Wednesday, May 03, 2006 8:49 PM
To: users at mapguide.osgeo.org
Subject: [mapguide-users] Creating command w/ Invoke Script

 

I want to create a Command that will call the DigitizeRectangle mgMap
method, get the coordinates of the rectangle and pass them to a URL to be
processed by a VB.Net app that will add a layer to the map.

 

It would seem that an 'Invoke Script' action would be a reasonable means of
doing this.  

 

But.how does one get at the Map within the Invoke Script interface?  The
mapFrame is accessible, but there does not seem to be a mgMap object
defined.  Shouldn't it be easy to get at the map from a Script?

 

Once I get the coordinates, how would I post the coordinates as parameters?

 

I do this in MapGuide 6.5, so I think I should be able to do it in MapGuide
OS.  

 

 Am I all wet?

 

Thanks.Steve

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20060505/22dd8885/attachment.html


More information about the Mapguide-users mailing list