Change all area type styles to match those provided by farmOS-map.

This commit is contained in:
Michael Stenta 2019-09-11 15:10:18 -04:00
parent 30ce3a796f
commit 1178d1fbb2
5 changed files with 9 additions and 9 deletions

View File

@ -11,7 +11,7 @@ function farm_area_farm_area_type_info() {
return array(
'other' => array(
'label' => t('Other'),
'style' => 'farm_map_style_blue',
'style' => 'blue',
'weight' => 150,
),
);

View File

@ -12,23 +12,23 @@ function farm_area_types_farm_area_type_info() {
return array(
'building' => array(
'label' => t('Building'),
'style' => 'farm_map_style_red',
'style' => 'red',
'weight' => 0,
),
'field' => array(
'label' => t('Field'),
'style' => 'farm_map_style_yellow',
'style' => 'yellow',
'weight' => 10,
'dashboard_metric' => TRUE,
),
'landmark' => array(
'label' => t('Landmark'),
'style' => 'farm_map_style_orange',
'style' => 'orange',
'weight' => 50,
),
'property' => array(
'label' => t('Property'),
'style' => 'farm_map_style_purple',
'style' => 'purple',
'weight' => 100,
),
);

View File

@ -12,14 +12,14 @@ function farm_crop_area_types_farm_area_type_info() {
return array(
'bed' => array(
'label' => t('Bed'),
'style' => 'farm_map_style_green',
'style' => 'green',
'zoom_levels' => array(18, 19, 20, 21, 22, 23, 24),
'weight' => -5,
'dashboard_metric' => TRUE,
),
'greenhouse' => array(
'label' => t('Greenhouse'),
'style' => 'farm_map_style_green',
'style' => 'green',
'weight' => 0,
),
);

View File

@ -12,7 +12,7 @@ function farm_livestock_area_types_farm_area_type_info() {
return array(
'paddock' => array(
'label' => t('Paddock'),
'style' => 'farm_map_style_dark_green',
'style' => 'darkgreen',
'weight' => 5,
'dashboard_metric' => TRUE,
),

View File

@ -12,7 +12,7 @@ function farm_water_farm_area_type_info() {
return array(
'water' => array(
'label' => t('Water'),
'style' => 'farm_map_style_blue',
'style' => 'blue',
'weight' => 50,
),
);