google maps in two or more lines of code

«

»

I just commited a new version of the Cartographer library that lets you put nifty Google Maps into your Rails apps in a jiffy. It's available as a plugin, so if you are using Rails 0.14.3 or newer, a simple script/plugin install -x svn://dotsx.usc.edu/cartographer/branches/pnh/vendor/plugins/cartographer will get you started. You will also need to:

Under older Rails versions you can just svn co svn://dotsx.usc.edu/cartographer/branches/pnh/vendor/plugins/cartographer to get it. I hope to have the RubyForge page updated soon.

Happy hacking!

Oh yeah, and my server is running Rails + Lighttpd + Postgres now instead of crappy homebrew Lisp HTTP server and Apache2. It's amazing: Typo doesn't crash any more—not even on live search! Though Lighttpd absolutely hates my Trac installation; I may have to move to Trac's HEAD so FastCGI works.

Also started reading Stephen Levy's Hackers. It seriously reads like L' Morte d' Arthur. Good stuff.

« older | 2005-11-08T14:50:22Z | newer »