There were several postings for that on this list. I once posted a 
sample script and some modified it, I guess. There should be users who 
can provide you with this code.

For seeing how you can include this into the Javascript used by p.mapper 
see the custom.js under config/default/ and the short comments at the 
beginning of the functions. You need to remove the comments from 
/default/php_config.php->$buttons array to see how it's working.

armin

Johanes Setiawan wrote:
> Hi All,
> 
> I'm newbie,i want to know about adding point in Postgis database
> I have already created a Postgis database and a table with some fields such
> as latitude and longitude.
> In my map-file I added some lines, so I can visualize the Postgis records as
> a point layer.
> Now I like to create a new tool. With this newtool I would like to click
> somewhere in the map,
> retrieve de latitude,longitude-coordinates and add the values in the Postgis
> database.
> 
> Can somebody please help me and give me some example file too
> 
> Thanks,
> 
> Johanes.
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> pmapper-users mailing list
> pmapper-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pmapper-users
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to