-
public class ConfigurationSingleton class to get/set a configuration provider for osmdroid Issue 481Created on 11/29/2016.
-
-
Method Summary
Modifier and Type Method Description static synchronized IConfigurationProvidergetInstance()gets the current reference to the config provider. static voidsetConfigurationProvider(IConfigurationProvider instance)Note, this should be called before any instances of MapView are created (either programmaticallyor via android's inflater -
-
Method Detail
-
getInstance
static synchronized IConfigurationProvider getInstance()
gets the current reference to the config provider.if one hasn't been set yet, the default provider and default configuration will be used
-
setConfigurationProvider
static void setConfigurationProvider(IConfigurationProvider instance)
Note, this should be called before any instances of MapView are created (either programmaticallyor via android's inflater
-
-
-
-