[fusion-dev] fusion search widget next

Csaba Janossy Csaba.Janossy at cadi.hu
Tue Feb 12 07:43:21 PST 2013


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/20130212/08824907/attachment.html>


More information about the fusion-dev mailing list