Google Maps JavaScript API Cookbook
eBook - ePub

Google Maps JavaScript API Cookbook

Alper Dincer, Balkan Uraz

Compartir libro
  1. 316 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Google Maps JavaScript API Cookbook

Alper Dincer, Balkan Uraz

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Google Maps JavaScript API Cookbook un PDF/ePUB en línea?
Sí, puedes acceder a Google Maps JavaScript API Cookbook de Alper Dincer, Balkan Uraz en formato PDF o ePUB, así como a otros libros populares de Informatik y Webservices & APIs. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2012
ISBN
9781849698825
Edición
1
Categoría
Informatik

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...

Índice