public class DefaultGoogleMapsConfigDataParameters extends Object implements GoogleMapsConfigDataParameters
Constructor and Description |
---|
DefaultGoogleMapsConfigDataParameters(DynObject config)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
URL |
getGoogleMapsURL()
Sets the URL to request Google Static Maps API
|
String |
getLastUsedApiKey()
Returns last used api key, if exists.
|
int |
getLastUsedZoomLvl()
Returns last used maximun zoom level, if exists.
|
void |
setConfig(DynObject config)
Sets the plugin configuration to be readed and updated
|
void |
setLastUsedApiKey(String lastUsedApiKey)
Updates last used api key to be user in posterior uses
|
void |
setLastUsedZoomLvl(int lastUsedZoomlvl)
Updates last used maximun zoom level to be user in posterior uses
|
public DefaultGoogleMapsConfigDataParameters(DynObject config)
config
- properties
- public void setConfig(DynObject config)
GoogleMapsConfigDataParameters
setConfig
in interface GoogleMapsConfigDataParameters
public String getLastUsedApiKey()
GoogleMapsConfigDataParameters
getLastUsedApiKey
in interface GoogleMapsConfigDataParameters
public void setLastUsedApiKey(String lastUsedApiKey)
GoogleMapsConfigDataParameters
setLastUsedApiKey
in interface GoogleMapsConfigDataParameters
public int getLastUsedZoomLvl()
GoogleMapsConfigDataParameters
getLastUsedZoomLvl
in interface GoogleMapsConfigDataParameters
public void setLastUsedZoomLvl(int lastUsedZoomlvl)
GoogleMapsConfigDataParameters
setLastUsedZoomLvl
in interface GoogleMapsConfigDataParameters
public URL getGoogleMapsURL()
GoogleMapsConfigDataParameters
getGoogleMapsURL
in interface GoogleMapsConfigDataParameters