module Geocoder::Model::MongoMapper

def self.included(base); base.extend(self); end

def self.included(base); base.extend(self); end

def geocoder_file_name; "mongo_mapper"; end

def geocoder_file_name;   "mongo_mapper"; end

def geocoder_init(options)

def geocoder_init(options)
  super(options)
  if options[:skip_index] == false
    ensure_index [[ geocoder_options[:coordinates], Mongo::GEO2D ]],
      :min => -180, :max => 180 # create 2d index
  end
end

def geocoder_module_name; "MongoMapper"; end

def geocoder_module_name; "MongoMapper"; end