Project

General

Profile

« Previous | Next » 

Revision 44458b04

Added by Andreas Kohlbecker over 3 years ago

ref #8420 specimen view mode settings as radio buttons, cleaning up old variables

View differences:

modules/cdm_dataportal/includes/maps.inc
413 413
function compose_type_designations_map($type_designations)
414 414
{
415 415
  $typedesignations_uuid_param = cdm_uuid_list_parameter_value($type_designations);
416
  $kml_request_uri = cdm_compose_url(CDM_WS_KML_TYPEDESIGNATIONS, array($typedesignations_uuid_param));
416
  $kml_request_uri = cdm_compose_ws_url(CDM_WS_KML_TYPEDESIGNATIONS, array($typedesignations_uuid_param));
417 417
  $map_render_array = compose_map('specimens', null, $kml_request_uri, null, null, []);
418 418
  return $map_render_array;
419 419
}
......
573 573
{
574 574
  $map_render_array = array();
575 575
  $occurrence_queryDto = cdm_ws_get(CDM_WS_GEOSERVICE_OCCURRENCEMAP, $taxon->uuid, http_build_query(relationship_filter_query_parameters()));
576
  $kml_request_url = cdm_compose_url(CDM_WS_KML_TAXON_OCCURRENCE, array($taxon->uuid), http_build_query(relationship_filter_query_parameters()));
576
  $kml_request_url = cdm_compose_ws_url(CDM_WS_KML_TAXON_OCCURRENCE, array($taxon->uuid), http_build_query(relationship_filter_query_parameters()));
577 577

  
578 578
  $map_visibility = variable_get(SPECIMEN_MAP_VISIBILITY, SPECIMEN_MAP_VISIBILITY_DEFAULT);
579 579
  if ($map_visibility == 'always' || $map_visibility == 'automatic' &&

Also available in: Unified diff