Welcome

I'm a student and this blogg has been created to keep information on a daily to weekly basis about my project that i am doing to get my Bachelor of Information Technology. This is based on my progress, and a place to put all of my information, not entirely a proper blogg. Though sometimes i feel like i'll be talking to myself... Any ways, enjoy and feel free to comment. If your wondering what this project is and dont want to read every single post, just go to the Proposal link, or any of the "posts worth looking at" below.

Thursday, March 13, 2008

13/3 Google Cont.

_________________________________________________________
Start at: 9.00 a.m.
_________________________________________________________


Looking at alot of articles for arrays, and some basic stuff of routing that i'm starting to do.

************************************************************************
Break 10.00 a.m. Walk into tec etc etc
************************************************************************
_________________________________________________________
1.30 p.m. Project meeting
_________________________________________________________

After project meeting, i put together a list of Milestones which are in their own serperate post. So what i got out of the meeting was good, just thought about what i really want/need to get done by certain times, which will keep me more in line, and if somethings taking too long i will have to move on.

I have decided to start posting any problems i have and add them all to their own posting called this months problems. This will be any problems i have from lack of sleep to something that completely stops my project such as changing the API i'm using.

Also went over how i'm feeling atm about how much time its taking me to test things with Google Maps, because i found that i don't know enough JavaScript, so what i decided was to get out a book thats just one huge referance as i'm struggling to search specific things on the internet, and to just do a couple of tutorials from the book. BUT i dont want to get too distracted, so i will only specify a certain time space to learn what i can and then move on, if it becomes too much more of a problem i will record it under my problems.

I went to the library and got out:

C # Unleashed - Joseph Mayo
The Complete Reference - JavaScript - Thomas Powell, Fritz Schneider

_________________________________________________________
4.00 p.m. - 6.00 p.m. CLASS
_________________________________________________________

************************************************************************
Break 6.30 p.m. Tea - FOOOOD
************************************************************************
_________________________________________________________
7.00 p.m.
_________________________________________________________

Thinking about the problem of the travelling salesman, went for walk and really went over it in my head. My thoughts on this will be in this post.

************************************************************************
Break 10.00 p.m. Tea - little bit of WOWOWOWOW
************************************************************************

_________________________________________________________
11.00 p.m.
_________________________________________________________

Did a few more things like finish my milestones document, and just thinking more about the problems i may face in the near future.

_________________________________________________________
Finish at something something - Hours around 6ish
_________________________________________________________


LINKS

http://googlemapsapi.blogspot.com/2006/07/speed-improvements-custom-cursors.html
http://maps.forum.nu/gm_driving_directions2.html
http://www.w3schools.com/jsref/jsref_obj_array.asp
http://www.plus2net.com/javascript_tutorial/array-pop.php
http://econym.googlepages.com/basic4.htm
http://www.codeproject.com/KB/custom-controls/LatLaysFlat-Part1.aspx - Tutorial ASP

Arrays
http://www.go4expert.com/forums/showthread.php?t=3641
http://msdn2.microsoft.com/en-us/library/1x0axdaz.aspx
http://www.webcheatsheet.com/asp/multidimensional_arrays.php?print=Y
http://webster.cs.ucr.edu/AoA/Windows/HTML/Arraysa2.html
http://en.wikipedia.org/wiki/Multidimensional_array#Multi-dimensional_arrays
http://msdn2.microsoft.com/en-us/library/2s05feca(VS.80).aspx

Wednesday, March 12, 2008

12/3 Google Cont. Coords & Arrays

_________________________________________________________
Start at: 8.00 a.m.
_________________________________________________________



  1. Geocoding
  2. Creating markers on the page by clicking and getting these long/lat co-ords & address
  3. Make a map that makes a route from one place to another
  4. Make the same route add on another end point
  5. Format and get the directions information and display this
  6. Get more info on how to implement google maps into an app (curiosity)
  7. Figure out how their drag and drop of routes works

