Revision 9d47d187
Added by Andreas Kohlbecker over 12 years ago
modules/cdm_dataportal/cdm_dataportal.theme.php | ||
---|---|---|
660 | 660 |
$map_data_parameters = cdm_ws_get(CDM_WS_GEOSERVICE_DISTRIBUTIONMAP, $taxon->uuid); |
661 | 661 |
|
662 | 662 |
$display_width = variable_get('cdm_dataportal_geoservice_display_width', false); |
663 |
//$bounding_box = variable_get('cdm_dataportal_geoservice_bounding_box', false);
|
|
663 |
$bounding_box = variable_get('cdm_dataportal_geoservice_bounding_box', false); |
|
664 | 664 |
$labels_on = variable_get('cdm_dataportal_geoservice_labels_on', 0); |
665 | 665 |
|
666 | 666 |
$query_string = ($display_width ? '&ms=' . $display_width: '') |
... | ... | |
693 | 693 |
} |
694 | 694 |
} |
695 | 695 |
// get the bbox from the response object |
696 |
$zoomto_bbox = ($responseObj->bbox ? $responseObj->bbox : '-180, -90, 180, 90');
|
|
696 |
$zoomto_bbox = ($bounding_box ? $bounding_box : ($responseObj->bbox ? $responseObj->bbox :'-180, -90, 180, 90') );
|
|
697 | 697 |
|
698 | 698 |
$add_tdwg1 = (isset($tdwg_sldUris['tdwg1']) ? " |
699 | 699 |
tdwg_1.params.SLD = '".$tdwg_sldUris['tdwg1']."'; |
Also available in: Unified diff
fixed caching problem; improved openlayers map