[pmapper-users] wrong coordinates
im working to this webgis : http://igpozzo.mpasol.it/lichgis/map.phtml?config=licheni as you can see the coordinates (on the bootom left of the page) points to the same number...im working with pmapper 3.0... how can i solve this? Thanks luca penasa -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti e Finanziamenti con un semplice click, scopri subito se sei finanziabile cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910d=24-4 - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] wrong coordinates
Hi Luca, this is a bug in the seguent function: (in /javascript/zoombox.js file) function displayCoordinates() { var mpoint = getCoords(moveX, moveY, false); //var mpoint = getCoords(moveX, moveY, true); // Round values (function 'roundN()' in 'measure.js') var rfactor = 0; var px = isNaN(mpoint.x) ? '' : roundN(mpoint.x, rfactor); var py = isNaN(mpoint.y) ? '' : roundN(mpoint.y, rfactor); // Display in status bar /* var mapCoords = 'X: ' + px + ' Y: ' + py; window.status = mapCoords; */ // Display in DIV over MAP $('#xcoord').html('X: ' + px); // + ' deg;'; $('#ycoord').html('Y: ' + px); // + ' deg;'; } change the last row $('#ycoord').html('Y: ' + px); // + ' deg;'; in $('#ycoord').html('Y: ' + py); // + ' deg;'; Bye Walter Luca Penasa ha scritto: im working to this webgis : http://igpozzo.mpasol.it/lichgis/map.phtml?config=licheni as you can see the coordinates (on the bootom left of the page) points to the same number...im working with pmapper 3.0... how can i solve this? Thanks luca penasa -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti e Finanziamenti con un semplice click, scopri subito se sei finanziabile cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910d=24-4 - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Please no .doc, .xls, .ppt, .dwg: https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats Walter Lorenzetti email+jabber: [EMAIL PROTECTED] www.faunalia.it Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742 Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
Re: [pmapper-users] wrong coordinates
FYI: the bug has also been fixed in p.mapper 3.0.1 (it always helps to mention the full version you are using) and the latest stable at http://www.pmapper.net/dl/pmapper-stable.zip or http://svn.pmapper.net/trac/browser/pmapper/branches/latest-stable which is always the most recommended to use if you want to have most bugs fixes included. armin Original-Nachricht Datum: Tue, 24 Apr 2007 15:10:23 +0200 Von: Walter Lorenzetti [EMAIL PROTECTED] An: Luca Penasa [EMAIL PROTECTED] CC: pmapper-users@lists.sourceforge.net Betreff: Re: [pmapper-users] wrong coordinates Hi Luca, this is a bug in the seguent function: (in /javascript/zoombox.js file) function displayCoordinates() { var mpoint = getCoords(moveX, moveY, false); //var mpoint = getCoords(moveX, moveY, true); // Round values (function 'roundN()' in 'measure.js') var rfactor = 0; var px = isNaN(mpoint.x) ? '' : roundN(mpoint.x, rfactor); var py = isNaN(mpoint.y) ? '' : roundN(mpoint.y, rfactor); // Display in status bar /* var mapCoords = 'X: ' + px + ' Y: ' + py; window.status = mapCoords; */ // Display in DIV over MAP $('#xcoord').html('X: ' + px); // + ' deg;'; $('#ycoord').html('Y: ' + px); // + ' deg;'; } change the last row $('#ycoord').html('Y: ' + px); // + ' deg;'; in $('#ycoord').html('Y: ' + py); // + ' deg;'; Bye Walter Luca Penasa ha scritto: im working to this webgis : http://igpozzo.mpasol.it/lichgis/map.phtml?config=licheni as you can see the coordinates (on the bootom left of the page) points to the same number...im working with pmapper 3.0... how can i solve this? Thanks luca penasa -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Prestiti e Finanziamenti con un semplice click, scopri subito se sei finanziabile cliccando qui Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2910d=24-4 - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Please no .doc, .xls, .ppt, .dwg: https://www.faunalia.it/dokuwiki/doku.php?id=public:OpenFormats Walter Lorenzetti email+jabber: [EMAIL PROTECTED] www.faunalia.it Cell: (+39) 347-6597931 Tel+Fax: (+39) 0587-213742 Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users -- Feel free - 10 GB Mailbox, 100 FreeSMS/Monat ... Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users
[pmapper-users] search field encoding
Hello all. I have a problem with the search field, when i want to find something like Acámbaro, I get an error on Postgresql, It says than the word Ac\xe1mbaro is not a valid unicode. I have all my settings on UTF-8 Apache, Postgresql database, the metadata field on the map file, php.ini, config.ini I can't find where the text changes from Acámbaro that I write in the form field to Ac\xe1mbaro which postgresql get from php givin the invalid unicode. pmapper 2.1.2 apache 2.0.52 php 4.3.9 postgresql 8.1.9 postgis 1.1.6 OS: Linux Thanks -- Nahum Castro González León, Guanajuato, México - 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 pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users