File "README.TXT"

Full path: /www/map/mapserver-extensions/pmapper-4.2.0/plugins/selectionManagement/README.TXT
File size: 1.33 KiB (1360 bytes)
MIME-type: text/plain
Charset: utf-8

Download   Open   Back

Plugin to manage selection (load / remove)
		
It contains:
- config.inc
- selectionManagement.js
- x_selectionManagement.php
- install subdirectory: language

Dependancies:
- plugins/common/selectTools.inc.php

How to use:
- Enable the plugin by adding a line in config_XXXXX.xml file:
<pmapper>
    <ini>
        <pmapper>
....
            <plugins>selectionManagement</plugins>
....
        </pmapper>
	</ini>
</pmapper>

- Add the selectionManagement tool button to the interface in /config/XXXXX/js_config.php file:
PM.buttonsDefault = {
.....
    buttons: [
.....
		{tool:'selectionManagement_reloadMap', name:'selectionManagement_reloadMap', run:'PM.Plugin.selectionManagement.reloadMap'},
       	{tool:'selectionManagement_delSelect', name:'selectionManagement_delSelect', run:'PM.Plugin.selectionManagement.delSelection'},
        {tool:'selectionManagement_reloadSelect', name:'selectionManagement_reloadSelect', run:'PM.Plugin.selectionManagement.reloadSelection'},
.....
	]
}

- Add default translation from plugins/selectionManagement/install/language_en-part.php to incphp/locale/language_en.php. You can add translations for other language (French is provided) by doing the same.

- Add the appropriate icons from plugins/selectionManagement/install/selectionManagement_*_off.gif to images/buttons/default (or the corresponding theme directory).

PHP File Manager