Extends
gxp.plugins.Tool.
Class for template and map saving management.
Defined in: MapLinker.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
|
|
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
|
|
framework_maplinker plugin type.
|
|
Text for zoom in action tooltip (i18n).
|
Method Attributes | Method Name and Description |
---|---|
Adds actions to be performed on click.
|
|
getDigest(onSuccess)
Requests a digest based on client ip.
|
|
mapMode()
Sets plugin modality to 'map'.
|
|
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.
|
|
Sets plugin modality to 'template'.
|
|
toJson()
Get serialization of data to be saved.
|
|
Function to be override to change the default behavior.
|