<?php

namespace FiloBlu\Storelocator\Model\Config\Source;


use Magento\Framework\Data\OptionSourceInterface;

/**
 *
 */
class Maptype implements OptionSourceInterface
{
    /**
     * Options getter
     *
     * @return array
     */
    public function toOptionArray()
    {

        return [
            [
                'value' => 'roadmap',
                'label' => 'roadmap'
            ],
            [
                'value' => 'satellite',
                'label' => 'satellite'
            ],
            [
                'value' => 'hybrid',
                'label' => 'hybrid'
            ],
            [
                'value' => 'terrain',
                'label' => 'terrain'
            ],
        ];
    }

    /**
     * Get options in "key-value" format
     *
     * @return array
     */
    public function toArray()
    {
        return [
            'roadmap' => 'roadmap',
            'satellite' => 'satellite',
            'hybrid' => 'hybrid',
            'terrain' => 'terrain',
        ];
    }
}
