Have you played around with the map tips widget? I preforms a query when the mouse is still on a feature then creates a popup with a custom url that you can define based on the selected features data.<br><br>Cheers<br><br>
Paul D<br><br><div class="gmail_quote">On Wed, Jul 22, 2009 at 9:04 PM, Jackie Ng <span dir="ltr"><<a href="mailto:jumpinjackie@gmail.com">jumpinjackie@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi All,<br>
<br>
We have maps where we need to perform an action (load a url in the task<br>
pane) in response to a map selection.<br>
<br>
In the AJAX viewer, it would be a simple case of hooking into the viewer<br>
events and overriding the selection handler<br>
(<a href="http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking" target="_blank">http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAXViewerEventHooking</a>)<br>
<br>
But in Fusion, with its template and widget driven approach, this seems to<br>
be a bad idea. So, short of hacking each template to support this<br>
functionality (worst case), it is possible to make a "startup" widget that<br>
listens to the widget events I'm after and bind them to inline code also<br>
defined in the widget. Sort of like a automatic InvokeScript?<br>
<br>
- Jackie<br>
<font color="#888888">--<br>
View this message in context: <a href="http://n2.nabble.com/Startup-widgets-possible--tp3306936p3306936.html" target="_blank">http://n2.nabble.com/Startup-widgets-possible--tp3306936p3306936.html</a><br>
Sent from the Fusion Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
fusion-users mailing list<br>
<a href="mailto:fusion-users@lists.osgeo.org">fusion-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/fusion-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/fusion-users</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br> Paul Deschamps<br> Applications Specialist<br> DM Solutions Group Inc.<br><br> Office: (613) 565-5056 x28<br> <a href="mailto:pdeschamps@dmsolutions.ca">pdeschamps@dmsolutions.ca</a><br>
<a href="http://www.dmsolutions.ca">http://www.dmsolutions.ca</a><br> <a href="http://research.dmsolutions.ca">http://research.dmsolutions.ca</a><br> <br><br>