GeolocateServiceResolver
Summary
Helper for creating a supported GeolocateServiceInterface
Constructor
aeris.geolocate.GeolocateServiceResolver
Syntax
aeris.geolocate.GeolocateServiceResolver
(
-
opt_options
Summary
Parameters:
-
opt_options
Object=-
GeolocateService
function():GeolocateServiceInterfaceDefaults to {aeris.geolocate.HTML5GeolocateService}.
-
FallbackGeolocateService
function():GeolocateServiceInterfaceDefaults to {aeris.geolocate.FreeGeoIPGeolocateService}.
-
geolocateServiceOptions
GeolocateServiceOptions
-
Item Index
Methods
Methods
resolveService
Syntax
Summary
Return an instance of the GeolocateService option, or, if it's not supported, the FallbackGeolocateService