Permalink
Browse files

Merge branch 'master' of github.com:Bantik/seer

  • Loading branch information...
2 parents 92d159c + 76084cd commit 3b1646ae87c8177d56fbc011be560f308e8e858e Corey Ehmke committed Sep 6, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/seer/geomap.rb
View
@@ -90,8 +90,7 @@ def data_mode=(mode) #:nodoc:
def data_table #:nodoc:
@data_table = []
- data.each_with_index do |datum, column|
- next unless datum.geocoded?
+ data.select{ |d| d.geocoded? }.each_with_index do |datum, column|
if data_mode == "markers"
@data_table << [
" data.setValue(#{column}, 0, #{datum.latitude});\r",

0 comments on commit 3b1646a

Please sign in to comment.