.. include :: substitutions.txt .. _admin: Control panel ============= |GC| is fully configurable from the |J| control panel. After a successfull :ref:`installation` you will find a new menu item for |GC| under :menuselection:`Components-->GeoContent` menu. .. figure :: images/gc_menu_item.* Control panel: the |GC| menu item .. _gcl_admin: |GCLs| management ------------------------------------------------------------------- |GCLs| are groups of geographic features (|GCIs|) sharing the same style (colors, line width etc.). .. figure :: images/gc_layers_list.* Control panel: the |GCLs| list view .. tip:: Each |GCL| can be exported as **KML** data, default configuration provides a small globe icon near the layer's name in the |TOC|, users can click on the icon to download the **KML** file. |GCLs| Visibility ................................................................... Layers visiblity can be controlled in several ways: * users can individually switch on and off every layer from the |TOC| (if |TOC| is enabled in the map configuration), * administrators can can publish or unpublish |GCLs| from the control panel, * a few :ref:`configuration parameters` allows administrators to automatically switch on selected layers when the map is loaded or to hide certain layers from the |TOC| |GCLs| Edit ......................... Administrators can add a new |GCL| choosing :menuselection:`Components-->GeoContent-->New` menu. .. figure :: images/gc_layers_edit.* |GCLs| insert/edit dialog. .. tip:: Click on the rainbow icon to configure the colors and transparency, format is hexadecimal RRGGBBAA (R=Red, G=Green, B=Blue, A=Alpha transparency). .. note:: Google Maps (and GGeoXML in the Google Maps API) - always renders icons as 32x32 pixels - no exceptions, the KML can't change that. This means that the icons size you set in layer configuration form has only effect when the layer is shown through Google Earth, the icon size on the browser's Google Maps is always stretched to 32x32 pixels. To avoid stretching, you can place your resized icons on a 32x32 pixels transparent background. .. _gci_admin: |GCIs| management ------------------------------------------------------------------- |GCIs| are the individual items of your map, they can be points, lines, polygons or all this geometric types together. |GCIs| are very flexible objects: they can be linked to an existing |J| article or to an arbitrary URL, they can have a custom title (defaults to |J| article if any) and a custom text. Both the title and the text will be shown in the balloon text when the user click on the map on the |GCI|'s location. .. figure :: images/gc_items_list.* Control panel: the |GCIs| list view |GCIs| Edit ......................... Administrators can add a new |GCI| choosing :menuselection:`Components-->GeoContent` menu and by clicking on the icon in the first column of the layer you want to add |GCIs| to. Tee |GCIs| editing dialog window is split into two parts: #. Item details, where you can define the balloon content and title and the optional link to an existing |J| article #. Geometric informations, where you enter the geographic informations .. note:: Since there must be something into the balloon, if the *Balloon content* field is empty, the *Title* field value is used as a default. Item details ~~~~~~~~~~~~ Here you define the content of the balloon that is shown when the user click on an item in the map. You can bind your |GCIs| to an existing |J| article by clicking on :menuselection:`Select article` button or entering directly the article's ID in the input field near the button. When a |GCI| is bound to an article, item's title and URL are read from the article itself when generating the map. You can still override item's tite and/or URL filling the fields in the dialog. Another side-effect of article binding is that when :ref:`content_plugin` is installed and enabled and the plugin Parameter `automatic_maps` is also enabled, the plugin will insert in the article's page a |GC| map automatically zoomed and centered to the article's associated |GCIs|. .. figure :: images/gc_items_edit_details.* |GCIs| insert/edit dialog, items details in the dialog window. .. seealso:: |GCIs| can also be entered/edited from the front-end (the public side of |J|). |GC| must be configured to allow front-end editing (see: :ref:`front_end`). Geometric informations ~~~~~~~~~~~~~~~~~~~~~~ Here you enter the POINTs, LINEs and POLYGONs for your |GCIs|, two input methods are supported: #. direct draw on the map #. GPX file import .. figure :: images/gc_items_edit_geometric.* |GCIs| insert/edit dialog, geographic informations in the dialog window. Using the integrated map editor _______________________________ Click on :menuselection:`Open Google Map Editor` button to open the map editor. .. figure :: images/gc_items_edit_map2.* |GCIs| the map editor window. .. note:: Geographic data are stored internally in `WKT `_ format, the data are shown in a text input field but you should never modify them by hand unless you exactly know what you're doing. GPX loading ___________ Select a GPX file from your local computer and upload it on the server hittig `Save` or `Apply` buttons. .. warning:: GPX loading works fine in most situations, but if the file is big it can result in huge geometries in the maps. This can cause speed problems when editing the map through the integrated editor. This problem comes directly from Google's map API implementation and we (|GC|'s developers) can't do much to solve it.