From 3770fd48a7e260c181f4422d552756d68c03d124 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20de=20la=20Concepci=C3=B3n=20Sanz?= Date: Thu, 4 Mar 2010 17:58:59 +0000 Subject: [PATCH] =?UTF-8?q?2010-03-04=20=20Pablo=20de=20la=20Concepci?= =?UTF-8?q?=C3=B3n=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * godmode/gis_maps/configure_gis_map.php: Change help link. * godmode/gis_maps/index.php: Added help link. * include/help/en/help_gis_map_builder.php, include/help/en/help_configure_gis_map.php: first version of the help pages. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2473 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 10 ++++ .../godmode/gis_maps/configure_gis_map.php | 2 +- pandora_console/godmode/gis_maps/index.php | 2 +- .../help/en/help_configure_gis_map.php | 53 +++++++++++++++++++ .../include/help/en/help_gis_map_builder.php | 30 +++++++++++ 5 files changed, 95 insertions(+), 2 deletions(-) create mode 100644 pandora_console/include/help/en/help_configure_gis_map.php create mode 100644 pandora_console/include/help/en/help_gis_map_builder.php diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index abce19cca2..56d92cb65d 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,13 @@ +2010-03-04 Pablo de la ConcepciĆ³n + + * godmode/gis_maps/configure_gis_map.php: Change help link. + + * godmode/gis_maps/index.php: Added help link. + + * include/help/en/help_gis_map_builder.php, + include/help/en/help_configure_gis_map.php: first version of the help + pages. + 2010-03-04 Miguel de Dios * include/functions_gis.php: in function "printMap2" disable by default diff --git a/pandora_console/godmode/gis_maps/configure_gis_map.php b/pandora_console/godmode/gis_maps/configure_gis_map.php index 06e17f38f2..ac7f65fa1f 100644 --- a/pandora_console/godmode/gis_maps/configure_gis_map.php +++ b/pandora_console/godmode/gis_maps/configure_gis_map.php @@ -17,7 +17,7 @@ global $config; check_login (); -print_page_header (__('GIS Maps builder'), "images/server_web.png", false, "gis_map_builder", true); +print_page_header (__('GIS Maps builder'), "images/server_web.png", false, "configure_gis_map", true); require_once ('include/functions_gis.php'); diff --git a/pandora_console/godmode/gis_maps/index.php b/pandora_console/godmode/gis_maps/index.php index aca423d884..4b13080a47 100644 --- a/pandora_console/godmode/gis_maps/index.php +++ b/pandora_console/godmode/gis_maps/index.php @@ -53,7 +53,7 @@ switch ($action) { break; } -print_page_header (__('GIS Maps builder'), "images/server_web.png", false, "", true); +print_page_header (__('GIS Maps builder'), "images/server_web.png", false, "gis_map_builder", true); $table->width = '500px'; $table->head[0] = __('Map name'); diff --git a/pandora_console/include/help/en/help_configure_gis_map.php b/pandora_console/include/help/en/help_configure_gis_map.php new file mode 100644 index 0000000000..72222335de --- /dev/null +++ b/pandora_console/include/help/en/help_configure_gis_map.php @@ -0,0 +1,53 @@ + +

GIS Map Configuration

+ +

+This page is the place to configure a GIS Map. +

+

Map Name

+

+Each map has a desciptive name used to recognice the map within Pandora FMS. +

+

Select Connections

+

+The first step is to select the main connection used in this GIS Map. At least one connection must be selected to configure the GIS Map, but it's possible to add more by pressing the Add (Add) icon. +

+

+When the firs connection is set, Pandora FMS asks if you want to use the default values of the connection for the map, to avoid to write again all the information. Also if the default connection for the map is changed (using the radio button), Pandora FMS will ask again if you want to use the values of the new default connection. +

+

Map Paramteres

+

+Once the selection of the connection (or connections) is done, there is a posibility of changing the parameters that were set for the connection and personalize this map. It is possble to set the center of the map (the place that will apear when the map is open), the default zoom level (the level of zoom to set when the map is open), and the default position (the place to put the agents that does not have positional information). +

+

+Options: +

+
+
+
Map name
+
Set the Map Name. Use sort and descriptive names
+
Group
+
Set the Group that owns the map for ACL purposes
+
Default Zoom
+
Set the Default zoom for the map, when the map is open this is the level of zoom that is set...
+
Center Longitude
+
Center Latitude
+
Center Altitude
+
Set the Longitude, Latitude and Altitude for the center of the map, when the map is open this is the center of the view
+
Default Longitude
+
Default Latitude
+
Default Altitude
+
Set the Longitude, Latitude and Altitude for the default position of the map, this is the place where all the agents without positional information are placed
+
+
+

Layer setup

+

+Each map has one or more layers1 to show the agents. Each layer can have show the agents of a group and/or a list of agents. This way it's easy to set up the agents that will be shown on each Layer. +

+
+1 The default map can have 0 layers as is the one used in the agent GIS view and only uses one layer with the agent name. + diff --git a/pandora_console/include/help/en/help_gis_map_builder.php b/pandora_console/include/help/en/help_gis_map_builder.php new file mode 100644 index 0000000000..edb5b2ed51 --- /dev/null +++ b/pandora_console/include/help/en/help_gis_map_builder.php @@ -0,0 +1,30 @@ + +

GIS Map builder

+ +

+This page shows a list of the defined maps, and let you edit, delete or view any of them. Also from this page is where the default Map of Pandora FMS is set. +

+To create a map a connection to a map server is needed, the connections are created by the Adminstrator in the Setup menu. +

+

+

+Options: +

+
+
+
Map name
+
Click on the Map Name corresponding to the map you want edit the map
+
View View
+
Click on the view icon to view the map.
+
Default radio button
+
Click on the radio button corresponding to the map you want to make the default to set the default map
+
Delete Delete
+
Click on the delete icon to delete the map.
+
Create Button
+
Click on Create button to create a new map.
+
+