1. Go to this page and download the library: Download nicat/static-map library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
'center' => '37.6213129,-122.3811441', // or 'San Francisco International Airport'
'label' => '1', // Label Name of Marker
'color' => '0xff0000', // color of marker
'size' => 'mid', // tiny (Small),small (Medium), mid (Large)