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)
GoogleMapsConfigDataParameters
setConfig
in interface GoogleMapsConfigDataParameters
public java.lang.String getLastUsedApiKey()
GoogleMapsConfigDataParameters
getLastUsedApiKey
in interface GoogleMapsConfigDataParameters
public void setLastUsedApiKey(java.lang.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 java.net.URL getGoogleMapsURL()
GoogleMapsConfigDataParameters
getGoogleMapsURL
in interface GoogleMapsConfigDataParameters
public java.net.URL getDisclaimerURL()
GoogleMapsConfigDataParameters
getDisclaimerURL
in interface GoogleMapsConfigDataParameters