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