Book Image

HTML5 iPhone Web Application Development

By : Alvin Crespo
Book Image

HTML5 iPhone Web Application Development

By: Alvin Crespo

Overview of this book

<p>Create compelling web applications specifically tailored for distribution on iOS Safari. Work through real world examples with references, and in-depth discussions on the approach; including its benefits and drawbacks.<br /><br />"HTML5 iPhone Web Application Development" strives to teach all levels of developers, beginners and professionals, the process of creating web applications for iOS Safari. Utilizing current industry standards for frontend development, learn to take advantage of HTML5, CSS3 and JavaScript to create compelling software.<br /><br />Start with reviewing current industry standards for frontend development, and end with creating a native application using the same codebase.</p> <p>Your journey will begin with an overview of current industry standards for frontend technology, quickly moving to solve real world issues; from creating a resizable or responsive gallery, to creating a single page application that utilizes the popular Backbone.js framework.</p> <p>"HTML5 iPhone Web Application Development" aims to make you an expert in developing web applications for the iOS Safari platform.</p>
Table of Contents (17 chapters)
HTML5 iPhone Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Geolocation and Google Maps


If you have been following along from the beginning of this chapter you should have a thorough understanding of the Geolocation API and have your Google account set up to tap into the Google Maps JavaScript API. If you haven't been following along that's okay as well, since this section is primarily driven to show how to implement both technologies. This section will prepare our location page within our application and then move quickly to implement Geolocation with Google Maps.

Markup preparation

In the previous chapter, we did some setup work to get our application going; we will follow the same setup work here to make sure all our pages are consistent. So let's open up the markup page related to location in /location/index.html of the source files accompanying this book. When we have this page open in our text editor, let's make the following updates to the markup:

  • Update the navigation to reflect a select menu.

  • Include the location.css file that will have the...