Google Maps JavaScript API Cookbook by Alper Dincer, Balkan Uraz

By Alper Dincer, Balkan Uraz

Identify: Google Maps javascript API Cookbook
Author: Alper Dincer, Balkan Uraz

English | unencumber date: December 26, 2013 | 316 pages | ISBN-10: 1849698821 | ISBN-13: 978-1849698825 | writer: Packt Publishing

Over 50 recipes that will help you create net maps and GIS internet purposes utilizing the Google Maps javascript API

Overview

- upload on your website’s performance through the use of Google Maps’ power
- filled with code examples and screenshots for functional and effective learning
- Empowers you to construct your individual mapping software from the floor up

In Detail

Day by way of day, using place facts is changing into an increasing number of well known, and Google is without doubt one of the major video game changers during this region. The Google Maps javascript API is likely one of the so much useful and powerful mapping APIs used between Geo builders. With Google Maps, you could construct location-based apps, maps for cellular apps, visualize geospatial info, and customise your individual maps.

Google Maps API Cookbook is a realistic, hands-on consultant that gives you with a few transparent, step by step recipes that can assist you to unharness the functions of the Google Maps javascript API together with open resource or advertisement GIS servers and companies via a few functional examples of genuine global scenarios.

This e-book starts by means of masking the necessities of together with uncomplicated maps for net and cellular, including vector and raster layers, styling your personal base maps, growing your personal controls and responding to occasions, and together with your personal events.

You will the best way to combine open resource or advertisement GIS servers and companies together with ArcGIS Server, GeoServer, CartoDB, Fusion Tables, and Google Maps Engine with the Google Maps javascript API. additionally, you will expand the Google Maps javascript API to push its features to the restrict with extra libraries and providers together with geometry, AdSense, geocoding, instructions, and StreetView.

This ebook covers every little thing you must learn about making a net map or GIS purposes utilizing the Google Maps javascript API on a number of platforms.

What you'll research from this book

- Create basic maps and show them on cellular devices
- sort your individual base maps
- upload your individual tile maps as base maps or overlays
- express vector layers on base maps in quite a few varieties akin to issues, polylines or polygons
- Parse quite a few vector codecs comparable to KML, GeoRSS, GeoJSON, WKT, and so on
- Create a customized UI and customise your personal how you can keep an eye on it
- reply to quite a few occasions together with cellular gestures
- upload extra libraries to increase the services of the API
- paintings with Google companies for geocoding, instructions, StreetView, and so on
- combine open resource or advertisement GIS servers or services

Approach

Google Maps API Cookbook follows a fast moving, high-level, dependent cookbook technique, with minimum idea and an abundance of functional, real-world examples defined in an intensive but concise demeanour that will help you study quick and efficiently.

Who this e-book is written for

Google Maps API Cookbook is for builders who desire to how one can do whatever from including an easy embedded map to an internet site to constructing advanced GIS purposes with the Google Maps javascript API. it's designated at javascript builders who know the way to get by way of yet who're additionally looking the immediacy of recipe-based suggestion.

Show description

Read or Download Google Maps JavaScript API Cookbook PDF

Best web development books

Above the Fold: Understanding the Principles of Successful Web Site Design

<span>Above the Fold is a publication concerning the basics of powerful photograph verbal exchange set within the context of website design. in contrast to different books that concentrate on the intersection of layout and know-how, Above the Fold explores the connection among the stakeholders of an online project-- the dressmaker, the consumer and the buyer -- and the way this non-stop cycle impacts the selections made by means of winning internet designers.

Google Maps JavaScript API Cookbook

Name: Google Maps javascript API Cookbook
Author: Alper Dincer, Balkan Uraz

English | unencumber date: December 26, 2013 | 316 pages | ISBN-10: 1849698821 | ISBN-13: 978-1849698825 | writer: Packt Publishing

Over 50 recipes that will help you create net maps and GIS internet functions utilizing the Google Maps javascript API

Overview

- upload on your website’s performance through the use of Google Maps’ power
- choked with code examples and screenshots for sensible and effective learning
- Empowers you to construct your personal mapping software from the floor up

In Detail

Day by way of day, using place facts is turning into a growing number of renowned, and Google is among the major online game changers during this region. The Google Maps javascript API is likely one of the so much practical and powerful mapping APIs used between Geo builders. With Google Maps, you could construct location-based apps, maps for cellular apps, visualize geospatial facts, and customise your individual maps.

