module Geocoder::Store::MongoBase

def to_coordinates


even though internally they are stored in the opposite order.
This method always returns coordinates in lat,lon order,
Coordinates [lat,lon] of the object.
#
def to_coordinates
  coords = send(self.class.geocoder_options[:coordinates])
  coords.is_a?(Array) ? coords.reverse : []
end