public class DefaultGoogleMapsConfigDataParameters extends java.lang.Object implements GoogleMapsConfigDataParameters
| Constructor and Description |
|---|
DefaultGoogleMapsConfigDataParameters(DynObject config)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
java.net.URL |
getDisclaimerURL()
Gets the URL to request url disclaimer
|
java.net.URL |
getGoogleMapsURL()
Sets the URL to request Google Static Maps API
|
java.lang.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(java.lang.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)
GoogleMapsConfigDataParameterssetConfig in interface GoogleMapsConfigDataParameterspublic java.lang.String getLastUsedApiKey()
GoogleMapsConfigDataParametersgetLastUsedApiKey in interface GoogleMapsConfigDataParameterspublic void setLastUsedApiKey(java.lang.String lastUsedApiKey)
GoogleMapsConfigDataParameterssetLastUsedApiKey in interface GoogleMapsConfigDataParameterspublic int getLastUsedZoomLvl()
GoogleMapsConfigDataParametersgetLastUsedZoomLvl in interface GoogleMapsConfigDataParameterspublic void setLastUsedZoomLvl(int lastUsedZoomlvl)
GoogleMapsConfigDataParameterssetLastUsedZoomLvl in interface GoogleMapsConfigDataParameterspublic java.net.URL getGoogleMapsURL()
GoogleMapsConfigDataParametersgetGoogleMapsURL in interface GoogleMapsConfigDataParameterspublic java.net.URL getDisclaimerURL()
GoogleMapsConfigDataParametersgetDisclaimerURL in interface GoogleMapsConfigDataParameters