FW: fusion search widget

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FW: fusion search widget

Csaba Janossy

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: [hidden email] [mailto:[hidden email]] On Behalf Of Csaba Janossy
Sent: Tuesday, February 12, 2013 4:43 PM
To: [hidden email]
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

 

 


_______________________________________________
fusion-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/fusion-dev