The Lat49 Client API v0.10


Table of Contents
1. Changes Between Releases
1.1. Changes in Version 0.10
1.2. Changes in Version 0.03
1.3. Changes in Version 0.02
2. Introduction
2.1. Lat49 Ad Geography
3. Quick Start
3.1. The Lat49 Script
3.2. Initialization
3.3. Getting ads
3.4. A Simple Example
3.5. Getting Pushpins
3.6. A Simple Pushpin Example
3.7. Handling Server Accessibility and Ad Blocking Problems
4. The Lat49 API Reference
4.1. The Lat49 Object
4.2. The Lat49.AdHelper Class
4.3. The Lat49.Tile Methods
4.4. The Lat49.Ads Class
4.5. Tweaking Ad Appearance
4.5.1. Positioning of Ad Contents
4.5.2. Debugging Mode for Ads
4.5.3. Notification for Updated Ads
4.5.4. Showing and Hiding Pushpins
5. Incorporating Lat49 ads into Map-based Applications
5.1. Updating Ads Based on Map Events
5.2. Simple Google Map with Ads
5.3. Simple Google Map with Ad Pushpins
5.4. Simple Virtual Earth Map with Ad Pushpins
Index
List of Figures
2-1. Ad tile array at zoom level 1
3-1. Example ad with pushpin control panel.
List of Examples
3-1. Loading the script in HTML
3-2. Initializing within HTML
3-3. Creating a Lat49.AdHelper object
3-4. Displaying an ad
3-5. Simple Embedded Ad
3-6. Setting up the pushpin attributes
3-7. The showPushpin callback method
3-8. The hidePushpin callback method
3-9. Simple embedded pushpin ad
3-10. Embedded Ad with Wrapper Code
3-11. Creating a Dummy Lat49 Object
4-1. Low Level Request Example
4-2. Setting ad positioning
4-3. Enabling Debugging Mode
4-4. Defining a Notification Callback for Updated Ads
4-5. Defining Callbacks for Showing and Hiding Pushpins
5-1. Adding a mouse click listener when using Google Maps
5-2. Adding a mouse click listener when using Virtual Earth
5-3. Example of ads in Google Maps
5-4. Example of ads with pushpins in Google Maps
5-5. AdPushpin javascript file using Google Maps
5-6. Example of ads with pushpins using Virtual Earth
5-7. AdPushpin javascript file using Virtual Earth