CHAPTER 3Interacting with the Userand the Server
Now that you've created your first map (in Chapter 2) and had a chance to perform some initial experiments using the Google Maps API, it's time to make your map a little more useful and dynamic.
In this chapter, you'll explore a few examples of how to provide interactivity in your map using the Google Maps API, and you'll see how you can use the API to save and retrieve information from your server. While building a small web application, you'll learn how to do the following:
- Trigger events on your map and markers to add either new markers or info windows
- Modify the content of info windows attached to a map or to individual markers
- Use Google's
GXmlHttp
object to communicate with your server ...
Get Beginning Google Maps Applications with Rails and Ajax: From Novice to Professional now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.