To use the Google Maps API's I'll need to know javascript. Here are some things I learned today:
Javascript has funny objects. Even functions are objects. And there's a lot inheritance going on.
For instance, if you want to create a new function that is a subtype of some class; you must implement all the appropriate "Abstract Methods" of that class.
Javascript ties everything to your html document through the DOM and DOM events. Examples of DOM elements are <div>, <body>, etc. DOM events are events that are generated by certain actions in the document like loading, clicking, moving, dragging, etc. Easiest way to think of GM is that each map instance is tied to a specific <div> or other element in your DOM. Event handlers are functions that get called when a certain event occurs and then does something.
Some useful websites:
Google Maps API
HTML tag list
Javascript DOM reference
Sunday, June 3, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment