ABSTRACT

This chapter demonstrates techniques for creating map markers with custom comments, storing them securely in a database, and loading YouTube videos into Google Maps InfoWindows for display on a map.

The code in this chapter demonstrates how to securely use jQuery Mobile API, Google Maps API, and YouTube API together in a useful manner. The main focus is to address the areas that need filtering in order to maintain the trustworthiness of the application. The Google Maps API changes frequently and is well documented with regard to mapping. Security concerns are left to the user, and this void is the subject of this chapter. The code demonstrates a working example of using the map but does not attempt to explain using the Google API. All explanations are focused on where and why to apply security measures. These measures are unlikely to change even though the Google API will change. The result is that the ideas presented here should stay relevant for some time to come.