> Between my needs they are:
>
> - With the XYLAYER_PROPERTIES I can get the data coordinates (in my case
> GPS
> very Dynamic data) for a layer from a datbase, bu I need to display more
> data than the coordinates, other attributes from the table/view from which
> are taken these coordinates. At the moment, the application draws an icon
> for each point retrieved from the DB. Specifically, I want to show for
> each
> point it's velocity, direction, ID, etc., when I click the mouse over one
> of
> these icons.
> Is there some idea of how facing this? can I continue using
> XYLAYER_PROPERTIES or Must I change the way I retrieve the data?
>
does it not work with the settings for
METADATA
"RESULT_FIELDS" "col1, col2,..."
?
In principal XY layers should work as well with the auto-identify function.
In pm 3.1 you can set the debug level in the config.ini to 3 and you should get
the SQL command used for the query, written to the dir of the PHP error log and
with a name like pm_debug.log. This way you could check where errors could be.
XY layers are not so heavily tested by me since I don't use them very much.
> - This is not related to the problem with the database: how to auto refesh
> the map area without a button press?, for example with a timer, one time
> every minute. It's possible to do this with the pmapper autorefresh?
>
you can use the function reloadMap(false) and execute it every 60 seconds. You
need a nested loop of a timeout command, like
function runPeriodically() {
window.setTimeout('runPeriodically()', 60000 );
reloadMap(false);
}
or something similar and run this with the body onload (or just put it in
pm_init()).
or have a look at the jQuery plugin at http://www.jasons-toolbox.com/JHeartbeat/
> Any contribution will be welcome.
> Thank you in advance,
> specially thanks to Armin for his clarifying answers,
> Gaston.
>
>
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: http://www.gmx.net/de/go/promail
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users