Hi all first i'd like to say sorry for my unsubscribe but something was wrong with my mail account :-D now everything is ok.<br>I developed a little plugin based on <a href="http://www.cartoweb.org/cwiki/HowToWriteaRecenterPlugin">http://www.cartoweb.org/cwiki/HowToWriteaRecenterPlugin</a>.<br>
Everything is ok, it does recentering on selected point (with decimal coordinates) and zooming; the problem is with the crossahir parameter I'm not able to show nothing on my map.<br>My filterPostRequest function is above:<br>
public function filterPostRequest(FilterRequestModifier $request) {<br> <br> $searchString = $request->getValue('LatLng');<br> if (!empty($searchString)) {<br> $pieces = explode(", ", $searchString);<br>
$request->setValue('recenter_x', $pieces[1]);<br> $request->setValue('recenter_y', $pieces[0]);<br> $request->setValue('recenter_scale', '50000');<br> $request->setValue('recenter_doit', '1');<br>
$request->setValue('show_crosshair', '1');<br> }<br>}<br><br>In my client.ini i have enabled this plugin: exportPdf,exportCsv<br>and in server_conf this: outline, mapOverlay,exportPdf.<br>
<br>I followed another discussion on this list but nothing seem to change.<br>any idea?<br>Thanks a lot<br>Emmanuele<br>