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( return array(
'other' => array( 'other' => array(
'label' => t('Other'), 'label' => t('Other'),
'style' => 'farm_map_style_blue', 'style' => 'blue',
'weight' => 150, 'weight' => 150,
), ),
); );

View File

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

View File

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

View File

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

View File

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