2017 © Pedro Peláez
 

library map-pin-generator

This is cool

image

ninoslavjaric/map-pin-generator

This is cool

  • Saturday, December 31, 2016
  • by jaricninoslav
  • Repository
  • 2 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Map pin generator

The first version of this library generates striped pins that point location of something represented by that pin., (*1)

How to get dependency

By composer., (*2)

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.

Example output

alt tag, (*3)

The Versions

31/12 2016

dev-master

9999999-dev http://github.com/ninoslavjaric/map-pin-generator

This is cool

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Ninoslav Jaric

30/12 2016

0.1.0

0.1.0.0 http://github.com/ninoslavjaric/map-pin-generator

This is cool

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

by Ninoslav Jaric