Today plan of attack: carry on with above. Atm i am implementing html windows (here's an example of them). So far i think I am struggling a bit when it comes to the actual implementation of the javascript, as it is competely new to me besides being like the small amount of php that i have done. I am adding all of the points clicked into an array so that when the user wants to clear those points it can loop through the array and delete those overlays, also i want to produce a list of the array and all points. This however is proving slightly difficult as i dont no anything about javascript!!!!

************************************************************************
Break 10.00 a.m. - CHORES!
************************************************************************
_________________________________________________________
10.15 a.m.
_________________________________________________________

************************************************************************
Break 11.00 a.m. - LUCNH
************************************************************************

_________________________________________________________
1.00 p.m.
_________________________________________________________

Figuring out JavaScript. Mainly everything to do with arrays.

************************************************************************
Break 3.30 p.m.
************************************************************************

_________________________________________________________
7.00 p.m.
_________________________________________________________

Ok so what i have done is made it so that all of the co-ordinates are kept in an array and read out into a label. The main problem i had here was figuring out the syntax of javascript, mainly the code below, guessing that i had to put brackets around what i was putting into the string.. simple yes but not when you dont no what you have to use brackets!

var resultString = '';
for (var i=0;i(i + gmarkers[i] + " ");
}
document.getElementById('lblValues').innerHTML = resultString;

}

_________________________________________________________
Finish 8.30 p.m. - 6ish Hours
_________________________________________________________

LINKS

http://www.456bereastreet.com/archive/200512/label_your_form_controls_properly/
http://www.comptechdoc.org/independent/web/cgi/javamanual/javabutton.html
http://www.c-point.com/javascript_tutorial/array.htm
http://www.davesite.com/webstation/js/javascript_basics_variables_and_button_actions.shtml
http://www.hunlock.com/blogs/Mastering_Javascript_Arrays
http://www.mikejonesey.co.uk/html/google_map.html
http://www.webmasterworld.com/forum91/4149.htm

Tuesday, March 11, 2008

11/3 Google Cont. Coords

_________________________________________________________
Start at: 9.00 a.m.
_________________________________________________________


  1. Geocoding
  2. Creating markers on the page by clicking and getting these long/lat co-ords & address
  3. Make a map that makes a route from one place to another
  4. Make the same route add on another end point
  5. Format and get the directions information and display this
  6. Finish project proposal and send in
  7. Get more info on how to implement google maps into an app (curiosity)
  8. Figure out how their drag and drop of routes works
OMG WOOT!!!!! I finaly figured out how to do the co-ords... as actually quite simple.. but yea click here to see page, check out how easy the code is! lol. Basically all i really needed was the following code to get the co-ords off of the page for me. Hurray for learning new stuff!

function mapClick(marker, point) {
document.getElementById("lng").value = point.x;
document.getElementById("lat").value = point.y; }

Next i will create markers at these points and might try get back the actual location details.

************************************************************************
Break 11.30 - LUNCH
************************************************************************

_________________________________________________________
12.00 p.m.
_________________________________________________________

After having a look at this website i used their code to add pins to where the user clicks. Now i have to figure out how to delete the layers, which i'm going to do on this page. The code i am getting to delete layers i got from here.

************************************************************************
Break 2.00 - Go to tec
************************************************************************
_________________________________________________________
3.00 p.m.
_________________________________________________________

Carry on with stuff.
_________________________________________________________
4.00 p.m. - 6.00 p.m. class
_________________________________________________________

************************************************************************
6.00 p.m. - TEA etc etc
************************************************************************
_________________________________________________________
11.00 p.m.
_________________________________________________________

http://www.mikejonesey.co.uk/html/google_map.html
http://code.google.com/support/bin/answer.py?answer=65620&topic=11364#coordinates http://econym.googlepages.com/basic1.htm
http://www.webmasterworld.com/forum91/4149.htm
http://www.hunlock.com/blogs/Mastering_Javascript_Arrays
http://www.geocodezip.com/MarkerCheckBoxes.asp

_________________________________________________________
Finish hmmm.. 5 Hours
_________________________________________________________

Monday, March 10, 2008

10/3 Google Cont.

_________________________________________________________
Start at: 11.00 a.m.
_________________________________________________________

Final? i hope project proposal sent in. Now time to do more general reasearch on that list of things to do, also have a project management assignment due in tomorow that i havent started *cough* so better do that at some stage.

  1. Geocoding
  2. Creating markers on the page by clicking and getting these long/lat co-ords & address
  3. Make a map that makes a route from one place to another
  4. Make the same route add on another end point
  5. Format and get the directions information and display this
  6. Finish project proposal and send in
  7. Get more info on how to implement google maps into an app (curiosity)
  8. Figure out how their drag and drop of routes works

************************************************************************
Break 12.00 - LUNCH
************************************************************************

DAY OFF, SICK :(

1 hour