As this project is a mashup plugin, normally you would already have an existing Rails application you want to add this to. However for the purpose of this chapter, I show how the mashup can be created on a fresh project. This is what we will be doing:
Create a new Rails project
Install the Rails plugins (GeoKit and YM4R/GM) that will use the various mashup APIs
Configure the database access and create the database
Create the standard scaffolding
Populate the longitude and latitude of the kiosks
Create the find feature
Display the found kiosk locations on Google Maps
This is the easiest part:
This will create a new blank Rails project.
In this mashup plugin we'll need to use GeoKit, a Ruby geocoding library created by Bill Eisenhauer and Andre Lewis, and YM4R/GM—a Ruby Google Maps mapping API created by Guilhem Vellut. Install them according to the instructions given...