This is an example of Webgl picking data points on a google map using readPixels. Pedro Sousa's Displaying WebGL data on Google Maps was very helpful. Mouseover a point to see the city name.
Live demo: http://codepen.io/mikefab/full/yhEfu/
Server:
This is an example Sinatra application based on the Sinatra Asset Pipeline example application to show the usage of Haml Coffee Assets.
Clone the app, switch to the directory and run:
bundle install
bundle exec rackup
Now visit http://http://localhost:9292/ top see it in action.
This example uses Guard with Guard Sprockets2 to compile the client side templates.
Run guard with:
bundle exec guard