Project

General

Profile

Revision d5661a4c

IDd5661a4c9e6cd1d725b05e09a64d68f54986a8fe
Parent 8c4e3afc
Child 11eaf36e, 72032ea6

Added by Andreas Kohlbecker about 6 years ago

fixing map related bugs and typos

View differences:

7.x/modules/cdm_dataportal/settings.php
1611 1611

  
1612 1612
  $current_geoserver_settings = get_edit_map_service_settings();
1613 1613
  $map_distribution = get_array_variable_merged(CDM_MAP_DISTRIBUTION, CDM_MAP_DISTRIBUTION_DEFAULT);
1614
  // The default layer must always be enabled
1615
  $preferred_layer = $map_distribution['openlayers']['base_layers']['PREFERRED'];
1616
  $map_distribution['openlayers']['base_layers'][$preferred_layer] = $preferred_layer;
1614 1617

  
1615 1618
  $form = array();
1616 1619

  
......
1628 1631
      '#description' => 'The preview of the map'
1629 1632
       . ($dummy_distribution_query != null ?
1630 1633
           ' may not be accurate in case if image maps, please check the map display in the taxon pages.':
1631
           '.<br/>Hold down Strg and drag with your mouse to select a bbox to zoom to. <br/>The bbox of the visisble area of the map is always displayed below the map.')
1634
           '.<br/>Hold down Strg and drag with your mouse to select a bbox to zoom to. <br/>The bbox of the visible area of the map is always displayed below the map.')
1632 1635
  );
1633 1636
  $form['map_preview']['map'] = compose_map(NULL, $dummy_distribution_query, NULL,
1634 1637
      array(
......
1726 1729
      Use "-180,-90,180,90" for the whole world. Leave <strong>empty</strong>
1727 1730
      to let the map <strong>automatically zoom</strong> to the bounds enclosing the shown data.</p>
1728 1731
      <strong>TIP: </strong>You can use the map preview above to choose a bbox from the map. Maybe you need to change the map type to OpeLayers.
1729
      Hold down Strg and drag with your mouse to select a bbox to zoom to. The bbox of the visisble area of the map is always displayed
1732
      Hold down Strg and drag with your mouse to select a bbox to zoom to. The bbox of the visible area of the map is always displayed
1730 1733
      below the map from where you can copy the bbox string.</p>'),
1731 1734
  );
1732 1735

  

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)