CSCI321 - Project Diary

Thursday, August 17

Maps generated using php and our DB

Well, over the last 4 days I have been doing about 3 -> 4 hrs a day on getting my map.php code to work. At present it works kinda like this

  1. Receive a function and a uuid via $_POST,
  2. Query the DB to get the current positional information using the uuid,
  3. Create a map and centre it on this info,
  4. Add a point which has this positional information stored with it, so when user clicks on it, you get Lat,Long, Speed and Direction.
  5. Update the map...at present it just adds 0.001 to the lat and long. I need to change this so it re-runs the DB query and gets new position.
Once I get 5 sorted I am going to move onto displaying polylines

Shawn

0 Comments:

Post a Comment

<< Home