views:

133

answers:

1

I followed the install steps to the letter to get Geokit working on my site. I can do a distance calculation just fine, but when I try to render a Google map using:

@map = GMap.new("map")

It throws me this error:

NameError in TechsController#home

uninitialized constant TechsController::GMap

Anyone know why? I have a feeling it has something to do with an API key or something. Also, I'm fully able to do distance calculations, I just can't render the map itself.

A: 

You need to install YM4R_GM. Geokit and the Geokit-plugin don't have support for rendering Google Maps.

YM4R_GM can be found at: http://github.com/ewildgoose/ym4r_gm

Nils Riedemann