Start at: 8.00 a.m.
_________________________________________________________
- Geocoding
- Creating markers on the page by clicking and getting these long/lat co-ords & address
- Make a map that makes a route from one place to another
- Make the same route add on another end point
- Format and get the directions information and display this
- Get more info on how to implement google maps into an app (curiosity)
- 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
}
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:
Post a Comment