Project

General

Profile

« Previous | Next » 

Revision 570f0e73

Added by Andreas Kohlbecker over 10 years ago

documenting option to color the wms background

View differences:

7.x/modules/cdm_dataportal/settings.php
1836 1836
         are not equal.'),
1837 1837
  );
1838 1838

  
1839

  
1839 1840
  $form[CDM_MAP_DISTRIBUTION]['openlayers']['show_layer_switcher'] = array(
1840 1841
      '#type' => 'checkbox',
1841 1842
      '#title' => 'Show Layer Switcher',
......
1916 1917
      '#element_validate' => array('form_element_validate_json'),
1917 1918
      // Only line color by now.
1918 1919
      '#default_value' => $map_distribution['openlayers']['custom_wms_base_layer']['params'],
1919
      '#description' => 'An javasript object with key/value pairs representing the GetMap query string parameters and parameter values, entered in valid JSON.'
1920
      '#description' => 'An javasript object with key/value pairs representing the GetMap query string parameters and parameter values, entered in valid JSON. For example:
1921
<pre> {
1922
  "Layers": "topp:em_tiny_jan2003",
1923
  "Format": "image/png",
1924
  "BGCOLOR": "0xe0faff"
1925
}
1926
</pre>'
1920 1927
  );
1921 1928
  $form[CDM_MAP_DISTRIBUTION]['openlayers']['custom_wms_base_layer']['projection'] = array(
1922 1929
      '#type' => 'textfield',

Also available in: Unified diff