data types and some of the built-in string and math methods available in JavaScript. This week (and probably next week too), we’ll cover operators, object literals, arrays, functions, if statements and for loops. Rather than go through it using slides and simple examples, we’ll build a starting point for the store locator element of your project. We’ll be working with Google Maps again, this time via the Google Maps JavaScript API though.
an empty starting structure for the application • Next, we’ll get the map displaying • We’ll then add the markers • After the markers, we’ll build the navigation list • Almost there - next comes displaying the info windows • Finally, we’ll implement the Reset Map button
starting point for the application. Unzip this to your H: drive under your IS1103 folder. The app consists of four files: index.html HTML file (already completed for you) style.css CSS styles (already completed for you) stores.js Data file (already completed for you) app.js App file (started, but incomplete) Let’s talk through the contents of these files now.
store locator example. We’ll also talk about some of the core concepts behind it in more detail. We’ll discuss the DOM and event handling, and we’ll learn a little bit about scope and the order of execution in JavaScript applications. If you didn’t get all the code taken down, I’ll post a new starting point online for next week’s lab.