Thanks James, I will read through those. By the way, where can I find sample data and instructions on integrating it? I would like to make a small Access database to test these things off of so that I can change data as I like. The samples that came with MG are in .sdf format that I cannot get open to edit.
Thanks! James Card wrote: > > On Fri, 15 May 2009 09:27:11 -0700, briancomeau > <[email protected]> wrote: > >> Ok, so I found Invoke URL under advanced commands as part of a Web >> Layout. This looks like it can configure a button to do something. How >> can I have this execute as soon as the user clicks (selects) an object on >> any layer. >> >> For example, in 6.5, I could have a map and as soon as the user selects >> Texas, 'TX' is passed to Flash. If the user were to zoom-in and click on >> 'Dallas', then 'Dallas' is passed to Flash. > > This will require adding a JavaScript function to the page and hooking it > into the selection-changed event. I'd start with "Hooking to events in the > AJAX viewer" > <https://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking> > and the "MapGuide Viewer API Reference" > <http://mapguide.osgeo.org/files/mapguide/docs/2.0/viewerapi.html>. > >> Oh, I looked at passData, but even after changing the layer to >> 'VotingDistricts' (my layer instead of Rooms) it still doesn't work. > > There are several parameters that will need to be configured in the > invoke-url dialog in order to make this work, and of course you must have > a page to forward the data to. > > I'll admit that the change from MapGuide 6.5 to MapGuide Enterprise is a > difficult one; there is much to learn about the new architecture -- it is > a dramatically different set of technologies than the old one. Much more > of the processing happens server-side now. > > -- > James Card > California CAD Solutions, Inc. > 209-578-5580 - Voice > 209-521-6493 - FAX > _______________________________________________ > mapguide-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > -- View this message in context: http://n2.nabble.com/AJAX-FUSION-Viewer-%3A%3A-Pass-data-from-Flash-to-Map-%282-Frames%29-tp2899031p2909058.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
