Hello pmapper-users

I am trying to implement a form to generate dynamic layers in
pmapper, but I do not know where I can insert this code.
I want to send
a sql query of a form to pmapper it, somebody have some
suggestion?


Example:

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Form --> send sql_query variable

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Pmapper Code -->

$map = ms_newMapObj("config/default/dynamic.map");

$data = $_POST[sql_query];
$dynamic_layer = $map->getlayerbyname("dynamic");
$dynamic_layer->set("data",$data);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Result in interface -->

Dynamic and Static layers in pmapper

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Regards,
Rodrigo Gaete






__________________________________________________
Fale com seus amigos  de graça com o novo Yahoo! Messenger 
http://br.messenger.yahoo.com/ 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to