Permalink
Browse files

minor fix for bounding box

git-svn-id: http://geokit.rubyforge.org/svn/trunk@34 9265c765-0211-4c68-b2df-6d1bd6e20c4d
  • Loading branch information...
1 parent fa216e2 commit 4f537326caa6feb8334e67ecc80d9ae0dec6d286 lewisac committed Jun 15, 2007
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/geo_kit/acts_as_mappable.rb
@@ -262,7 +262,8 @@ def extract_formula_from_options(options)
end
def extract_bounds_from_options(options)
- bounds = options.delete(:bounds)
+ bounds = options.delete(:bounds)
+ bounds.map{|point|normalize_point_to_lat_lng(point)} if bounds
end
# Geocodes the origin which was passed in String form. The string needs

0 comments on commit 4f53732

Please sign in to comment.