[fusion-dev] FW: fusion search widget
Csaba Janossy
Csaba.Janossy at cadi.hu
Mon Feb 25 01:37:03 PST 2013
Hello,
I've found a solution for my problem. Originaly, my target was not just see the selected item,
but the environment. So I modified the GetSelectionProperties.php and the SaveSelection.php.
Because the extent of the object is calculating in this scripts, so I increased the extent.
best regards,
Csaba
From: fusion-dev-bounces at lists.osgeo.org [mailto:fusion-dev-bounces at lists.osgeo.org] On Behalf Of Csaba Janossy
Sent: Tuesday, February 12, 2013 4:43 PM
To: fusion-dev at lists.osgeo.org
Subject: [fusion-dev] fusion search widget
Hello,
I'd like to get centered the search result with a zoom scale parameter, e.g. 1300.
Is there an existing function for it or need to modify anything?
The onclick event on the selection is (in the search.templ file):
function CellClicked(sel)
{
var map = GetParent().Fusion.getMapByName(mapName);
map.setSelection(sel, true);
}
It is call xmlhttprequests, after this I need a zoomToScale(1300) when the onreadystateexchange is ready,
but I don't know where. Can anyone help me?
br,
Csaba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/fusion-dev/attachments/20130225/a63e34c4/attachment.html>
More information about the fusion-dev
mailing list