Google Maps API Development Guide cover

Google Maps API Development Guide

No rating yet
Chapters
36
Series
A Frances C. Chen Book
ISBN
9787111288077

Tags

Summary

Published by China Machine Press in January 2010, Google Maps API Development Guide is a hands-on book on web map development. Its author, Chen Yuchun, is a GIS professional and systems analyst who has also written for Programmer magazine and the IT168 technology column. The book runs to 447 pages in 16mo paperback format and comes with a CD containing sample source code and auxiliary tools. The content unfolds layer by layer, from concepts to worked examples: it first introduces electronic maps and the Google Maps service family (Google Earth, Google Maps, Google terrain maps, Google 3D models, and Google mobile maps) and surveys domestic map service providers such as MapABC, Mapbar, and Lingtu; it then explains how to set up a Google Maps API development environment and how to debug JavaScript, before covering the necessary foundations of object-oriented JavaScript, the browser object model, event-driven programming, and Ajax. Moving to the main subject, it covers applying for an API key, loading a map, switching map types, panning and map controls, GMarker markers and custom GIcon icons, info windows, and other core objects; it then extends to event handling, controls, overlays, geocoding, and local search; and finally uses two complete application cases, a branch network management system and map search, to show how scattered APIs can be combined into a usable web map product, and discusses the prospects for the Google Maps API. The book is characterized by its step-by-step guided instruction, emphasizing the principles behind the APIs while providing examples that can be run directly, making it suitable for developers who need to embed electronic maps in web pages and want to study the subject systematically. It should be noted that the book was written in 2010 and is based on the early Google Maps JavaScript API of that time (including the API key mechanism and class names beginning with G), which differs considerably from today's mapping platforms and API versions; it is best read as a reference for principles and approaches.

Editor's review

国内Web地图开发刚起步的那几年,能用中文系统讲清Google Maps API的资料并不多,这本书填补了这块空白:它没有停留在“贴一段代码”,而是先讲电子地图、瓦片、坐标系与事件模型这些底层概念,再通过GMarker、GIcon、信息浮窗、地址解析、本地搜索逐一铺开,读者跟着做一遍,基本能理解“一张网页地图”是如何被搭起来的。 它的最大价值是实战性。书中两个完整实例“网点管理系统”与“地图搜索”,把标注、事件监听、数据组织、搜索交互串成一条线,相当于一份早期WebGIS项目的迷你蓝图;附赠光盘的源码也方便读者边改边学,非常适合作为团队内部培训或自学的落地材料。 也要坦诚地说,本书成书于2010年,所讲的API密钥机制与G开头的类名早已被新的地图平台取代,部分章节对今天的开发不能直接照搬。因此它不是一本“照着敲就能上线”的时效书,而是一本理解地图应用架构与交互逻辑的入门书——把书中思想迁移到主流地图平台上,才是正确的打开方式。

Who it's for

A good fit for

  • 需要给网站或系统嵌入地图功能的Web前端、后端开发者
  • 从事WebGIS或GIS可视化工作、想补足前端地图开发经验的技术人员
  • 希望了解电子地图、标注、叠加层、地址解析等基础概念的高校学生
  • 偏好通过完整案例学习API调用与项目结构组织的自学者

Not a good fit for

  • 只希望学习当前主流地图平台最新API、需要最新版语法的开发者
  • 完全没有HTML与JavaScript基础、想零基础直接上手的读者
  • 寻求移动端地图SDK或原生App定位开发内容的读者

Reading tips

  1. 先通读第1至3章补齐电子地图与JavaScript、Ajax基础,再动手做第4章的Hello World,避免直接跳进案例。
  2. 书中代码可在本地运行调试,建议对照随书光盘源码逐段修改参数,观察地图类型、标注与浮窗的变化。
  3. 将API版本差异当作阅读重点:把G开头的类名与新版地图API对象做对照,记录自己需要迁移的写法。
  4. 最后不要只跑通示例,尝试把“网点管理系统”改造为自己的数据,这是检验是否真正掌握的最快方式。

