ninoslavjaric / map-pin-generator
This is cool
Installs: 143
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/ninoslavjaric/map-pin-generator
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2025-10-22 04:43:27 UTC
README
The first version of this library generates striped pins that point location of something represented by that pin.
How to get dependency
By composer.
composer require ninoslavjaric/map-pin-generator
Implementation
require_once "vendor/autoload.php";
use Logic\PinGenerator;
header("Content-type: image/png");
$pin = PinGenerator::getStripedPin("image.jpg",[
"rgb(100,100,100)",
"rgb(200,200,200)",
]);
echo $pin;
PinGenerator
| Method | Static | Parameters | Description |
|---|---|---|---|
| getStripedPin | true | imageUrl, Array colors, pinWidth = null | Gets striped pin blob content according to rgb color expressions. |
