@ -18,9 +18,8 @@ module Carto
kind: 'tiled',
options: base_layer_options.except('className', 'labels').merge(
'type' => 'Tiled',
'name' => "#{base_layer_options['name']} Labels",
**base_layer_options['labels']
)
'name' => "#{base_layer_options['name']} Labels"
).merge(base_layer_options['labels'])
end
@ -47,9 +47,8 @@ module ModelFactories
options: base_layer.options.except('className', 'labels').merge(
'name' => "#{base_layer.options['name']} Labels",
**base_layer.options['labels']
'name' => "#{base_layer.options['name']} Labels"
).merge(base_layer.options['labels'])