Extends
gxp.plugins.Tool.
Class for template and map saving management.
Defined in: DoubleMapLinker.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Class for template and map saving management.
|
Field Attributes | Field Name and Description |
---|---|
the base Ajax Url for ajax request
default ""
|
|
the custom Url for saved map
default ""
|
|
featureLayers container
|
|
Css class for icon.
|
|
The prefix of the names of the css classes that define the icons of the buttons created
to activate the mapLinker.
|
|
Together with 'iconClsPrefix' define the icons of the buttons created
|
|
Text for zoom in action tooltip (i18n).
|
Method Attributes | Method Name and Description |
---|---|
getDigest(onSuccess)
Requests a digest based on client ip.
|
|
handler()
Adds actions to be performed on click.
|
|
mapToJson(mapviewer)
Get serialization of data to be saved.
|
|
saveMap()
Saves a map serializing its content in json creating a new map id.
|
|
saveTemplate(templateName, forceWrite)
Saves a template serializing its content in json.
|
|
showLinkDialog(name)
Shows a window containg a link for template/map sharing.
|
|
toJson()
|
|
Function to be override to change the default behavior.
|