Method: Geocoder::Store::Base#to_coordinates

Defined in:
lib/geocoder/stores/base.rb

#to_coordinatesObject

Coordinates [lat,lon] of the object.



15
16
17
# File 'lib/geocoder/stores/base.rb', line 15

def to_coordinates
  [:latitude, :longitude].map{ |i| send self.class.geocoder_options[i] }
end