About the publisher

China Machine Press China · Founded in 1950

In addition to science and technology and professional publishing, the books in our catalog from China Machine Press also reflect a sustained focus on psychology, computing, management, finance and economics, and social sciences. In psychology, the catalog includes works by C. G. Jung and introductions to analytical psychology, as well as applied topics such as stress and health, and addiction and healing. In computing, it features Structure and Interpretation of Computer Programs (JavaScript Edition). Management and finance titles include Administrative Behavior (4th Edition), The Price of Inequality (Collector's Edition), and This Time Is Different: Eight Centuries of Financial Folly (Commemorative Edition). In the philosophy and history of science, there is The Worldview: The Third Edition. Relevant authors include C. G. Jung, William McGuire, Sonu Shamdasani, and Gabor Maté. Public information is limited; the above summarizes the publisher's profile based solely on the books in our catalog.

Contents

  1. Preface
  2. Chapter 1 Overview of Google Map Services
  3. 1.1 Electronic Maps
  4. 1.1.1 Overview of Electronic Maps
  5. 1.1.2 Types of Electronic Maps
  6. 1.1.3 Users of Electronic Maps
  7. 1.2 Google Map Services
  8. 1.2.1 Google Earth
  9. 1.2.2 Google Maps
  10. 1.2.3 Google Terrain Maps
  11. 1.2.4 Google 3D Models
  12. 1.2.5 Google Mobile Maps
  13. 1.3 Overview of Domestic Map Service Providers
  14. 1.3.1 MapABC
  15. 1.3.2 Mapbar
  16. 1.3.3 Lingtu
  17. 1.4 Summary
  18. Chapter 2 Setting Up the Google Maps API Development Environment
  19. 2.1 Overview of the Google Maps API
  20. 2.2 Setting Up the Google Maps API Development Environment
  21. 2.2.1 Debugging JavaScript
  22. 2.2.2 Microsoft Script Editor Debugging Tool
  23. 2.2.3 Visual Studio JavaScript Debugging Features
  24. 2.3 Summary
  25. Chapter 3 Overview of JavaScript and Ajax
  26. 3.1 Object-Oriented JavaScript
  27. 3.2 Object Model
  28. 3.3 Event-Driven Programming and Event Handling
  29. 3.4 Google Maps API and Ajax
  30. 3.5 Summary
  31. Chapter 4 Hello World with the Google Maps API
  32. 4.1 Google Maps API Key
  33. 4.2 Building Basic Map Functions
  34. 4.3 Map Markers
  35. 4.4 Info Windows
  36. 4.5 Summary

FAQ

这本书讲的是哪个版本的Google Maps API?
书中基于2010年前后的早期Google Maps JavaScript API,涉及申请API密钥加载地图、GMarker标注、GIcon图标、信息浮窗等以G开头的类名写法。这些写法在如今的地图平台上大多已废弃,阅读时更应关注概念与流程,而非直接复制代码。
零基础可以读这本书吗?
不太适合完全零基础。书中第3章用一章篇幅快速复习面向对象JavaScript、浏览器对象模型与Ajax,要求读者至少能读懂函数、对象和基本的DOM操作,并会搭建页面和调试脚本。
书中的实例适合做什么类型的项目?
主体是两个案例:网点管理系统与地图搜索。前者展示标注、事件监听与信息窗口的组合,后者展示地址解析与本地搜索的用法,适合作为企业内部网点分布、门店查询类Web地图功能的入门参考。
这本书现在还有实用价值吗?
作为时效工具书,它已落后于当前API;但作为地图应用入门读物仍有价值。电子地图、标注、叠加层、地址解析、事件驱动等核心概念并未过时,把案例逻辑迁移到主流地图平台即可继续使用。
随书光盘有什么内容?
据出版信息,本书447页,附一张光盘,内含书中示例源代码与辅助工具。部分二手转让的书可能缺失光盘,购买前建议提前确认。

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

Top rated in the same category