<p>
Hello list,
</p>
<p>
I'm writing a plugin to search into a database and display mixed icons on the map.
</p>
<p>
I use ajax to send vars to the client side of the plugin, no problem with that. But when i remove items with JS (hidden fields) and send new query the old vars are send (cookie i think).
</p>
<p>
What can i do to cleanup that ?
</p>
<p>
Another question, how can i get the current extent in the server side ? $this->getServerContext()->getMapObj()->extent give me the extent of the mapfile, not the current extent.
</p>
<p>
You can view the plugin (it do nothing server side actually) here: http://cartoweb.localix.org/ in the DBSearch tab.
</p>
<p>
It's in early stage of development but source code can be accessed here: http://cwdbsearch.googlecode.com/svn/trunk/ . Some parts are ugly and for testing purpose only, sql request are not in the config file and directly in the code actually. It's my firt steps with cartoweb :)
</p>
<p>
Thanks,
</p>
<p>
Christophe
</p>