CSCI321 - Project Diary

Sunday, September 24

Multiple Unit Display

Well, after a few night coding I have got the php side of map.php accepting multiple devices as args, I am now able to pass this into the javaScript so I could display multiple devices at once. But, there seems to be a timing issue on the javaScript side of things when running the getLastPoint.php, I am only getting one device added, but if I add in a alert(DeviceName) to see if both device's are passed in (they are) I get both device's displayed...

So, I need to look at either making the getLastPoint.php quicker, adding a "sleep" or some other way to get multiple devices displaying.

Shawn

0 Comments:

Post a Comment

<< Home