Google Maps JavaScript API Cookbook
eBook - ePub

Google Maps JavaScript API Cookbook

Alper Dincer, Balkan Uraz

Buch teilen
  1. 316 Seiten
  2. English
  3. ePUB (handyfreundlich)
  4. Über iOS und Android verfügbar
eBook - ePub

Google Maps JavaScript API Cookbook

Alper Dincer, Balkan Uraz

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

In Detail

Day by day, the use of location data is becoming more and more popular, and Google is one of the main game changers in this area. The Google Maps JavaScript API is one of the most functional and robust mapping APIs used among Geo developers. With Google Maps, you can build location-based apps, maps for mobile apps, visualize geospatial data, and customize your own maps.

Google Maps JavaScript API Cookbook is a practical, hands-on guide that provides you with a number of clear, step-by-step recipes that will help you to unleash the capabilities of the Google Maps JavaScript API in conjunction with open source or commercial GIS servers and services through a number of practical examples of real world scenarios.

This book begins by covering the essentials of including simple maps for Web and mobile, adding vector and raster layers, styling your own base maps, creating your own controls and responding to events, and including your own events.

You will learn how to integrate open source or commercial GIS servers and services including ArcGIS Server, GeoServer, CartoDB, Fusion Tables, and Google Maps Engine with the Google Maps JavaScript API. You will also extend the Google Maps JavaScript API to push its capabilities to the limit with additional libraries and services including geometry, AdSense, geocoding, directions, and StreetView.

This book covers everything you need to know about creating a web map or GIS applications using the Google Maps JavaScript API on multiple platforms.

Approach

Google Maps JavaScript API Cookbook follows a fast-paced, high-level, structured cookbook approach, with minimal theory and an abundance of practical, real-world examples explained in a thorough yet concise manner to help you learn quickly and efficiently.

Who this book is for

Google Maps JavaScript API Cookbook is for developers who wish to learn how to do anything from adding a simple embedded map to a website to developing complex GIS applications with the Google Maps JavaScript API. It is targeted at JavaScript developers who know how to get by but who are also seeking the immediacy of recipe-based advice.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist Google Maps JavaScript API Cookbook als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu Google Maps JavaScript API Cookbook von Alper Dincer, Balkan Uraz im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Computer Science & Web Services & APIs. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2012
ISBN
9781849698825

Google Maps JavaScript API Cookbook


Table of Contents

Google Maps JavaScript API Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Google Maps JavaScript API Basics
Introduction
Creating a simple map in a custom DIV element
Getting ready
How to do it…
How it works...
Creating a simple fullscreen map
Getting ready
How to do it…
How it works...
There's more...
See also
Moving from the Web to mobile devices
Getting ready
How to do it…
How it works...
There's more...
See also
Changing map properties programmatically
Getting ready
How to do it…
How it works...
See also
Changing base maps
Getting ready
How to do it…
How it works...
There's more...
See also
2. Adding Raster Layers
Introduction
Styling of Google base maps
Getting ready
How to do it…
How it works...
There's more...
Using different tile sources as base maps
Getting ready
How to do it…
How it works...
See also
Adding tile overlays to maps
Getting ready
How to do it…
How it works...
There's more...
Adding image overlays to maps
Getting ready
How to do it…
How it works...
Changing the transparency of overlays
Getting ready
How to do it…
How it works...
Creating a heat map
Getting ready
How to do it…
How it works...
There's more...
See also
Adding the traffic layer
Getting ready
How to do it…
How it works...
Adding the transit layer
Getting ready
How to do it…
How it works...
Adding the bicycling layer
Getting ready
How to do it…
How it works...
Adding the weather and cloud layers
Getting ready
How to do it…
How it works...
There's more...
Adding the Panoramio layer
Getting ready
How to do it…
How it works...
There's more...
3. Adding Vector Layers
Introduction
Adding markers to maps
Getting ready
How to do it…
How it works...
There's more...
See also
Adding popups to markers or maps
Getting ready
How to do it…
How it works...
See also
Adding lines to maps
Getting ready
How to do it…
How it works...
See also
Adding polygons to maps
Getting ready
How to do it…
How it works...
See also
Adding circles/rectangles to maps
Getting ready
How to do it…
How it works...
There's more...
See also
Adding animated lines to maps
Getting ready
How to do it…
How it works...
There's more...
See also
Adding KML/GeoRSS layers
Getting ready
How to do it…
How it works...
See also
Adding GeoJSON to the Google Maps JavaScript API
Getting ready
How to do it…
How it works...
See also
Adding WKT to the Google Maps JavaScript API
Getting ready
How to do it…
How it works...
See also
4. Working with Controls
Introduction
Adding and removing controls
Getting ready
How to do it…
How it works...
There's more...
Changing the position of controls
Getting ready
How to do it…
How it works...
Creating and adding a geolocation control
Getting ready
How to do it…
How it works...
Creating a table of contents control for layers
Getting ready
How to do it…
How it works...
Adding your own logo as a control
Getting ready
How to do it…
How it works...
5. Understanding Google Maps JavaScript API Events
Introduction
Creating two synced maps side by side
Getting ready
How to do it…
How it works...
There's more…
See also
Getting the coordinates of a mouse click
Getting ready
How to do it…
How it works...
There's more…
See also
Creating a context menu on a map
Getting ready
How to do it…
How it works...
See also
Restricting the map extent
Getting ready
How to do it…
How it works...
See also
Creating a control that shows coordinates
Getting ready
How to do it…
How it works...
See also
Creating your own events
Getting ready
How to do it…
How it works...
See also
6. Google Maps JavaScript Libraries
Introduction
Drawing shapes on the map
Getting ready
How to do it...
How it works...
There's more...
Calculating the length/area of polylines and polygons
Getting ready
How to do it...
How it works...
There's more...
See also
Encoding coordinates
Getting ready
How to do it...
How it works...
Searching for and showing nearby places
Getting ready
How to do it...
How it works...
There's more...
Finding places with the autocomplete option
Getting ready
How to do it...
How it works...
There's more...
Adding drag zoom to the map
Getting ready
How to do it...
How it works...
See also
Creating custom popups/infoboxes
Getting ready
How to do it...
How it works...
See also
7. Working with Services
Introduction
Finding coordinates for an address
Getting ready
How to do it…
How it works...
There's more...
See also
Finding addresses on a map with a click
Getting ready
How to do it…
How it works...
See also
Getting elevations on a map with a click
Getting ready
How to do it…
How it works...
See also
Creating a distance matrix for the given locations
Getting ready
How to do it…
How it works...
See also
Getting directions for the given locations
Getting ready
How to do it…
How it works...
See also
Adding Street View to your maps
Getting ready
How to do it…
How it works...
8. Mastering the Google Maps JavaScript API through Advanced Recipes
Introduction
Adding WMS layers to maps
Getting ready
How to do it…
How it works...
There's more…
See also
Adding Fusion Tables layers to maps
Getting ready
How to do it…
How it works...
See also
Adding CartoDB layers to maps
Getting ready
How to do it…
How it wo...

Inhaltsverzeichnis