PHP code example of ninoslavjaric / map-pin-generator
1. Go to this page and download the library: Download ninoslavjaric/map-pin-generator 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/ */
ninoslavjaric / map-pin-generator example snippets
use Logic\PinGenerator;
header("Content-type: image/png");
$pin = PinGenerator::getStripedPin("image.jpg",[
"rgb(100,100,100)",
"rgb(200,200,200)",
]);
echo $pin;