Google Maps API Cookbook is a pragmatic, hands-on consultant that gives you with a few transparent, step by step recipes to help you to unharness the services of the Google Maps javascript API together with open resource or advertisement GIS servers and providers via a few useful examples of genuine global scenarios.

This booklet starts off by means of masking the necessities of together with easy maps for internet and cellular, including vector and raster layers, styling your personal base maps, developing your personal controls and responding to occasions, and together with your individual events.

You will easy methods to combine open resource or advertisement GIS servers and companies together with ArcGIS Server, GeoServer, CartoDB, Fusion Tables, and Google Maps Engine with the Google Maps javascript API. additionally, you will expand the Google Maps javascript API to push its functions to the restrict with extra libraries and providers together with geometry, AdSense, geocoding, instructions, and StreetView.

This e-book covers every thing you want to learn about making a internet map or GIS purposes utilizing the Google Maps javascript API on a number of platforms.

What you'll study from this book

- Create uncomplicated maps and show them on cellular devices
- sort your individual base maps
- upload your individual tile maps as base maps or overlays
- express vector layers on base maps in a number of kinds corresponding to issues, polylines or polygons
- Parse a number of vector codecs similar to KML, GeoRSS, GeoJSON, WKT, and so on
- Create a customized UI and customise your individual how you can regulate it
- reply to a variety of occasions together with cellular gestures
- upload extra libraries to increase the functions of the API
- paintings with Google companies for geocoding, instructions, StreetView, and so on
- combine open resource or advertisement GIS servers or services

Approach

Google Maps API Cookbook follows a fast moving, high-level, dependent cookbook technique, with minimum concept and an abundance of sensible, real-world examples defined in a radical but concise demeanour that will help you research speedy and efficiently.

Who this e-book is written for

Google Maps API Cookbook is for builders who desire to how to do something from including an easy embedded map to an internet site to constructing advanced GIS functions with the Google Maps javascript API. it truly is detailed at javascript builders who know the way to get through yet who're additionally looking the immediacy of recipe-based recommendation.

jQuery: A Beginner's Guide

Examine the basics of jQuery programming very quickly. jQuery: A Beginner's consultant begins with the basics--from together with the library in an HTML record to point choice, occasion dealing with, and CSS kind manipulation. subsequent, it's directly to JavaScript and the DOM, animation and results, the development item, and shape validation.

Foundation Flex for Designers

All Flex functions glance the same—a blue-gray heritage and silver-skinned components—right? That doesn't must be the case, even though. This ebook indicates you the way to make sure that your Flex 2 and three tasks stick out from the gang and supply your clients with an software that's either visually beautiful and wonderfully sensible.

Additional resources for Google Maps JavaScript API Cookbook

Example text

Using the StyledMapType object is only one of the ways of handling the user-defined styled base maps in the Google Maps Javascript API. setOptions({styles: bluishStyle }); There is an important difference between using the StyledMapType object and the style property of the mapOptions object. Using the StyledMapType object enables us to define a number of (virtually infinite) styles as map types. In addition, these map types can be seen in the map type control of the map interface, so it is very easy for the user to switch back and forth between the map types.

However, if the styles are attached to the map by the mapOptions object's style property, there is no way for the user to change multiple styles. In fact, in the map type control, there will be an option for you to select new styles, because styles are not attached to a StyledMapType object, and therefore cannot be identified as map types. html. Preparing the style arrays is a job with many cartographic details. Finding the correct combination for each feature and the element type in stylers would take too much time, especially if the only way of editing is in a text editor.

Getting ready We can continue on from the Creating a simple map in a custom DIV element recipe from Chapter 1, Google Maps JavaScript API Basics, as we do not need to reiterate the basics of getting the map on screen. How to do it… With this recipe, you will see the OpenStreetMap tiles on top of Google Maps after completing the given steps: 1. Size(256, 256), name: "OpenStreetMap", 33 Adding Raster Layers maxZoom: 18 }); 2. ROADMAP, 'OSM']} }; 3. set('OSM', osmMapType); 4. setMapTypeId('OSM'); 5.

Download PDF sample

Rated 4.67 of 5 – based on 45 votes