Hello,
In viewerfiles directory there is mainframe.templ file. Somewhere around
line 540 there is function called OnSelectionChanged
function OnSelectionChanged()
{
var selCount = mapFrame.GetSelectedCount();
if(selCount > 0)
{
Alert('Kaka is best player around');
}
..........
{
Put something instead alert J
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tanja
Suikkanen
Sent: Friday, April 25, 2008 1:25 PM
To: [email protected]
Subject: [mapguide-users] OnSelectionChanged in AJAX viewer?
Hello all readers!
On my map I have markup features on markup layers. When I select a
feature on the map and press a button (self made), I can see properties
of that feature in taskPaneFrame.
The problem is that I want properties to show automatically without a
button_click.
I've read that only DWF-viewer supports "onSelectionChanged" function so
how can I manage this in my app?
So I use AJAX-viewer and my dev-language is C# on ASP.NET.
Any help would be great,
Tanja
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users