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.

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

No comments: