Google Maps : power tools for maximizing the API /
Featuring numerous step-by-step examples, this book covers programming the Google Maps API with JavaScript. The reader will learn how to embed maps on Web pages, annotate the embedded maps with data, generate KML files to store and reuse map data, and enable client applications to request spatial da...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York :
McGraw-Hill Education,
©2014.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Cover
- About the Author
- About the Technical Editor
- Title Page
- Copyright Page
- Contents at a Glance
- Contents
- Acknowledgments
- Introduction
- Why This Book?
- Who Should Read This Book
- What This Book Covers
- How to Use This Book
- How Is This Book Organized?
- Chapter 1: Introduction to Maps and the Google API
- Building Map-Driven Applications
- The Map Tiles
- Cartography 101
- The Mercator Projection
- A Global Addressing Scheme: Parallels and Meridians
- Converting Angles to Length Units
- The Google Maps API
- Using the Google Maps API
- Summary
- Chapter 2: Designing Web Pages with Embedded Maps
- The Structure of a Web Page
- Adding a Map to Your Page
- Is Notepad the Editor of Choice?
- Map Localization
- Zooming with the Mouse
- The Map's Controls
- Adding Markers to the Map
- A Useful Template for Mapping Pages
- Designing the Demo Map Page
- Summary
- Chapter 3: Web Page Scripting: An Introduction to JavaScript
- What Is JavaScript?
- How to Test JavaScript Code
- JavaScript's Basic Syntax
- Variables and Data Types
- Arithmetic Operations
- Math Operations
- Working with Text
- Working with Dates
- Control Flow Statements
- Conditional Statements
- Looping Statements
- Functions
- Arrays
- Array Properties and Methods
- Summary
- Chapter 4: Advanced JavaScript Topics
- Storing Data in Custom Objects
- Creating Objects On the Fly
- Variables and Objects
- Objects and Methods
- Prototyping Custom Objects
- Custom Objects as Collections
- Event Listeners
- Passing Information to the Event Listener
- Removing an Existing Listener
- Closures
- Summary
- Chapter 5: Google Maps API: The Building Blocks of Mapping Applications
- The Google Maps API at a Glance
- The google.maps.Map Object
- Map Initialization
- Map Options
- Map Methods
- The Marker and InfoWindow Objects
- Working with Map Events
- The Basic Map Events Application
- Drag Events
- Mouse Events
- State Events
- A Customized Map
- Adding a Context Menu to the Map
- Designing the Context Menu
- Displaying the Context Menu
- A More Elaborate Context Menu
- The Multiple Maps Application
- Summary
- Chapter 6: Windows Mapping: Embedding Maps in Desktop Applications
- Why a Desktop Application
- Using Google Maps with Desktop Applications
- The WebBrowser Control
- The Windows Mapping Application
- The Application's Architecture
- Designing the Application
- Building the Windows Interface
- Adding Custom Functions to the Script
- Function Return Values
- Notifying the Host Application with Method Calls
- The Interaction Model of the Two Components
- Initializing the Map
- Updating the Interface
- Adding the Context Menu
- Tracking User Navigation
- Adding Markers to the Map
- Summary
- Chapter 7: Markers: Identifying Locations on the Map
- Marking Locations on the Map
- Adding a New Marker
- Qualifying Markers with InfoWindows