Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Google Maps JavaScript API Cookbook
  • Toc
  • feedback
Google Maps JavaScript API Cookbook

Google Maps JavaScript API Cookbook

By : Dincer, Uraz
4.3 (8)
close
Google Maps JavaScript API Cookbook

Google Maps JavaScript API Cookbook

4.3 (8)
By: Dincer, Uraz

Overview of this book

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.
Table of Contents (10 chapters)
close
9
Index

Accessing GeoServer with the Google Maps JavaScript API


GeoServer is an open source map server written in Java that allows users to share and edit geospatial data. It is one of the popular open source map servers that can publish OGC compliant services such as WMS and WFS. Web Map Service (WMS) is used for publishing georeferenced images and simple querying. On the other side, Web Feature Service (WFS) is used for publishing vector data to any kind of GIS clients. WFS is mostly used for data sharing purposes.

In this recipe, we will use one of GeoServer's standard published service named topp:states in WMS format. As stated in the Adding WMS layers to maps recipe of this chapter, WMS has different request types such as GetMap or GetCapabilities. We will also use a GetFeatureInfo addition to the GetMap request. This new request gets the information of the point on the map. Also, we used a tiled structure in this recipe to get WMS images in order to make a comparison between the untiled structure...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete