module Mongoid::Geospatial

Constants

EARTH_RADIUS
EARTH_RADIUS_KM
LAT_SYMBOLS
LNG_SYMBOLS
RAD_PER_DEG
VERSION

Public Class Methods

with_georuby!() click to toggle source
# File lib/mongoid_geospatial/geospatial.rb, line 39
def self.with_georuby!
  require 'mongoid_geospatial/wrappers/georuby'
end
with_rgeo!() click to toggle source
# File lib/mongoid_geospatial/geospatial.rb, line 35
def self.with_rgeo!
  require 'mongoid_geospatial/wrappers/rgeo'
end