[jifty-devel] geolocation data type in jifty
Chia-liang Kao
clkao at bestpractical.com
Tue Jul 10 10:33:50 EDT 2007
Hi list,
I just added a geolocation column type to trunk as part of
Jifty::Plugin::GoogleMap. To use it, simply enable the plugin and add
the following line to your model:
column location => is GeoLocation,
render_as 'Jifty::Plugin::GoogleMap::Widget';
Then you should see the location being displayed as a googlemap, also
allowing you to edit the data by placing new marker on the map, or by
searching addresses.
There are a bunch of css styles needs to be cleaned up as some are still
hardcoded. *hint* Patches welcome!
Cheers,
CLK
More information about the jifty-devel
mailing list