Module: GeoreferencesHelper

Defined in:
app/helpers/georeferences_helper.rb

Instance Method Summary collapse

Instance Method Details

#georeference_tag(georeference) ⇒ Object

Needs to turn into a gmap with the item displayed



4
5
6
7
# File 'app/helpers/georeferences_helper.rb', line 4

def georeference_tag(georeference)
  return nil if georeference.nil?
  georeference.to_param
end

#get_gr(gr_result) ⇒ Object



9
10
11
# File 'app/helpers/georeferences_helper.rb', line 9

def get_gr(gr_result)
  return gr_result[:gr]
end

#get_result(gr_result) ⇒ Object



13
14
15
# File 'app/helpers/georeferences_helper.rb', line 13

def get_result(gr_result)
  return gr_result[:valid?]
end