This chapter will demonstrate two technologies that provide powerful features that enable you to easily create some very useful web sites. Geolocation provides a standardized API that is used to determine the client’s location. Mapping technology adds the ability to display this location on a map along with other points of interest. Together, these form a platform that has many useful applications.
In this chapter you’ll use the geolocation API to find your current position. The accuracy of that position will vary greatly depending on available hardware and the environment. However, HTML5 defines a standard API ...